@hobenakicoffee/libraries 5.12.2 → 5.13.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hobenakicoffee/libraries",
3
- "version": "5.12.2",
3
+ "version": "5.13.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "types": "src/index.ts",
@@ -3218,6 +3218,37 @@ export type Database = {
3218
3218
  Args: { p_profile_id: string; p_service_type: string };
3219
3219
  Returns: number;
3220
3220
  };
3221
+ get_creator_newsletter_posts: {
3222
+ Args: {
3223
+ p_creator_profile_id: string;
3224
+ p_cursor?: string;
3225
+ p_limit?: number;
3226
+ p_search?: string;
3227
+ };
3228
+ Returns: {
3229
+ access_badge: string;
3230
+ author_avatar_url: string;
3231
+ author_display_name: string;
3232
+ author_username: string;
3233
+ cover_image_url: string;
3234
+ excerpt: string;
3235
+ has_access: boolean;
3236
+ is_liked: boolean;
3237
+ is_members_only: boolean;
3238
+ is_pay_per_post: boolean;
3239
+ like_count: number;
3240
+ post_id: string;
3241
+ price: number;
3242
+ profile_id: string;
3243
+ published_at: string;
3244
+ reading_time_minutes: number;
3245
+ slug: string;
3246
+ subtitle: string;
3247
+ tags: string[];
3248
+ title: string;
3249
+ view_count: number;
3250
+ }[];
3251
+ };
3221
3252
  get_creator_public_activities: {
3222
3253
  Args: {
3223
3254
  p_creator_profile_id: string;
@@ -3422,7 +3453,6 @@ export type Database = {
3422
3453
  p_filter?: string;
3423
3454
  p_from?: string;
3424
3455
  p_limit?: number;
3425
- p_profile_id?: string;
3426
3456
  p_search?: string;
3427
3457
  p_to?: string;
3428
3458
  };