@hobenakicoffee/libraries 6.5.0 → 6.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/types/supabase.ts +135 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hobenakicoffee/libraries",
3
- "version": "6.5.0",
3
+ "version": "6.7.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "types": "src/index.ts",
@@ -276,6 +276,120 @@ export type Database = {
276
276
  },
277
277
  ];
278
278
  };
279
+ creator_report_summary: {
280
+ Row: {
281
+ creator_id: string;
282
+ flagged_at: string | null;
283
+ is_flagged: boolean;
284
+ last_reported_at: string | null;
285
+ pending_reports: number;
286
+ total_reports: number;
287
+ updated_at: string;
288
+ };
289
+ Insert: {
290
+ creator_id: string;
291
+ flagged_at?: string | null;
292
+ is_flagged?: boolean;
293
+ last_reported_at?: string | null;
294
+ pending_reports?: number;
295
+ total_reports?: number;
296
+ updated_at?: string;
297
+ };
298
+ Update: {
299
+ creator_id?: string;
300
+ flagged_at?: string | null;
301
+ is_flagged?: boolean;
302
+ last_reported_at?: string | null;
303
+ pending_reports?: number;
304
+ total_reports?: number;
305
+ updated_at?: string;
306
+ };
307
+ Relationships: [
308
+ {
309
+ foreignKeyName: "creator_report_summary_creator_id_fkey";
310
+ columns: ["creator_id"];
311
+ isOneToOne: true;
312
+ referencedRelation: "profiles";
313
+ referencedColumns: ["id"];
314
+ },
315
+ ];
316
+ };
317
+ creator_reports: {
318
+ Row: {
319
+ category: Database["public"]["Enums"]["report_category"];
320
+ created_at: string;
321
+ creator_id: string;
322
+ description: string | null;
323
+ email_notified_at: string | null;
324
+ evidence_file_path: string | null;
325
+ evidence_url: string | null;
326
+ id: string;
327
+ reporter_email: string;
328
+ reporter_user_id: string | null;
329
+ resolution_note: string | null;
330
+ reviewed_at: string | null;
331
+ reviewed_by: string | null;
332
+ severity_score: number;
333
+ status: string;
334
+ };
335
+ Insert: {
336
+ category: Database["public"]["Enums"]["report_category"];
337
+ created_at?: string;
338
+ creator_id: string;
339
+ description?: string | null;
340
+ email_notified_at?: string | null;
341
+ evidence_file_path?: string | null;
342
+ evidence_url?: string | null;
343
+ id?: string;
344
+ reporter_email: string;
345
+ reporter_user_id?: string | null;
346
+ resolution_note?: string | null;
347
+ reviewed_at?: string | null;
348
+ reviewed_by?: string | null;
349
+ severity_score?: number;
350
+ status?: string;
351
+ };
352
+ Update: {
353
+ category?: Database["public"]["Enums"]["report_category"];
354
+ created_at?: string;
355
+ creator_id?: string;
356
+ description?: string | null;
357
+ email_notified_at?: string | null;
358
+ evidence_file_path?: string | null;
359
+ evidence_url?: string | null;
360
+ id?: string;
361
+ reporter_email?: string;
362
+ reporter_user_id?: string | null;
363
+ resolution_note?: string | null;
364
+ reviewed_at?: string | null;
365
+ reviewed_by?: string | null;
366
+ severity_score?: number;
367
+ status?: string;
368
+ };
369
+ Relationships: [
370
+ {
371
+ foreignKeyName: "creator_reports_creator_id_fkey";
372
+ columns: ["creator_id"];
373
+ isOneToOne: false;
374
+ referencedRelation: "profiles";
375
+ referencedColumns: ["id"];
376
+ },
377
+ {
378
+ foreignKeyName: "creator_reports_reporter_user_id_fkey";
379
+ columns: ["reporter_user_id"];
380
+ isOneToOne: false;
381
+ referencedRelation: "profiles";
382
+ referencedColumns: ["id"];
383
+ },
384
+ {
385
+ foreignKeyName: "creator_reports_reviewed_by_fkey";
386
+ columns: ["reviewed_by"];
387
+ isOneToOne: false;
388
+ referencedRelation: "profiles";
389
+ referencedColumns: ["id"];
390
+ },
391
+ ];
392
+ };
279
393
  creator_subscription_notifications: {
280
394
  Row: {
281
395
  id: number;
@@ -951,30 +1065,6 @@ export type Database = {
951
1065
  },
952
1066
  ];
953
1067
  };
954
- messages_2026_04: {
955
- Row: {
956
- content: string;
957
- conversation_id: string;
958
- created_at: string;
959
- id: number;
960
- sender_id: string;
961
- };
962
- Insert: {
963
- content: string;
964
- conversation_id: string;
965
- created_at?: string;
966
- id?: number;
967
- sender_id: string;
968
- };
969
- Update: {
970
- content?: string;
971
- conversation_id?: string;
972
- created_at?: string;
973
- id?: number;
974
- sender_id?: string;
975
- };
976
- Relationships: [];
977
- };
978
1068
  messages_2026_05: {
979
1069
  Row: {
980
1070
  content: string;
@@ -4219,6 +4309,16 @@ export type Database = {
4219
4309
  | "withdraw_release"
4220
4310
  | "withdraw_complete"
4221
4311
  | "manual_adjustment";
4312
+ report_category:
4313
+ | "bullying_or_harassment"
4314
+ | "illegal_activity"
4315
+ | "nudity_or_explicit_content"
4316
+ | "hate_speech_or_discrimination"
4317
+ | "inaccurate_or_misleading_info"
4318
+ | "scam_or_fraud"
4319
+ | "intellectual_property"
4320
+ | "incomplete_or_unfulfilled_orders"
4321
+ | "other";
4222
4322
  service_request_status:
4223
4323
  | "pending"
4224
4324
  | "reviewing"
@@ -4506,6 +4606,17 @@ export const Constants = {
4506
4606
  "withdraw_complete",
4507
4607
  "manual_adjustment",
4508
4608
  ],
4609
+ report_category: [
4610
+ "bullying_or_harassment",
4611
+ "illegal_activity",
4612
+ "nudity_or_explicit_content",
4613
+ "hate_speech_or_discrimination",
4614
+ "inaccurate_or_misleading_info",
4615
+ "scam_or_fraud",
4616
+ "intellectual_property",
4617
+ "incomplete_or_unfulfilled_orders",
4618
+ "other",
4619
+ ],
4509
4620
  service_request_status: [
4510
4621
  "pending",
4511
4622
  "reviewing",