@hobenakicoffee/libraries 5.5.0 → 5.7.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 +382 -1
package/package.json
CHANGED
package/src/types/supabase.ts
CHANGED
|
@@ -208,6 +208,7 @@ export type Database = {
|
|
|
208
208
|
};
|
|
209
209
|
creator_platform_subscriptions: {
|
|
210
210
|
Row: {
|
|
211
|
+
amount_used_this_period: number;
|
|
211
212
|
created_at: string;
|
|
212
213
|
id: number;
|
|
213
214
|
period_end: string;
|
|
@@ -222,6 +223,7 @@ export type Database = {
|
|
|
222
223
|
updated_at: string;
|
|
223
224
|
};
|
|
224
225
|
Insert: {
|
|
226
|
+
amount_used_this_period?: number;
|
|
225
227
|
created_at?: string;
|
|
226
228
|
id?: never;
|
|
227
229
|
period_end: string;
|
|
@@ -236,6 +238,7 @@ export type Database = {
|
|
|
236
238
|
updated_at?: string;
|
|
237
239
|
};
|
|
238
240
|
Update: {
|
|
241
|
+
amount_used_this_period?: number;
|
|
239
242
|
created_at?: string;
|
|
240
243
|
id?: never;
|
|
241
244
|
period_end?: string;
|
|
@@ -302,6 +305,225 @@ export type Database = {
|
|
|
302
305
|
},
|
|
303
306
|
];
|
|
304
307
|
};
|
|
308
|
+
feed_item_bookmarks: {
|
|
309
|
+
Row: {
|
|
310
|
+
created_at: string;
|
|
311
|
+
feed_item_id: number;
|
|
312
|
+
id: number;
|
|
313
|
+
profile_id: string;
|
|
314
|
+
};
|
|
315
|
+
Insert: {
|
|
316
|
+
created_at?: string;
|
|
317
|
+
feed_item_id: number;
|
|
318
|
+
id?: never;
|
|
319
|
+
profile_id: string;
|
|
320
|
+
};
|
|
321
|
+
Update: {
|
|
322
|
+
created_at?: string;
|
|
323
|
+
feed_item_id?: number;
|
|
324
|
+
id?: never;
|
|
325
|
+
profile_id?: string;
|
|
326
|
+
};
|
|
327
|
+
Relationships: [
|
|
328
|
+
{
|
|
329
|
+
foreignKeyName: "feed_item_bookmarks_feed_item_id_fkey";
|
|
330
|
+
columns: ["feed_item_id"];
|
|
331
|
+
isOneToOne: false;
|
|
332
|
+
referencedRelation: "feed_items";
|
|
333
|
+
referencedColumns: ["id"];
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
foreignKeyName: "feed_item_bookmarks_profile_id_fkey";
|
|
337
|
+
columns: ["profile_id"];
|
|
338
|
+
isOneToOne: false;
|
|
339
|
+
referencedRelation: "profiles";
|
|
340
|
+
referencedColumns: ["id"];
|
|
341
|
+
},
|
|
342
|
+
];
|
|
343
|
+
};
|
|
344
|
+
feed_item_comments: {
|
|
345
|
+
Row: {
|
|
346
|
+
body: string | null;
|
|
347
|
+
created_at: string;
|
|
348
|
+
feed_item_id: number;
|
|
349
|
+
id: number;
|
|
350
|
+
is_deleted: boolean;
|
|
351
|
+
parent_comment_id: number | null;
|
|
352
|
+
profile_id: string;
|
|
353
|
+
updated_at: string;
|
|
354
|
+
};
|
|
355
|
+
Insert: {
|
|
356
|
+
body?: string | null;
|
|
357
|
+
created_at?: string;
|
|
358
|
+
feed_item_id: number;
|
|
359
|
+
id?: never;
|
|
360
|
+
is_deleted?: boolean;
|
|
361
|
+
parent_comment_id?: number | null;
|
|
362
|
+
profile_id: string;
|
|
363
|
+
updated_at?: string;
|
|
364
|
+
};
|
|
365
|
+
Update: {
|
|
366
|
+
body?: string | null;
|
|
367
|
+
created_at?: string;
|
|
368
|
+
feed_item_id?: number;
|
|
369
|
+
id?: never;
|
|
370
|
+
is_deleted?: boolean;
|
|
371
|
+
parent_comment_id?: number | null;
|
|
372
|
+
profile_id?: string;
|
|
373
|
+
updated_at?: string;
|
|
374
|
+
};
|
|
375
|
+
Relationships: [
|
|
376
|
+
{
|
|
377
|
+
foreignKeyName: "feed_item_comments_feed_item_id_fkey";
|
|
378
|
+
columns: ["feed_item_id"];
|
|
379
|
+
isOneToOne: false;
|
|
380
|
+
referencedRelation: "feed_items";
|
|
381
|
+
referencedColumns: ["id"];
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
foreignKeyName: "feed_item_comments_parent_comment_id_fkey";
|
|
385
|
+
columns: ["parent_comment_id"];
|
|
386
|
+
isOneToOne: false;
|
|
387
|
+
referencedRelation: "feed_item_comments";
|
|
388
|
+
referencedColumns: ["id"];
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
foreignKeyName: "feed_item_comments_profile_id_fkey";
|
|
392
|
+
columns: ["profile_id"];
|
|
393
|
+
isOneToOne: false;
|
|
394
|
+
referencedRelation: "profiles";
|
|
395
|
+
referencedColumns: ["id"];
|
|
396
|
+
},
|
|
397
|
+
];
|
|
398
|
+
};
|
|
399
|
+
feed_item_likes: {
|
|
400
|
+
Row: {
|
|
401
|
+
created_at: string;
|
|
402
|
+
feed_item_id: number;
|
|
403
|
+
id: number;
|
|
404
|
+
profile_id: string;
|
|
405
|
+
};
|
|
406
|
+
Insert: {
|
|
407
|
+
created_at?: string;
|
|
408
|
+
feed_item_id: number;
|
|
409
|
+
id?: never;
|
|
410
|
+
profile_id: string;
|
|
411
|
+
};
|
|
412
|
+
Update: {
|
|
413
|
+
created_at?: string;
|
|
414
|
+
feed_item_id?: number;
|
|
415
|
+
id?: never;
|
|
416
|
+
profile_id?: string;
|
|
417
|
+
};
|
|
418
|
+
Relationships: [
|
|
419
|
+
{
|
|
420
|
+
foreignKeyName: "feed_item_likes_feed_item_id_fkey";
|
|
421
|
+
columns: ["feed_item_id"];
|
|
422
|
+
isOneToOne: false;
|
|
423
|
+
referencedRelation: "feed_items";
|
|
424
|
+
referencedColumns: ["id"];
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
foreignKeyName: "feed_item_likes_profile_id_fkey";
|
|
428
|
+
columns: ["profile_id"];
|
|
429
|
+
isOneToOne: false;
|
|
430
|
+
referencedRelation: "profiles";
|
|
431
|
+
referencedColumns: ["id"];
|
|
432
|
+
},
|
|
433
|
+
];
|
|
434
|
+
};
|
|
435
|
+
feed_item_shares: {
|
|
436
|
+
Row: {
|
|
437
|
+
created_at: string;
|
|
438
|
+
feed_item_id: number;
|
|
439
|
+
id: number;
|
|
440
|
+
profile_id: string;
|
|
441
|
+
};
|
|
442
|
+
Insert: {
|
|
443
|
+
created_at?: string;
|
|
444
|
+
feed_item_id: number;
|
|
445
|
+
id?: never;
|
|
446
|
+
profile_id: string;
|
|
447
|
+
};
|
|
448
|
+
Update: {
|
|
449
|
+
created_at?: string;
|
|
450
|
+
feed_item_id?: number;
|
|
451
|
+
id?: never;
|
|
452
|
+
profile_id?: string;
|
|
453
|
+
};
|
|
454
|
+
Relationships: [
|
|
455
|
+
{
|
|
456
|
+
foreignKeyName: "feed_item_shares_feed_item_id_fkey";
|
|
457
|
+
columns: ["feed_item_id"];
|
|
458
|
+
isOneToOne: false;
|
|
459
|
+
referencedRelation: "feed_items";
|
|
460
|
+
referencedColumns: ["id"];
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
foreignKeyName: "feed_item_shares_profile_id_fkey";
|
|
464
|
+
columns: ["profile_id"];
|
|
465
|
+
isOneToOne: false;
|
|
466
|
+
referencedRelation: "profiles";
|
|
467
|
+
referencedColumns: ["id"];
|
|
468
|
+
},
|
|
469
|
+
];
|
|
470
|
+
};
|
|
471
|
+
feed_items: {
|
|
472
|
+
Row: {
|
|
473
|
+
boost_tier: number;
|
|
474
|
+
content_type: string;
|
|
475
|
+
created_at: string;
|
|
476
|
+
creator_profile_id: string | null;
|
|
477
|
+
id: number;
|
|
478
|
+
interaction_counts: Json;
|
|
479
|
+
is_pinned: boolean;
|
|
480
|
+
metadata: Json;
|
|
481
|
+
rank_score: number;
|
|
482
|
+
reference_id: string | null;
|
|
483
|
+
search_vector: unknown;
|
|
484
|
+
updated_at: string;
|
|
485
|
+
visibility: Database["public"]["Enums"]["visibility_enum"];
|
|
486
|
+
};
|
|
487
|
+
Insert: {
|
|
488
|
+
boost_tier?: number;
|
|
489
|
+
content_type: string;
|
|
490
|
+
created_at?: string;
|
|
491
|
+
creator_profile_id?: string | null;
|
|
492
|
+
id?: never;
|
|
493
|
+
interaction_counts?: Json;
|
|
494
|
+
is_pinned?: boolean;
|
|
495
|
+
metadata?: Json;
|
|
496
|
+
rank_score?: number;
|
|
497
|
+
reference_id?: string | null;
|
|
498
|
+
search_vector?: unknown;
|
|
499
|
+
updated_at?: string;
|
|
500
|
+
visibility?: Database["public"]["Enums"]["visibility_enum"];
|
|
501
|
+
};
|
|
502
|
+
Update: {
|
|
503
|
+
boost_tier?: number;
|
|
504
|
+
content_type?: string;
|
|
505
|
+
created_at?: string;
|
|
506
|
+
creator_profile_id?: string | null;
|
|
507
|
+
id?: never;
|
|
508
|
+
interaction_counts?: Json;
|
|
509
|
+
is_pinned?: boolean;
|
|
510
|
+
metadata?: Json;
|
|
511
|
+
rank_score?: number;
|
|
512
|
+
reference_id?: string | null;
|
|
513
|
+
search_vector?: unknown;
|
|
514
|
+
updated_at?: string;
|
|
515
|
+
visibility?: Database["public"]["Enums"]["visibility_enum"];
|
|
516
|
+
};
|
|
517
|
+
Relationships: [
|
|
518
|
+
{
|
|
519
|
+
foreignKeyName: "feed_items_creator_profile_id_fkey";
|
|
520
|
+
columns: ["creator_profile_id"];
|
|
521
|
+
isOneToOne: false;
|
|
522
|
+
referencedRelation: "profiles";
|
|
523
|
+
referencedColumns: ["id"];
|
|
524
|
+
},
|
|
525
|
+
];
|
|
526
|
+
};
|
|
305
527
|
follows: {
|
|
306
528
|
Row: {
|
|
307
529
|
created_at: string | null;
|
|
@@ -1117,6 +1339,7 @@ export type Database = {
|
|
|
1117
1339
|
description: string | null;
|
|
1118
1340
|
id: number;
|
|
1119
1341
|
is_active: boolean;
|
|
1342
|
+
monthly_amount_cap: number | null;
|
|
1120
1343
|
monthly_transaction_cap: number | null;
|
|
1121
1344
|
name: string;
|
|
1122
1345
|
price_per_month: number;
|
|
@@ -1129,6 +1352,7 @@ export type Database = {
|
|
|
1129
1352
|
description?: string | null;
|
|
1130
1353
|
id?: never;
|
|
1131
1354
|
is_active?: boolean;
|
|
1355
|
+
monthly_amount_cap?: number | null;
|
|
1132
1356
|
monthly_transaction_cap?: number | null;
|
|
1133
1357
|
name: string;
|
|
1134
1358
|
price_per_month: number;
|
|
@@ -1141,6 +1365,7 @@ export type Database = {
|
|
|
1141
1365
|
description?: string | null;
|
|
1142
1366
|
id?: never;
|
|
1143
1367
|
is_active?: boolean;
|
|
1368
|
+
monthly_amount_cap?: number | null;
|
|
1144
1369
|
monthly_transaction_cap?: number | null;
|
|
1145
1370
|
name?: string;
|
|
1146
1371
|
price_per_month?: number;
|
|
@@ -2684,6 +2909,29 @@ export type Database = {
|
|
|
2684
2909
|
};
|
|
2685
2910
|
Returns: Json;
|
|
2686
2911
|
};
|
|
2912
|
+
add_feed_comment: {
|
|
2913
|
+
Args: {
|
|
2914
|
+
p_body: string;
|
|
2915
|
+
p_feed_item_id: number;
|
|
2916
|
+
p_parent_comment_id?: number;
|
|
2917
|
+
};
|
|
2918
|
+
Returns: {
|
|
2919
|
+
body: string | null;
|
|
2920
|
+
created_at: string;
|
|
2921
|
+
feed_item_id: number;
|
|
2922
|
+
id: number;
|
|
2923
|
+
is_deleted: boolean;
|
|
2924
|
+
parent_comment_id: number | null;
|
|
2925
|
+
profile_id: string;
|
|
2926
|
+
updated_at: string;
|
|
2927
|
+
};
|
|
2928
|
+
SetofOptions: {
|
|
2929
|
+
from: "*";
|
|
2930
|
+
to: "feed_item_comments";
|
|
2931
|
+
isOneToOne: true;
|
|
2932
|
+
isSetofReturn: false;
|
|
2933
|
+
};
|
|
2934
|
+
};
|
|
2687
2935
|
add_shop_product_file: {
|
|
2688
2936
|
Args: {
|
|
2689
2937
|
p_file_name: string;
|
|
@@ -2735,6 +2983,14 @@ export type Database = {
|
|
|
2735
2983
|
Args: { p_service_type: string };
|
|
2736
2984
|
Returns: Json;
|
|
2737
2985
|
};
|
|
2986
|
+
check_and_emit_milestone: {
|
|
2987
|
+
Args: {
|
|
2988
|
+
p_creator_profile_id: string;
|
|
2989
|
+
p_current_count: number;
|
|
2990
|
+
p_milestone_type: string;
|
|
2991
|
+
};
|
|
2992
|
+
Returns: undefined;
|
|
2993
|
+
};
|
|
2738
2994
|
check_newsletter_post_access: {
|
|
2739
2995
|
Args: { p_post_id: string };
|
|
2740
2996
|
Returns: {
|
|
@@ -2761,6 +3017,17 @@ export type Database = {
|
|
|
2761
3017
|
};
|
|
2762
3018
|
Returns: string;
|
|
2763
3019
|
};
|
|
3020
|
+
create_manager_feed_post: {
|
|
3021
|
+
Args: {
|
|
3022
|
+
p_body: string;
|
|
3023
|
+
p_cta_label?: string;
|
|
3024
|
+
p_cta_url?: string;
|
|
3025
|
+
p_image_url?: string;
|
|
3026
|
+
p_is_pinned?: boolean;
|
|
3027
|
+
p_title: string;
|
|
3028
|
+
};
|
|
3029
|
+
Returns: number;
|
|
3030
|
+
};
|
|
2764
3031
|
create_newsletter_draft: {
|
|
2765
3032
|
Args: { p_profile_id: string };
|
|
2766
3033
|
Returns: {
|
|
@@ -2771,6 +3038,10 @@ export type Database = {
|
|
|
2771
3038
|
};
|
|
2772
3039
|
create_next_month_partition: { Args: never; Returns: undefined };
|
|
2773
3040
|
custom_access_token_hook: { Args: { event: Json }; Returns: Json };
|
|
3041
|
+
delete_feed_comment: {
|
|
3042
|
+
Args: { p_comment_id: number };
|
|
3043
|
+
Returns: undefined;
|
|
3044
|
+
};
|
|
2774
3045
|
delete_shop_category: { Args: { p_category_id: string }; Returns: Json };
|
|
2775
3046
|
delete_shop_policy: {
|
|
2776
3047
|
Args: {
|
|
@@ -2847,6 +3118,32 @@ export type Database = {
|
|
|
2847
3118
|
username: string;
|
|
2848
3119
|
}[];
|
|
2849
3120
|
};
|
|
3121
|
+
get_feed: {
|
|
3122
|
+
Args: {
|
|
3123
|
+
p_content_types?: string[];
|
|
3124
|
+
p_cursor_id?: number;
|
|
3125
|
+
p_cursor_score?: number;
|
|
3126
|
+
p_limit?: number;
|
|
3127
|
+
};
|
|
3128
|
+
Returns: {
|
|
3129
|
+
boost_tier: number;
|
|
3130
|
+
content_type: string;
|
|
3131
|
+
created_at: string;
|
|
3132
|
+
creator_avatar_url: string;
|
|
3133
|
+
creator_display_name: string;
|
|
3134
|
+
creator_profile_id: string;
|
|
3135
|
+
creator_username: string;
|
|
3136
|
+
id: number;
|
|
3137
|
+
interaction_counts: Json;
|
|
3138
|
+
is_bookmarked: boolean;
|
|
3139
|
+
is_liked: boolean;
|
|
3140
|
+
is_pinned: boolean;
|
|
3141
|
+
metadata: Json;
|
|
3142
|
+
rank_score: number;
|
|
3143
|
+
reference_id: string;
|
|
3144
|
+
visibility: Database["public"]["Enums"]["visibility_enum"];
|
|
3145
|
+
}[];
|
|
3146
|
+
};
|
|
2850
3147
|
get_followers: { Args: { target_user_id: string }; Returns: string[] };
|
|
2851
3148
|
get_following: { Args: { target_user_id: string }; Returns: string[] };
|
|
2852
3149
|
get_kyc_queue: {
|
|
@@ -2884,6 +3181,22 @@ export type Database = {
|
|
|
2884
3181
|
sender_username: string;
|
|
2885
3182
|
}[];
|
|
2886
3183
|
};
|
|
3184
|
+
get_my_active_memberships: {
|
|
3185
|
+
Args: never;
|
|
3186
|
+
Returns: {
|
|
3187
|
+
billing_cycle: Database["public"]["Enums"]["membership_billing_cycle_enum"];
|
|
3188
|
+
creator_avatar_url: string;
|
|
3189
|
+
creator_display_name: string;
|
|
3190
|
+
creator_profile_id: string;
|
|
3191
|
+
creator_username: string;
|
|
3192
|
+
membership_id: string;
|
|
3193
|
+
period_end: string;
|
|
3194
|
+
plan_name: string;
|
|
3195
|
+
plan_price: number;
|
|
3196
|
+
service_type: string;
|
|
3197
|
+
status: Database["public"]["Enums"]["membership_status_enum"];
|
|
3198
|
+
}[];
|
|
3199
|
+
};
|
|
2887
3200
|
get_newsletter_stats: {
|
|
2888
3201
|
Args: { p_from?: string; p_profile_id: string; p_to?: string };
|
|
2889
3202
|
Returns: {
|
|
@@ -2898,6 +3211,7 @@ export type Database = {
|
|
|
2898
3211
|
};
|
|
2899
3212
|
get_order_by_number: { Args: { p_order_number: string }; Returns: Json };
|
|
2900
3213
|
get_platform_setting: { Args: { p_key: string }; Returns: number };
|
|
3214
|
+
get_platform_setting_jsonb: { Args: { p_key: string }; Returns: Json };
|
|
2901
3215
|
get_popular_content: {
|
|
2902
3216
|
Args: { p_creator_id: string; p_from_date: string; p_to_date: string };
|
|
2903
3217
|
Returns: {
|
|
@@ -2990,6 +3304,35 @@ export type Database = {
|
|
|
2990
3304
|
view_count: number;
|
|
2991
3305
|
}[];
|
|
2992
3306
|
};
|
|
3307
|
+
get_recommended_creators: {
|
|
3308
|
+
Args: { p_limit?: number };
|
|
3309
|
+
Returns: {
|
|
3310
|
+
avatar_url: string;
|
|
3311
|
+
boost_tier: number;
|
|
3312
|
+
display_name: string;
|
|
3313
|
+
follower_count: number;
|
|
3314
|
+
profile_id: string;
|
|
3315
|
+
recent_posts: number;
|
|
3316
|
+
username: string;
|
|
3317
|
+
}[];
|
|
3318
|
+
};
|
|
3319
|
+
get_recommended_items: {
|
|
3320
|
+
Args: { p_limit?: number };
|
|
3321
|
+
Returns: {
|
|
3322
|
+
boost_tier: number;
|
|
3323
|
+
content_type: string;
|
|
3324
|
+
created_at: string;
|
|
3325
|
+
creator_avatar_url: string;
|
|
3326
|
+
creator_display_name: string;
|
|
3327
|
+
creator_profile_id: string;
|
|
3328
|
+
creator_username: string;
|
|
3329
|
+
id: number;
|
|
3330
|
+
interaction_counts: Json;
|
|
3331
|
+
metadata: Json;
|
|
3332
|
+
rank_score: number;
|
|
3333
|
+
reference_id: string;
|
|
3334
|
+
}[];
|
|
3335
|
+
};
|
|
2993
3336
|
get_seller_orders: {
|
|
2994
3337
|
Args: { p_cursor?: string; p_item_status?: string; p_limit?: number };
|
|
2995
3338
|
Returns: Json;
|
|
@@ -3157,7 +3500,11 @@ export type Database = {
|
|
|
3157
3500
|
Returns: boolean;
|
|
3158
3501
|
};
|
|
3159
3502
|
increment_creator_subscription_usage: {
|
|
3160
|
-
Args: {
|
|
3503
|
+
Args: {
|
|
3504
|
+
p_amount: number;
|
|
3505
|
+
p_profile_id: string;
|
|
3506
|
+
p_service_type: string;
|
|
3507
|
+
};
|
|
3161
3508
|
Returns: undefined;
|
|
3162
3509
|
};
|
|
3163
3510
|
initiate_shop_checkout: {
|
|
@@ -3267,6 +3614,11 @@ export type Database = {
|
|
|
3267
3614
|
};
|
|
3268
3615
|
Returns: Json;
|
|
3269
3616
|
};
|
|
3617
|
+
recompute_feed_rank_scores: { Args: never; Returns: undefined };
|
|
3618
|
+
record_feed_item_share: {
|
|
3619
|
+
Args: { p_feed_item_id: number };
|
|
3620
|
+
Returns: undefined;
|
|
3621
|
+
};
|
|
3270
3622
|
record_newsletter_post_click: {
|
|
3271
3623
|
Args: { p_post_id: string };
|
|
3272
3624
|
Returns: undefined;
|
|
@@ -3308,6 +3660,27 @@ export type Database = {
|
|
|
3308
3660
|
};
|
|
3309
3661
|
Returns: string;
|
|
3310
3662
|
};
|
|
3663
|
+
search_feed: {
|
|
3664
|
+
Args: { p_cursor_id?: number; p_limit?: number; p_query: string };
|
|
3665
|
+
Returns: {
|
|
3666
|
+
boost_tier: number;
|
|
3667
|
+
content_type: string;
|
|
3668
|
+
created_at: string;
|
|
3669
|
+
creator_avatar_url: string;
|
|
3670
|
+
creator_display_name: string;
|
|
3671
|
+
creator_profile_id: string;
|
|
3672
|
+
creator_username: string;
|
|
3673
|
+
id: number;
|
|
3674
|
+
interaction_counts: Json;
|
|
3675
|
+
is_bookmarked: boolean;
|
|
3676
|
+
is_liked: boolean;
|
|
3677
|
+
is_pinned: boolean;
|
|
3678
|
+
metadata: Json;
|
|
3679
|
+
rank_score: number;
|
|
3680
|
+
reference_id: string;
|
|
3681
|
+
search_rank: number;
|
|
3682
|
+
}[];
|
|
3683
|
+
};
|
|
3311
3684
|
send_message: {
|
|
3312
3685
|
Args: { p_content: string; p_conversation_id: string };
|
|
3313
3686
|
Returns: {
|
|
@@ -3322,6 +3695,14 @@ export type Database = {
|
|
|
3322
3695
|
Args: { p_is_active: boolean; p_profile_id: string };
|
|
3323
3696
|
Returns: Json;
|
|
3324
3697
|
};
|
|
3698
|
+
toggle_feed_item_bookmark: {
|
|
3699
|
+
Args: { p_feed_item_id: number };
|
|
3700
|
+
Returns: Json;
|
|
3701
|
+
};
|
|
3702
|
+
toggle_feed_item_like: {
|
|
3703
|
+
Args: { p_feed_item_id: number };
|
|
3704
|
+
Returns: Json;
|
|
3705
|
+
};
|
|
3325
3706
|
toggle_follow: { Args: { target_user_id: string }; Returns: boolean };
|
|
3326
3707
|
toggle_newsletter_post_like: {
|
|
3327
3708
|
Args: { p_post_id: string };
|