@hobenakicoffee/libraries 1.19.0 → 1.20.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 +73 -1
package/package.json
CHANGED
package/src/types/supabase.ts
CHANGED
|
@@ -594,6 +594,53 @@ export type Database = {
|
|
|
594
594
|
};
|
|
595
595
|
Relationships: [];
|
|
596
596
|
};
|
|
597
|
+
service_requests: {
|
|
598
|
+
Row: {
|
|
599
|
+
admin_note: string | null;
|
|
600
|
+
category: string;
|
|
601
|
+
created_at: string | null;
|
|
602
|
+
description: string;
|
|
603
|
+
id: string;
|
|
604
|
+
is_custom: boolean | null;
|
|
605
|
+
profile_id: string;
|
|
606
|
+
service_name: string;
|
|
607
|
+
status: Database["public"]["Enums"]["service_request_status"] | null;
|
|
608
|
+
updated_at: string | null;
|
|
609
|
+
};
|
|
610
|
+
Insert: {
|
|
611
|
+
admin_note?: string | null;
|
|
612
|
+
category: string;
|
|
613
|
+
created_at?: string | null;
|
|
614
|
+
description: string;
|
|
615
|
+
id?: string;
|
|
616
|
+
is_custom?: boolean | null;
|
|
617
|
+
profile_id: string;
|
|
618
|
+
service_name: string;
|
|
619
|
+
status?: Database["public"]["Enums"]["service_request_status"] | null;
|
|
620
|
+
updated_at?: string | null;
|
|
621
|
+
};
|
|
622
|
+
Update: {
|
|
623
|
+
admin_note?: string | null;
|
|
624
|
+
category?: string;
|
|
625
|
+
created_at?: string | null;
|
|
626
|
+
description?: string;
|
|
627
|
+
id?: string;
|
|
628
|
+
is_custom?: boolean | null;
|
|
629
|
+
profile_id?: string;
|
|
630
|
+
service_name?: string;
|
|
631
|
+
status?: Database["public"]["Enums"]["service_request_status"] | null;
|
|
632
|
+
updated_at?: string | null;
|
|
633
|
+
};
|
|
634
|
+
Relationships: [
|
|
635
|
+
{
|
|
636
|
+
foreignKeyName: "service_requests_profile_id_fkey";
|
|
637
|
+
columns: ["profile_id"];
|
|
638
|
+
isOneToOne: false;
|
|
639
|
+
referencedRelation: "profiles";
|
|
640
|
+
referencedColumns: ["id"];
|
|
641
|
+
},
|
|
642
|
+
];
|
|
643
|
+
};
|
|
597
644
|
supporters: {
|
|
598
645
|
Row: {
|
|
599
646
|
conversation_id: string | null;
|
|
@@ -1084,7 +1131,11 @@ export type Database = {
|
|
|
1084
1131
|
| "developers.create"
|
|
1085
1132
|
| "developers.view"
|
|
1086
1133
|
| "developers.update"
|
|
1087
|
-
| "developers.delete"
|
|
1134
|
+
| "developers.delete"
|
|
1135
|
+
| "service_requests.view"
|
|
1136
|
+
| "service_requests.approve"
|
|
1137
|
+
| "service_requests.reject"
|
|
1138
|
+
| "service_requests.mark_implemented";
|
|
1088
1139
|
manager_role:
|
|
1089
1140
|
| "super_admin"
|
|
1090
1141
|
| "content_manager"
|
|
@@ -1121,6 +1172,14 @@ export type Database = {
|
|
|
1121
1172
|
| "withdraw_release"
|
|
1122
1173
|
| "withdraw_complete"
|
|
1123
1174
|
| "manual_adjustment";
|
|
1175
|
+
service_request_status:
|
|
1176
|
+
| "pending"
|
|
1177
|
+
| "reviewing"
|
|
1178
|
+
| "approved"
|
|
1179
|
+
| "implementing"
|
|
1180
|
+
| "implemented"
|
|
1181
|
+
| "rejected"
|
|
1182
|
+
| "duplicate";
|
|
1124
1183
|
supporter_platform_enum:
|
|
1125
1184
|
| "facebook"
|
|
1126
1185
|
| "x"
|
|
@@ -1305,6 +1364,10 @@ export const Constants = {
|
|
|
1305
1364
|
"developers.view",
|
|
1306
1365
|
"developers.update",
|
|
1307
1366
|
"developers.delete",
|
|
1367
|
+
"service_requests.view",
|
|
1368
|
+
"service_requests.approve",
|
|
1369
|
+
"service_requests.reject",
|
|
1370
|
+
"service_requests.mark_implemented",
|
|
1308
1371
|
],
|
|
1309
1372
|
manager_role: [
|
|
1310
1373
|
"super_admin",
|
|
@@ -1346,6 +1409,15 @@ export const Constants = {
|
|
|
1346
1409
|
"withdraw_complete",
|
|
1347
1410
|
"manual_adjustment",
|
|
1348
1411
|
],
|
|
1412
|
+
service_request_status: [
|
|
1413
|
+
"pending",
|
|
1414
|
+
"reviewing",
|
|
1415
|
+
"approved",
|
|
1416
|
+
"implementing",
|
|
1417
|
+
"implemented",
|
|
1418
|
+
"rejected",
|
|
1419
|
+
"duplicate",
|
|
1420
|
+
],
|
|
1349
1421
|
supporter_platform_enum: [
|
|
1350
1422
|
"facebook",
|
|
1351
1423
|
"x",
|