@simonarcher/fika-types 1.1.0 → 1.1.2
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/dist/supabase.d.ts +442 -114
- package/dist/supabase.js +0 -14
- package/package.json +1 -1
package/dist/supabase.d.ts
CHANGED
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Supabase Database Types
|
|
3
|
-
*
|
|
4
|
-
* Auto-generated from Supabase schema using `mcp__supabase__generate_typescript_types`
|
|
5
|
-
* Generated: 2026-01-18
|
|
6
|
-
* Project: FIKA - Dev (oteybpkhtggfxoqlcast)
|
|
7
|
-
*
|
|
8
|
-
* Usage:
|
|
9
|
-
* import { Database } from '@fika/schema/supabase';
|
|
10
|
-
* import { createClient } from '@supabase/supabase-js';
|
|
11
|
-
* const supabase = createClient<Database>(url, key);
|
|
12
|
-
*
|
|
13
|
-
* To regenerate: Run the Supabase MCP generate_typescript_types tool
|
|
14
|
-
*/
|
|
15
1
|
export type Json = string | number | boolean | null | {
|
|
16
2
|
[key: string]: Json | undefined;
|
|
17
3
|
} | Json[];
|
|
@@ -91,8 +77,10 @@ export type Database = {
|
|
|
91
77
|
description: string | null;
|
|
92
78
|
id: string;
|
|
93
79
|
is_public: boolean | null;
|
|
80
|
+
settings: Json | null;
|
|
94
81
|
updated_at: string;
|
|
95
82
|
updated_by: string | null;
|
|
83
|
+
user_count: number | null;
|
|
96
84
|
value: Json;
|
|
97
85
|
};
|
|
98
86
|
Insert: {
|
|
@@ -101,8 +89,10 @@ export type Database = {
|
|
|
101
89
|
description?: string | null;
|
|
102
90
|
id: string;
|
|
103
91
|
is_public?: boolean | null;
|
|
92
|
+
settings?: Json | null;
|
|
104
93
|
updated_at?: string;
|
|
105
94
|
updated_by?: string | null;
|
|
95
|
+
user_count?: number | null;
|
|
106
96
|
value: Json;
|
|
107
97
|
};
|
|
108
98
|
Update: {
|
|
@@ -111,8 +101,10 @@ export type Database = {
|
|
|
111
101
|
description?: string | null;
|
|
112
102
|
id?: string;
|
|
113
103
|
is_public?: boolean | null;
|
|
104
|
+
settings?: Json | null;
|
|
114
105
|
updated_at?: string;
|
|
115
106
|
updated_by?: string | null;
|
|
107
|
+
user_count?: number | null;
|
|
116
108
|
value?: Json;
|
|
117
109
|
};
|
|
118
110
|
Relationships: [
|
|
@@ -196,37 +188,61 @@ export type Database = {
|
|
|
196
188
|
audit_logs: {
|
|
197
189
|
Row: {
|
|
198
190
|
action: string;
|
|
191
|
+
admin_user_id: string | null;
|
|
199
192
|
created_at: string;
|
|
193
|
+
details: Json | null;
|
|
200
194
|
entity_id: string | null;
|
|
201
195
|
entity_type: string | null;
|
|
202
196
|
id: string;
|
|
203
197
|
ip_address: string | null;
|
|
204
198
|
new_value: Json | null;
|
|
205
199
|
old_value: Json | null;
|
|
200
|
+
role: string | null;
|
|
201
|
+
shop_id: string | null;
|
|
202
|
+
success: boolean | null;
|
|
203
|
+
target_email: string | null;
|
|
204
|
+
target_user_id: string | null;
|
|
205
|
+
timestamp: string | null;
|
|
206
206
|
user_agent: string | null;
|
|
207
207
|
user_id: string | null;
|
|
208
208
|
};
|
|
209
209
|
Insert: {
|
|
210
210
|
action: string;
|
|
211
|
+
admin_user_id?: string | null;
|
|
211
212
|
created_at?: string;
|
|
213
|
+
details?: Json | null;
|
|
212
214
|
entity_id?: string | null;
|
|
213
215
|
entity_type?: string | null;
|
|
214
216
|
id?: string;
|
|
215
217
|
ip_address?: string | null;
|
|
216
218
|
new_value?: Json | null;
|
|
217
219
|
old_value?: Json | null;
|
|
220
|
+
role?: string | null;
|
|
221
|
+
shop_id?: string | null;
|
|
222
|
+
success?: boolean | null;
|
|
223
|
+
target_email?: string | null;
|
|
224
|
+
target_user_id?: string | null;
|
|
225
|
+
timestamp?: string | null;
|
|
218
226
|
user_agent?: string | null;
|
|
219
227
|
user_id?: string | null;
|
|
220
228
|
};
|
|
221
229
|
Update: {
|
|
222
230
|
action?: string;
|
|
231
|
+
admin_user_id?: string | null;
|
|
223
232
|
created_at?: string;
|
|
233
|
+
details?: Json | null;
|
|
224
234
|
entity_id?: string | null;
|
|
225
235
|
entity_type?: string | null;
|
|
226
236
|
id?: string;
|
|
227
237
|
ip_address?: string | null;
|
|
228
238
|
new_value?: Json | null;
|
|
229
239
|
old_value?: Json | null;
|
|
240
|
+
role?: string | null;
|
|
241
|
+
shop_id?: string | null;
|
|
242
|
+
success?: boolean | null;
|
|
243
|
+
target_email?: string | null;
|
|
244
|
+
target_user_id?: string | null;
|
|
245
|
+
timestamp?: string | null;
|
|
230
246
|
user_agent?: string | null;
|
|
231
247
|
user_id?: string | null;
|
|
232
248
|
};
|
|
@@ -256,13 +272,21 @@ export type Database = {
|
|
|
256
272
|
};
|
|
257
273
|
coffee_bean_submissions: {
|
|
258
274
|
Row: {
|
|
275
|
+
active: boolean | null;
|
|
259
276
|
approved_bean_id: string | null;
|
|
260
|
-
|
|
277
|
+
bean_id: string | null;
|
|
278
|
+
bean_name: string | null;
|
|
279
|
+
country: string | null;
|
|
261
280
|
created_at: string;
|
|
281
|
+
decaf_method: string | null;
|
|
262
282
|
id: string;
|
|
283
|
+
image: string | null;
|
|
263
284
|
image_url: string | null;
|
|
285
|
+
is_decaf: boolean | null;
|
|
286
|
+
name: string | null;
|
|
264
287
|
origin: string | null;
|
|
265
288
|
process: string | null;
|
|
289
|
+
processing: string | null;
|
|
266
290
|
review_notes: string | null;
|
|
267
291
|
reviewed_at: string | null;
|
|
268
292
|
reviewed_by: string | null;
|
|
@@ -272,16 +296,24 @@ export type Database = {
|
|
|
272
296
|
status: string;
|
|
273
297
|
tasting_notes: string[] | null;
|
|
274
298
|
updated_at: string;
|
|
275
|
-
user_id: string;
|
|
299
|
+
user_id: string | null;
|
|
276
300
|
};
|
|
277
301
|
Insert: {
|
|
302
|
+
active?: boolean | null;
|
|
278
303
|
approved_bean_id?: string | null;
|
|
279
|
-
|
|
304
|
+
bean_id?: string | null;
|
|
305
|
+
bean_name?: string | null;
|
|
306
|
+
country?: string | null;
|
|
280
307
|
created_at?: string;
|
|
308
|
+
decaf_method?: string | null;
|
|
281
309
|
id?: string;
|
|
310
|
+
image?: string | null;
|
|
282
311
|
image_url?: string | null;
|
|
312
|
+
is_decaf?: boolean | null;
|
|
313
|
+
name?: string | null;
|
|
283
314
|
origin?: string | null;
|
|
284
315
|
process?: string | null;
|
|
316
|
+
processing?: string | null;
|
|
285
317
|
review_notes?: string | null;
|
|
286
318
|
reviewed_at?: string | null;
|
|
287
319
|
reviewed_by?: string | null;
|
|
@@ -291,16 +323,24 @@ export type Database = {
|
|
|
291
323
|
status?: string;
|
|
292
324
|
tasting_notes?: string[] | null;
|
|
293
325
|
updated_at?: string;
|
|
294
|
-
user_id
|
|
326
|
+
user_id?: string | null;
|
|
295
327
|
};
|
|
296
328
|
Update: {
|
|
329
|
+
active?: boolean | null;
|
|
297
330
|
approved_bean_id?: string | null;
|
|
298
|
-
|
|
331
|
+
bean_id?: string | null;
|
|
332
|
+
bean_name?: string | null;
|
|
333
|
+
country?: string | null;
|
|
299
334
|
created_at?: string;
|
|
335
|
+
decaf_method?: string | null;
|
|
300
336
|
id?: string;
|
|
337
|
+
image?: string | null;
|
|
301
338
|
image_url?: string | null;
|
|
339
|
+
is_decaf?: boolean | null;
|
|
340
|
+
name?: string | null;
|
|
302
341
|
origin?: string | null;
|
|
303
342
|
process?: string | null;
|
|
343
|
+
processing?: string | null;
|
|
304
344
|
review_notes?: string | null;
|
|
305
345
|
reviewed_at?: string | null;
|
|
306
346
|
reviewed_by?: string | null;
|
|
@@ -310,7 +350,7 @@ export type Database = {
|
|
|
310
350
|
status?: string;
|
|
311
351
|
tasting_notes?: string[] | null;
|
|
312
352
|
updated_at?: string;
|
|
313
|
-
user_id?: string;
|
|
353
|
+
user_id?: string | null;
|
|
314
354
|
};
|
|
315
355
|
Relationships: [
|
|
316
356
|
{
|
|
@@ -1184,52 +1224,73 @@ export type Database = {
|
|
|
1184
1224
|
news: {
|
|
1185
1225
|
Row: {
|
|
1186
1226
|
author_id: string | null;
|
|
1227
|
+
body: string | null;
|
|
1187
1228
|
category: string | null;
|
|
1188
|
-
content: string;
|
|
1229
|
+
content: string | null;
|
|
1189
1230
|
cover_image_url: string | null;
|
|
1190
1231
|
created_at: string;
|
|
1191
1232
|
featured: boolean | null;
|
|
1233
|
+
filter: string | null;
|
|
1192
1234
|
id: string;
|
|
1235
|
+
image: string | null;
|
|
1193
1236
|
is_published: boolean | null;
|
|
1237
|
+
metadata: Json | null;
|
|
1238
|
+
posted_by: string | null;
|
|
1194
1239
|
published_at: string | null;
|
|
1240
|
+
shop_id: string | null;
|
|
1195
1241
|
slug: string | null;
|
|
1196
1242
|
summary: string | null;
|
|
1197
1243
|
tags: string[] | null;
|
|
1198
|
-
title: string;
|
|
1244
|
+
title: string | null;
|
|
1245
|
+
type: string | null;
|
|
1199
1246
|
updated_at: string;
|
|
1200
1247
|
view_count: number | null;
|
|
1201
1248
|
};
|
|
1202
1249
|
Insert: {
|
|
1203
1250
|
author_id?: string | null;
|
|
1251
|
+
body?: string | null;
|
|
1204
1252
|
category?: string | null;
|
|
1205
|
-
content
|
|
1253
|
+
content?: string | null;
|
|
1206
1254
|
cover_image_url?: string | null;
|
|
1207
1255
|
created_at?: string;
|
|
1208
1256
|
featured?: boolean | null;
|
|
1257
|
+
filter?: string | null;
|
|
1209
1258
|
id?: string;
|
|
1259
|
+
image?: string | null;
|
|
1210
1260
|
is_published?: boolean | null;
|
|
1261
|
+
metadata?: Json | null;
|
|
1262
|
+
posted_by?: string | null;
|
|
1211
1263
|
published_at?: string | null;
|
|
1264
|
+
shop_id?: string | null;
|
|
1212
1265
|
slug?: string | null;
|
|
1213
1266
|
summary?: string | null;
|
|
1214
1267
|
tags?: string[] | null;
|
|
1215
|
-
title
|
|
1268
|
+
title?: string | null;
|
|
1269
|
+
type?: string | null;
|
|
1216
1270
|
updated_at?: string;
|
|
1217
1271
|
view_count?: number | null;
|
|
1218
1272
|
};
|
|
1219
1273
|
Update: {
|
|
1220
1274
|
author_id?: string | null;
|
|
1275
|
+
body?: string | null;
|
|
1221
1276
|
category?: string | null;
|
|
1222
|
-
content?: string;
|
|
1277
|
+
content?: string | null;
|
|
1223
1278
|
cover_image_url?: string | null;
|
|
1224
1279
|
created_at?: string;
|
|
1225
1280
|
featured?: boolean | null;
|
|
1281
|
+
filter?: string | null;
|
|
1226
1282
|
id?: string;
|
|
1283
|
+
image?: string | null;
|
|
1227
1284
|
is_published?: boolean | null;
|
|
1285
|
+
metadata?: Json | null;
|
|
1286
|
+
posted_by?: string | null;
|
|
1228
1287
|
published_at?: string | null;
|
|
1288
|
+
shop_id?: string | null;
|
|
1229
1289
|
slug?: string | null;
|
|
1230
1290
|
summary?: string | null;
|
|
1231
1291
|
tags?: string[] | null;
|
|
1232
|
-
title?: string;
|
|
1292
|
+
title?: string | null;
|
|
1293
|
+
type?: string | null;
|
|
1233
1294
|
updated_at?: string;
|
|
1234
1295
|
view_count?: number | null;
|
|
1235
1296
|
};
|
|
@@ -1259,33 +1320,42 @@ export type Database = {
|
|
|
1259
1320
|
};
|
|
1260
1321
|
notification_templates: {
|
|
1261
1322
|
Row: {
|
|
1262
|
-
body_template: string;
|
|
1323
|
+
body_template: string | null;
|
|
1263
1324
|
created_at: string;
|
|
1264
1325
|
default_data: Json | null;
|
|
1326
|
+
default_link: string | null;
|
|
1327
|
+
icon: string | null;
|
|
1265
1328
|
id: string;
|
|
1266
1329
|
is_active: boolean | null;
|
|
1267
|
-
name: string;
|
|
1268
|
-
title_template: string;
|
|
1330
|
+
name: string | null;
|
|
1331
|
+
title_template: string | null;
|
|
1332
|
+
type: string | null;
|
|
1269
1333
|
updated_at: string;
|
|
1270
1334
|
};
|
|
1271
1335
|
Insert: {
|
|
1272
|
-
body_template
|
|
1336
|
+
body_template?: string | null;
|
|
1273
1337
|
created_at?: string;
|
|
1274
1338
|
default_data?: Json | null;
|
|
1339
|
+
default_link?: string | null;
|
|
1340
|
+
icon?: string | null;
|
|
1275
1341
|
id: string;
|
|
1276
1342
|
is_active?: boolean | null;
|
|
1277
|
-
name
|
|
1278
|
-
title_template
|
|
1343
|
+
name?: string | null;
|
|
1344
|
+
title_template?: string | null;
|
|
1345
|
+
type?: string | null;
|
|
1279
1346
|
updated_at?: string;
|
|
1280
1347
|
};
|
|
1281
1348
|
Update: {
|
|
1282
|
-
body_template?: string;
|
|
1349
|
+
body_template?: string | null;
|
|
1283
1350
|
created_at?: string;
|
|
1284
1351
|
default_data?: Json | null;
|
|
1352
|
+
default_link?: string | null;
|
|
1353
|
+
icon?: string | null;
|
|
1285
1354
|
id?: string;
|
|
1286
1355
|
is_active?: boolean | null;
|
|
1287
|
-
name?: string;
|
|
1288
|
-
title_template?: string;
|
|
1356
|
+
name?: string | null;
|
|
1357
|
+
title_template?: string | null;
|
|
1358
|
+
type?: string | null;
|
|
1289
1359
|
updated_at?: string;
|
|
1290
1360
|
};
|
|
1291
1361
|
Relationships: [];
|
|
@@ -1542,31 +1612,52 @@ export type Database = {
|
|
|
1542
1612
|
answers: Json;
|
|
1543
1613
|
completed_at: string;
|
|
1544
1614
|
created_at: string;
|
|
1615
|
+
email: string | null;
|
|
1545
1616
|
id: string;
|
|
1546
|
-
|
|
1547
|
-
|
|
1617
|
+
persona: Json | null;
|
|
1618
|
+
quiz_type: string | null;
|
|
1619
|
+
recommended_shop_id: string | null;
|
|
1620
|
+
recommended_shop_name: string | null;
|
|
1621
|
+
result: Json | null;
|
|
1548
1622
|
score: number | null;
|
|
1623
|
+
updated_at: string | null;
|
|
1624
|
+
user_city: string | null;
|
|
1549
1625
|
user_id: string;
|
|
1626
|
+
user_name: string | null;
|
|
1550
1627
|
};
|
|
1551
1628
|
Insert: {
|
|
1552
1629
|
answers: Json;
|
|
1553
1630
|
completed_at?: string;
|
|
1554
1631
|
created_at?: string;
|
|
1632
|
+
email?: string | null;
|
|
1555
1633
|
id?: string;
|
|
1556
|
-
|
|
1557
|
-
|
|
1634
|
+
persona?: Json | null;
|
|
1635
|
+
quiz_type?: string | null;
|
|
1636
|
+
recommended_shop_id?: string | null;
|
|
1637
|
+
recommended_shop_name?: string | null;
|
|
1638
|
+
result?: Json | null;
|
|
1558
1639
|
score?: number | null;
|
|
1640
|
+
updated_at?: string | null;
|
|
1641
|
+
user_city?: string | null;
|
|
1559
1642
|
user_id: string;
|
|
1643
|
+
user_name?: string | null;
|
|
1560
1644
|
};
|
|
1561
1645
|
Update: {
|
|
1562
1646
|
answers?: Json;
|
|
1563
1647
|
completed_at?: string;
|
|
1564
1648
|
created_at?: string;
|
|
1649
|
+
email?: string | null;
|
|
1565
1650
|
id?: string;
|
|
1566
|
-
|
|
1567
|
-
|
|
1651
|
+
persona?: Json | null;
|
|
1652
|
+
quiz_type?: string | null;
|
|
1653
|
+
recommended_shop_id?: string | null;
|
|
1654
|
+
recommended_shop_name?: string | null;
|
|
1655
|
+
result?: Json | null;
|
|
1568
1656
|
score?: number | null;
|
|
1657
|
+
updated_at?: string | null;
|
|
1658
|
+
user_city?: string | null;
|
|
1569
1659
|
user_id?: string;
|
|
1660
|
+
user_name?: string | null;
|
|
1570
1661
|
};
|
|
1571
1662
|
Relationships: [
|
|
1572
1663
|
{
|
|
@@ -1661,47 +1752,62 @@ export type Database = {
|
|
|
1661
1752
|
report_cases: {
|
|
1662
1753
|
Row: {
|
|
1663
1754
|
assigned_to: string | null;
|
|
1755
|
+
content_user_id: string | null;
|
|
1664
1756
|
created_at: string;
|
|
1665
1757
|
description: string | null;
|
|
1666
|
-
entity_id: string;
|
|
1667
|
-
entity_type: string;
|
|
1758
|
+
entity_id: string | null;
|
|
1759
|
+
entity_type: string | null;
|
|
1668
1760
|
id: string;
|
|
1669
1761
|
priority: string | null;
|
|
1762
|
+
report_count: number | null;
|
|
1763
|
+
reported_by: Json | null;
|
|
1764
|
+
reported_content: string | null;
|
|
1765
|
+
reported_item_id: string | null;
|
|
1670
1766
|
resolution: string | null;
|
|
1671
1767
|
resolved_at: string | null;
|
|
1672
1768
|
resolved_by: string | null;
|
|
1673
1769
|
status: string;
|
|
1674
|
-
title: string;
|
|
1770
|
+
title: string | null;
|
|
1675
1771
|
updated_at: string;
|
|
1676
1772
|
};
|
|
1677
1773
|
Insert: {
|
|
1678
1774
|
assigned_to?: string | null;
|
|
1775
|
+
content_user_id?: string | null;
|
|
1679
1776
|
created_at?: string;
|
|
1680
1777
|
description?: string | null;
|
|
1681
|
-
entity_id
|
|
1682
|
-
entity_type
|
|
1778
|
+
entity_id?: string | null;
|
|
1779
|
+
entity_type?: string | null;
|
|
1683
1780
|
id?: string;
|
|
1684
1781
|
priority?: string | null;
|
|
1782
|
+
report_count?: number | null;
|
|
1783
|
+
reported_by?: Json | null;
|
|
1784
|
+
reported_content?: string | null;
|
|
1785
|
+
reported_item_id?: string | null;
|
|
1685
1786
|
resolution?: string | null;
|
|
1686
1787
|
resolved_at?: string | null;
|
|
1687
1788
|
resolved_by?: string | null;
|
|
1688
1789
|
status?: string;
|
|
1689
|
-
title
|
|
1790
|
+
title?: string | null;
|
|
1690
1791
|
updated_at?: string;
|
|
1691
1792
|
};
|
|
1692
1793
|
Update: {
|
|
1693
1794
|
assigned_to?: string | null;
|
|
1795
|
+
content_user_id?: string | null;
|
|
1694
1796
|
created_at?: string;
|
|
1695
1797
|
description?: string | null;
|
|
1696
|
-
entity_id?: string;
|
|
1697
|
-
entity_type?: string;
|
|
1798
|
+
entity_id?: string | null;
|
|
1799
|
+
entity_type?: string | null;
|
|
1698
1800
|
id?: string;
|
|
1699
1801
|
priority?: string | null;
|
|
1802
|
+
report_count?: number | null;
|
|
1803
|
+
reported_by?: Json | null;
|
|
1804
|
+
reported_content?: string | null;
|
|
1805
|
+
reported_item_id?: string | null;
|
|
1700
1806
|
resolution?: string | null;
|
|
1701
1807
|
resolved_at?: string | null;
|
|
1702
1808
|
resolved_by?: string | null;
|
|
1703
1809
|
status?: string;
|
|
1704
|
-
title?: string;
|
|
1810
|
+
title?: string | null;
|
|
1705
1811
|
updated_at?: string;
|
|
1706
1812
|
};
|
|
1707
1813
|
Relationships: [
|
|
@@ -1755,13 +1861,16 @@ export type Database = {
|
|
|
1755
1861
|
case_id: string | null;
|
|
1756
1862
|
created_at: string;
|
|
1757
1863
|
description: string | null;
|
|
1758
|
-
entity_id: string;
|
|
1759
|
-
entity_type: string;
|
|
1864
|
+
entity_id: string | null;
|
|
1865
|
+
entity_type: string | null;
|
|
1760
1866
|
evidence_urls: string[] | null;
|
|
1761
1867
|
id: string;
|
|
1762
1868
|
priority: string | null;
|
|
1763
|
-
reason: string;
|
|
1764
|
-
|
|
1869
|
+
reason: string | null;
|
|
1870
|
+
reported_by_user_id: string | null;
|
|
1871
|
+
reported_content: string | null;
|
|
1872
|
+
reported_item_id: string | null;
|
|
1873
|
+
reporter_id: string | null;
|
|
1765
1874
|
status: string;
|
|
1766
1875
|
updated_at: string;
|
|
1767
1876
|
};
|
|
@@ -1770,13 +1879,16 @@ export type Database = {
|
|
|
1770
1879
|
case_id?: string | null;
|
|
1771
1880
|
created_at?: string;
|
|
1772
1881
|
description?: string | null;
|
|
1773
|
-
entity_id
|
|
1774
|
-
entity_type
|
|
1882
|
+
entity_id?: string | null;
|
|
1883
|
+
entity_type?: string | null;
|
|
1775
1884
|
evidence_urls?: string[] | null;
|
|
1776
1885
|
id?: string;
|
|
1777
1886
|
priority?: string | null;
|
|
1778
|
-
reason
|
|
1779
|
-
|
|
1887
|
+
reason?: string | null;
|
|
1888
|
+
reported_by_user_id?: string | null;
|
|
1889
|
+
reported_content?: string | null;
|
|
1890
|
+
reported_item_id?: string | null;
|
|
1891
|
+
reporter_id?: string | null;
|
|
1780
1892
|
status?: string;
|
|
1781
1893
|
updated_at?: string;
|
|
1782
1894
|
};
|
|
@@ -1785,13 +1897,16 @@ export type Database = {
|
|
|
1785
1897
|
case_id?: string | null;
|
|
1786
1898
|
created_at?: string;
|
|
1787
1899
|
description?: string | null;
|
|
1788
|
-
entity_id?: string;
|
|
1789
|
-
entity_type?: string;
|
|
1900
|
+
entity_id?: string | null;
|
|
1901
|
+
entity_type?: string | null;
|
|
1790
1902
|
evidence_urls?: string[] | null;
|
|
1791
1903
|
id?: string;
|
|
1792
1904
|
priority?: string | null;
|
|
1793
|
-
reason?: string;
|
|
1794
|
-
|
|
1905
|
+
reason?: string | null;
|
|
1906
|
+
reported_by_user_id?: string | null;
|
|
1907
|
+
reported_content?: string | null;
|
|
1908
|
+
reported_item_id?: string | null;
|
|
1909
|
+
reporter_id?: string | null;
|
|
1795
1910
|
status?: string;
|
|
1796
1911
|
updated_at?: string;
|
|
1797
1912
|
};
|
|
@@ -2015,54 +2130,87 @@ export type Database = {
|
|
|
2015
2130
|
};
|
|
2016
2131
|
roaster_submissions: {
|
|
2017
2132
|
Row: {
|
|
2133
|
+
about: string | null;
|
|
2134
|
+
active: boolean | null;
|
|
2018
2135
|
approved_roaster_id: string | null;
|
|
2136
|
+
city: string | null;
|
|
2137
|
+
contact_details: Json | null;
|
|
2138
|
+
country: string | null;
|
|
2139
|
+
country_code: string | null;
|
|
2019
2140
|
created_at: string;
|
|
2020
2141
|
description: string | null;
|
|
2142
|
+
evidence_urls: string[] | null;
|
|
2021
2143
|
id: string;
|
|
2022
2144
|
image_url: string | null;
|
|
2023
2145
|
instagram: string | null;
|
|
2024
2146
|
location: Json | null;
|
|
2147
|
+
logo_image: string | null;
|
|
2025
2148
|
name: string;
|
|
2149
|
+
notes_for_curator: string | null;
|
|
2026
2150
|
review_notes: string | null;
|
|
2027
2151
|
reviewed_at: string | null;
|
|
2028
2152
|
reviewed_by: string | null;
|
|
2153
|
+
roaster_id: string | null;
|
|
2029
2154
|
status: string;
|
|
2155
|
+
suggested_tier: number | null;
|
|
2030
2156
|
updated_at: string;
|
|
2031
|
-
user_id: string;
|
|
2157
|
+
user_id: string | null;
|
|
2032
2158
|
website: string | null;
|
|
2033
2159
|
};
|
|
2034
2160
|
Insert: {
|
|
2161
|
+
about?: string | null;
|
|
2162
|
+
active?: boolean | null;
|
|
2035
2163
|
approved_roaster_id?: string | null;
|
|
2164
|
+
city?: string | null;
|
|
2165
|
+
contact_details?: Json | null;
|
|
2166
|
+
country?: string | null;
|
|
2167
|
+
country_code?: string | null;
|
|
2036
2168
|
created_at?: string;
|
|
2037
2169
|
description?: string | null;
|
|
2170
|
+
evidence_urls?: string[] | null;
|
|
2038
2171
|
id?: string;
|
|
2039
2172
|
image_url?: string | null;
|
|
2040
2173
|
instagram?: string | null;
|
|
2041
2174
|
location?: Json | null;
|
|
2175
|
+
logo_image?: string | null;
|
|
2042
2176
|
name: string;
|
|
2177
|
+
notes_for_curator?: string | null;
|
|
2043
2178
|
review_notes?: string | null;
|
|
2044
2179
|
reviewed_at?: string | null;
|
|
2045
2180
|
reviewed_by?: string | null;
|
|
2181
|
+
roaster_id?: string | null;
|
|
2046
2182
|
status?: string;
|
|
2183
|
+
suggested_tier?: number | null;
|
|
2047
2184
|
updated_at?: string;
|
|
2048
|
-
user_id
|
|
2185
|
+
user_id?: string | null;
|
|
2049
2186
|
website?: string | null;
|
|
2050
2187
|
};
|
|
2051
2188
|
Update: {
|
|
2189
|
+
about?: string | null;
|
|
2190
|
+
active?: boolean | null;
|
|
2052
2191
|
approved_roaster_id?: string | null;
|
|
2192
|
+
city?: string | null;
|
|
2193
|
+
contact_details?: Json | null;
|
|
2194
|
+
country?: string | null;
|
|
2195
|
+
country_code?: string | null;
|
|
2053
2196
|
created_at?: string;
|
|
2054
2197
|
description?: string | null;
|
|
2198
|
+
evidence_urls?: string[] | null;
|
|
2055
2199
|
id?: string;
|
|
2056
2200
|
image_url?: string | null;
|
|
2057
2201
|
instagram?: string | null;
|
|
2058
2202
|
location?: Json | null;
|
|
2203
|
+
logo_image?: string | null;
|
|
2059
2204
|
name?: string;
|
|
2205
|
+
notes_for_curator?: string | null;
|
|
2060
2206
|
review_notes?: string | null;
|
|
2061
2207
|
reviewed_at?: string | null;
|
|
2062
2208
|
reviewed_by?: string | null;
|
|
2209
|
+
roaster_id?: string | null;
|
|
2063
2210
|
status?: string;
|
|
2211
|
+
suggested_tier?: number | null;
|
|
2064
2212
|
updated_at?: string;
|
|
2065
|
-
user_id?: string;
|
|
2213
|
+
user_id?: string | null;
|
|
2066
2214
|
website?: string | null;
|
|
2067
2215
|
};
|
|
2068
2216
|
Relationships: [
|
|
@@ -2698,74 +2846,116 @@ export type Database = {
|
|
|
2698
2846
|
Row: {
|
|
2699
2847
|
completed_at: string | null;
|
|
2700
2848
|
created_at: string;
|
|
2849
|
+
error: string | null;
|
|
2701
2850
|
error_message: string | null;
|
|
2851
|
+
finished_at: string | null;
|
|
2702
2852
|
id: string;
|
|
2703
|
-
job_name: string;
|
|
2853
|
+
job_name: string | null;
|
|
2854
|
+
reason: string | null;
|
|
2704
2855
|
result: Json | null;
|
|
2856
|
+
roaster_id: string | null;
|
|
2857
|
+
shop_id: string | null;
|
|
2705
2858
|
started_at: string | null;
|
|
2706
2859
|
status: string;
|
|
2860
|
+
type: string | null;
|
|
2707
2861
|
};
|
|
2708
2862
|
Insert: {
|
|
2709
2863
|
completed_at?: string | null;
|
|
2710
2864
|
created_at?: string;
|
|
2865
|
+
error?: string | null;
|
|
2711
2866
|
error_message?: string | null;
|
|
2867
|
+
finished_at?: string | null;
|
|
2712
2868
|
id?: string;
|
|
2713
|
-
job_name
|
|
2869
|
+
job_name?: string | null;
|
|
2870
|
+
reason?: string | null;
|
|
2714
2871
|
result?: Json | null;
|
|
2872
|
+
roaster_id?: string | null;
|
|
2873
|
+
shop_id?: string | null;
|
|
2715
2874
|
started_at?: string | null;
|
|
2716
2875
|
status?: string;
|
|
2876
|
+
type?: string | null;
|
|
2717
2877
|
};
|
|
2718
2878
|
Update: {
|
|
2719
2879
|
completed_at?: string | null;
|
|
2720
2880
|
created_at?: string;
|
|
2881
|
+
error?: string | null;
|
|
2721
2882
|
error_message?: string | null;
|
|
2883
|
+
finished_at?: string | null;
|
|
2722
2884
|
id?: string;
|
|
2723
|
-
job_name?: string;
|
|
2885
|
+
job_name?: string | null;
|
|
2886
|
+
reason?: string | null;
|
|
2724
2887
|
result?: Json | null;
|
|
2888
|
+
roaster_id?: string | null;
|
|
2889
|
+
shop_id?: string | null;
|
|
2725
2890
|
started_at?: string | null;
|
|
2726
2891
|
status?: string;
|
|
2892
|
+
type?: string | null;
|
|
2727
2893
|
};
|
|
2728
2894
|
Relationships: [];
|
|
2729
2895
|
};
|
|
2730
2896
|
staff: {
|
|
2731
2897
|
Row: {
|
|
2732
2898
|
accepted_at: string | null;
|
|
2899
|
+
bio: string | null;
|
|
2733
2900
|
created_at: string;
|
|
2901
|
+
email: string | null;
|
|
2902
|
+
favourite_coffee_drink: string | null;
|
|
2734
2903
|
id: string;
|
|
2735
2904
|
invited_at: string | null;
|
|
2736
2905
|
invited_by: string | null;
|
|
2906
|
+
is_authenticated: boolean | null;
|
|
2907
|
+
is_working: boolean | null;
|
|
2908
|
+
membership_id: string | null;
|
|
2909
|
+
name: string | null;
|
|
2737
2910
|
permissions: Json | null;
|
|
2738
|
-
|
|
2911
|
+
profile_picture: string | null;
|
|
2912
|
+
role: string | null;
|
|
2739
2913
|
shop_id: string;
|
|
2740
|
-
status: string;
|
|
2914
|
+
status: string | null;
|
|
2741
2915
|
updated_at: string;
|
|
2742
|
-
user_id: string;
|
|
2916
|
+
user_id: string | null;
|
|
2743
2917
|
};
|
|
2744
2918
|
Insert: {
|
|
2745
2919
|
accepted_at?: string | null;
|
|
2920
|
+
bio?: string | null;
|
|
2746
2921
|
created_at?: string;
|
|
2922
|
+
email?: string | null;
|
|
2923
|
+
favourite_coffee_drink?: string | null;
|
|
2747
2924
|
id?: string;
|
|
2748
2925
|
invited_at?: string | null;
|
|
2749
2926
|
invited_by?: string | null;
|
|
2927
|
+
is_authenticated?: boolean | null;
|
|
2928
|
+
is_working?: boolean | null;
|
|
2929
|
+
membership_id?: string | null;
|
|
2930
|
+
name?: string | null;
|
|
2750
2931
|
permissions?: Json | null;
|
|
2751
|
-
|
|
2932
|
+
profile_picture?: string | null;
|
|
2933
|
+
role?: string | null;
|
|
2752
2934
|
shop_id: string;
|
|
2753
|
-
status?: string;
|
|
2935
|
+
status?: string | null;
|
|
2754
2936
|
updated_at?: string;
|
|
2755
|
-
user_id
|
|
2937
|
+
user_id?: string | null;
|
|
2756
2938
|
};
|
|
2757
2939
|
Update: {
|
|
2758
2940
|
accepted_at?: string | null;
|
|
2941
|
+
bio?: string | null;
|
|
2759
2942
|
created_at?: string;
|
|
2943
|
+
email?: string | null;
|
|
2944
|
+
favourite_coffee_drink?: string | null;
|
|
2760
2945
|
id?: string;
|
|
2761
2946
|
invited_at?: string | null;
|
|
2762
2947
|
invited_by?: string | null;
|
|
2948
|
+
is_authenticated?: boolean | null;
|
|
2949
|
+
is_working?: boolean | null;
|
|
2950
|
+
membership_id?: string | null;
|
|
2951
|
+
name?: string | null;
|
|
2763
2952
|
permissions?: Json | null;
|
|
2764
|
-
|
|
2953
|
+
profile_picture?: string | null;
|
|
2954
|
+
role?: string | null;
|
|
2765
2955
|
shop_id?: string;
|
|
2766
|
-
status?: string;
|
|
2956
|
+
status?: string | null;
|
|
2767
2957
|
updated_at?: string;
|
|
2768
|
-
user_id?: string;
|
|
2958
|
+
user_id?: string | null;
|
|
2769
2959
|
};
|
|
2770
2960
|
Relationships: [
|
|
2771
2961
|
{
|
|
@@ -2834,9 +3024,10 @@ export type Database = {
|
|
|
2834
3024
|
email: string;
|
|
2835
3025
|
expires_at: string;
|
|
2836
3026
|
id: string;
|
|
2837
|
-
invited_by: string;
|
|
3027
|
+
invited_by: string | null;
|
|
3028
|
+
invited_email: string | null;
|
|
2838
3029
|
permissions: Json | null;
|
|
2839
|
-
role: string;
|
|
3030
|
+
role: string | null;
|
|
2840
3031
|
shop_id: string;
|
|
2841
3032
|
status: string;
|
|
2842
3033
|
token: string;
|
|
@@ -2848,9 +3039,10 @@ export type Database = {
|
|
|
2848
3039
|
email: string;
|
|
2849
3040
|
expires_at: string;
|
|
2850
3041
|
id?: string;
|
|
2851
|
-
invited_by
|
|
3042
|
+
invited_by?: string | null;
|
|
3043
|
+
invited_email?: string | null;
|
|
2852
3044
|
permissions?: Json | null;
|
|
2853
|
-
role?: string;
|
|
3045
|
+
role?: string | null;
|
|
2854
3046
|
shop_id: string;
|
|
2855
3047
|
status?: string;
|
|
2856
3048
|
token: string;
|
|
@@ -2862,9 +3054,10 @@ export type Database = {
|
|
|
2862
3054
|
email?: string;
|
|
2863
3055
|
expires_at?: string;
|
|
2864
3056
|
id?: string;
|
|
2865
|
-
invited_by?: string;
|
|
3057
|
+
invited_by?: string | null;
|
|
3058
|
+
invited_email?: string | null;
|
|
2866
3059
|
permissions?: Json | null;
|
|
2867
|
-
role?: string;
|
|
3060
|
+
role?: string | null;
|
|
2868
3061
|
shop_id?: string;
|
|
2869
3062
|
status?: string;
|
|
2870
3063
|
token?: string;
|
|
@@ -2934,7 +3127,7 @@ export type Database = {
|
|
|
2934
3127
|
created_at: string;
|
|
2935
3128
|
description: string | null;
|
|
2936
3129
|
id: string;
|
|
2937
|
-
image_url: string;
|
|
3130
|
+
image_url: string | null;
|
|
2938
3131
|
is_active: boolean | null;
|
|
2939
3132
|
name: string;
|
|
2940
3133
|
rarity: string | null;
|
|
@@ -2945,7 +3138,7 @@ export type Database = {
|
|
|
2945
3138
|
created_at?: string;
|
|
2946
3139
|
description?: string | null;
|
|
2947
3140
|
id: string;
|
|
2948
|
-
image_url
|
|
3141
|
+
image_url?: string | null;
|
|
2949
3142
|
is_active?: boolean | null;
|
|
2950
3143
|
name: string;
|
|
2951
3144
|
rarity?: string | null;
|
|
@@ -2956,7 +3149,7 @@ export type Database = {
|
|
|
2956
3149
|
created_at?: string;
|
|
2957
3150
|
description?: string | null;
|
|
2958
3151
|
id?: string;
|
|
2959
|
-
image_url?: string;
|
|
3152
|
+
image_url?: string | null;
|
|
2960
3153
|
is_active?: boolean | null;
|
|
2961
3154
|
name?: string;
|
|
2962
3155
|
rarity?: string | null;
|
|
@@ -2966,38 +3159,86 @@ export type Database = {
|
|
|
2966
3159
|
};
|
|
2967
3160
|
submissions: {
|
|
2968
3161
|
Row: {
|
|
3162
|
+
active: boolean | null;
|
|
3163
|
+
city: string | null;
|
|
3164
|
+
contact_details: Json | null;
|
|
3165
|
+
country_code: string | null;
|
|
2969
3166
|
created_at: string;
|
|
2970
|
-
|
|
3167
|
+
custom_roasters: string[] | null;
|
|
3168
|
+
data: Json | null;
|
|
3169
|
+
geo_point: Json | null;
|
|
2971
3170
|
id: string;
|
|
3171
|
+
images: Json | null;
|
|
3172
|
+
info: Json | null;
|
|
3173
|
+
is_owner: boolean | null;
|
|
3174
|
+
owner_email: string | null;
|
|
3175
|
+
place_id: string | null;
|
|
3176
|
+
regular_opening_hours: Json | null;
|
|
3177
|
+
review: Json | null;
|
|
2972
3178
|
review_notes: string | null;
|
|
2973
3179
|
reviewed_at: string | null;
|
|
2974
3180
|
reviewed_by: string | null;
|
|
3181
|
+
roaster_ids: string[] | null;
|
|
3182
|
+
shop_id: string | null;
|
|
3183
|
+
shop_name: string | null;
|
|
2975
3184
|
status: string;
|
|
2976
|
-
type: string;
|
|
3185
|
+
type: string | null;
|
|
2977
3186
|
updated_at: string;
|
|
2978
3187
|
user_id: string;
|
|
2979
3188
|
};
|
|
2980
3189
|
Insert: {
|
|
3190
|
+
active?: boolean | null;
|
|
3191
|
+
city?: string | null;
|
|
3192
|
+
contact_details?: Json | null;
|
|
3193
|
+
country_code?: string | null;
|
|
2981
3194
|
created_at?: string;
|
|
2982
|
-
|
|
3195
|
+
custom_roasters?: string[] | null;
|
|
3196
|
+
data?: Json | null;
|
|
3197
|
+
geo_point?: Json | null;
|
|
2983
3198
|
id?: string;
|
|
3199
|
+
images?: Json | null;
|
|
3200
|
+
info?: Json | null;
|
|
3201
|
+
is_owner?: boolean | null;
|
|
3202
|
+
owner_email?: string | null;
|
|
3203
|
+
place_id?: string | null;
|
|
3204
|
+
regular_opening_hours?: Json | null;
|
|
3205
|
+
review?: Json | null;
|
|
2984
3206
|
review_notes?: string | null;
|
|
2985
3207
|
reviewed_at?: string | null;
|
|
2986
3208
|
reviewed_by?: string | null;
|
|
3209
|
+
roaster_ids?: string[] | null;
|
|
3210
|
+
shop_id?: string | null;
|
|
3211
|
+
shop_name?: string | null;
|
|
2987
3212
|
status?: string;
|
|
2988
|
-
type
|
|
3213
|
+
type?: string | null;
|
|
2989
3214
|
updated_at?: string;
|
|
2990
3215
|
user_id: string;
|
|
2991
3216
|
};
|
|
2992
3217
|
Update: {
|
|
3218
|
+
active?: boolean | null;
|
|
3219
|
+
city?: string | null;
|
|
3220
|
+
contact_details?: Json | null;
|
|
3221
|
+
country_code?: string | null;
|
|
2993
3222
|
created_at?: string;
|
|
2994
|
-
|
|
3223
|
+
custom_roasters?: string[] | null;
|
|
3224
|
+
data?: Json | null;
|
|
3225
|
+
geo_point?: Json | null;
|
|
2995
3226
|
id?: string;
|
|
3227
|
+
images?: Json | null;
|
|
3228
|
+
info?: Json | null;
|
|
3229
|
+
is_owner?: boolean | null;
|
|
3230
|
+
owner_email?: string | null;
|
|
3231
|
+
place_id?: string | null;
|
|
3232
|
+
regular_opening_hours?: Json | null;
|
|
3233
|
+
review?: Json | null;
|
|
2996
3234
|
review_notes?: string | null;
|
|
2997
3235
|
reviewed_at?: string | null;
|
|
2998
3236
|
reviewed_by?: string | null;
|
|
3237
|
+
roaster_ids?: string[] | null;
|
|
3238
|
+
shop_id?: string | null;
|
|
3239
|
+
shop_name?: string | null;
|
|
2999
3240
|
status?: string;
|
|
3000
|
-
type?: string;
|
|
3241
|
+
type?: string | null;
|
|
3001
3242
|
updated_at?: string;
|
|
3002
3243
|
user_id?: string;
|
|
3003
3244
|
};
|
|
@@ -3050,26 +3291,35 @@ export type Database = {
|
|
|
3050
3291
|
Row: {
|
|
3051
3292
|
created_at: string;
|
|
3052
3293
|
description: string | null;
|
|
3294
|
+
id: string | null;
|
|
3053
3295
|
key: string;
|
|
3296
|
+
tasks: Json | null;
|
|
3054
3297
|
updated_at: string;
|
|
3055
3298
|
updated_by: string | null;
|
|
3056
3299
|
value: Json;
|
|
3300
|
+
version: number | null;
|
|
3057
3301
|
};
|
|
3058
3302
|
Insert: {
|
|
3059
3303
|
created_at?: string;
|
|
3060
3304
|
description?: string | null;
|
|
3305
|
+
id?: string | null;
|
|
3061
3306
|
key: string;
|
|
3307
|
+
tasks?: Json | null;
|
|
3062
3308
|
updated_at?: string;
|
|
3063
3309
|
updated_by?: string | null;
|
|
3064
3310
|
value: Json;
|
|
3311
|
+
version?: number | null;
|
|
3065
3312
|
};
|
|
3066
3313
|
Update: {
|
|
3067
3314
|
created_at?: string;
|
|
3068
3315
|
description?: string | null;
|
|
3316
|
+
id?: string | null;
|
|
3069
3317
|
key?: string;
|
|
3318
|
+
tasks?: Json | null;
|
|
3070
3319
|
updated_at?: string;
|
|
3071
3320
|
updated_by?: string | null;
|
|
3072
3321
|
value?: Json;
|
|
3322
|
+
version?: number | null;
|
|
3073
3323
|
};
|
|
3074
3324
|
Relationships: [
|
|
3075
3325
|
{
|
|
@@ -3097,52 +3347,79 @@ export type Database = {
|
|
|
3097
3347
|
};
|
|
3098
3348
|
things_to_do: {
|
|
3099
3349
|
Row: {
|
|
3350
|
+
active: boolean | null;
|
|
3351
|
+
city: string | null;
|
|
3352
|
+
coordinates: Json | null;
|
|
3353
|
+
country_code: string | null;
|
|
3100
3354
|
created_at: string;
|
|
3355
|
+
cta: string | null;
|
|
3356
|
+
date: string | null;
|
|
3101
3357
|
description: string | null;
|
|
3102
3358
|
end_date: string | null;
|
|
3103
3359
|
id: string;
|
|
3104
3360
|
image_url: string | null;
|
|
3105
3361
|
is_active: boolean | null;
|
|
3106
3362
|
location: Json | null;
|
|
3363
|
+
location_name: string | null;
|
|
3364
|
+
name: string | null;
|
|
3107
3365
|
priority: number | null;
|
|
3108
3366
|
related_shop_id: string | null;
|
|
3109
3367
|
start_date: string | null;
|
|
3110
3368
|
tags: string[] | null;
|
|
3111
|
-
title: string;
|
|
3112
|
-
type: string;
|
|
3369
|
+
title: string | null;
|
|
3370
|
+
type: string | null;
|
|
3113
3371
|
updated_at: string;
|
|
3372
|
+
url: string | null;
|
|
3114
3373
|
};
|
|
3115
3374
|
Insert: {
|
|
3375
|
+
active?: boolean | null;
|
|
3376
|
+
city?: string | null;
|
|
3377
|
+
coordinates?: Json | null;
|
|
3378
|
+
country_code?: string | null;
|
|
3116
3379
|
created_at?: string;
|
|
3380
|
+
cta?: string | null;
|
|
3381
|
+
date?: string | null;
|
|
3117
3382
|
description?: string | null;
|
|
3118
3383
|
end_date?: string | null;
|
|
3119
3384
|
id?: string;
|
|
3120
3385
|
image_url?: string | null;
|
|
3121
3386
|
is_active?: boolean | null;
|
|
3122
3387
|
location?: Json | null;
|
|
3388
|
+
location_name?: string | null;
|
|
3389
|
+
name?: string | null;
|
|
3123
3390
|
priority?: number | null;
|
|
3124
3391
|
related_shop_id?: string | null;
|
|
3125
3392
|
start_date?: string | null;
|
|
3126
3393
|
tags?: string[] | null;
|
|
3127
|
-
title
|
|
3128
|
-
type
|
|
3394
|
+
title?: string | null;
|
|
3395
|
+
type?: string | null;
|
|
3129
3396
|
updated_at?: string;
|
|
3397
|
+
url?: string | null;
|
|
3130
3398
|
};
|
|
3131
3399
|
Update: {
|
|
3400
|
+
active?: boolean | null;
|
|
3401
|
+
city?: string | null;
|
|
3402
|
+
coordinates?: Json | null;
|
|
3403
|
+
country_code?: string | null;
|
|
3132
3404
|
created_at?: string;
|
|
3405
|
+
cta?: string | null;
|
|
3406
|
+
date?: string | null;
|
|
3133
3407
|
description?: string | null;
|
|
3134
3408
|
end_date?: string | null;
|
|
3135
3409
|
id?: string;
|
|
3136
3410
|
image_url?: string | null;
|
|
3137
3411
|
is_active?: boolean | null;
|
|
3138
3412
|
location?: Json | null;
|
|
3413
|
+
location_name?: string | null;
|
|
3414
|
+
name?: string | null;
|
|
3139
3415
|
priority?: number | null;
|
|
3140
3416
|
related_shop_id?: string | null;
|
|
3141
3417
|
start_date?: string | null;
|
|
3142
3418
|
tags?: string[] | null;
|
|
3143
|
-
title?: string;
|
|
3144
|
-
type?: string;
|
|
3419
|
+
title?: string | null;
|
|
3420
|
+
type?: string | null;
|
|
3145
3421
|
updated_at?: string;
|
|
3422
|
+
url?: string | null;
|
|
3146
3423
|
};
|
|
3147
3424
|
Relationships: [
|
|
3148
3425
|
{
|
|
@@ -3163,49 +3440,70 @@ export type Database = {
|
|
|
3163
3440
|
};
|
|
3164
3441
|
user_corrections: {
|
|
3165
3442
|
Row: {
|
|
3443
|
+
correction_data: Json | null;
|
|
3444
|
+
correction_type: string | null;
|
|
3166
3445
|
created_at: string;
|
|
3167
3446
|
current_value: string | null;
|
|
3168
|
-
entity_id: string;
|
|
3169
|
-
entity_type: string;
|
|
3170
|
-
field_name: string;
|
|
3447
|
+
entity_id: string | null;
|
|
3448
|
+
entity_type: string | null;
|
|
3449
|
+
field_name: string | null;
|
|
3171
3450
|
id: string;
|
|
3451
|
+
notes: string | null;
|
|
3172
3452
|
reason: string | null;
|
|
3173
3453
|
review_notes: string | null;
|
|
3174
3454
|
reviewed_at: string | null;
|
|
3175
3455
|
reviewed_by: string | null;
|
|
3456
|
+
shop_id: string | null;
|
|
3457
|
+
shop_name: string | null;
|
|
3176
3458
|
status: string;
|
|
3177
|
-
|
|
3459
|
+
submitted_at: string | null;
|
|
3460
|
+
suggested_value: string | null;
|
|
3178
3461
|
user_id: string;
|
|
3462
|
+
user_name: string | null;
|
|
3179
3463
|
};
|
|
3180
3464
|
Insert: {
|
|
3465
|
+
correction_data?: Json | null;
|
|
3466
|
+
correction_type?: string | null;
|
|
3181
3467
|
created_at?: string;
|
|
3182
3468
|
current_value?: string | null;
|
|
3183
|
-
entity_id
|
|
3184
|
-
entity_type
|
|
3185
|
-
field_name
|
|
3469
|
+
entity_id?: string | null;
|
|
3470
|
+
entity_type?: string | null;
|
|
3471
|
+
field_name?: string | null;
|
|
3186
3472
|
id?: string;
|
|
3473
|
+
notes?: string | null;
|
|
3187
3474
|
reason?: string | null;
|
|
3188
3475
|
review_notes?: string | null;
|
|
3189
3476
|
reviewed_at?: string | null;
|
|
3190
3477
|
reviewed_by?: string | null;
|
|
3478
|
+
shop_id?: string | null;
|
|
3479
|
+
shop_name?: string | null;
|
|
3191
3480
|
status?: string;
|
|
3192
|
-
|
|
3481
|
+
submitted_at?: string | null;
|
|
3482
|
+
suggested_value?: string | null;
|
|
3193
3483
|
user_id: string;
|
|
3484
|
+
user_name?: string | null;
|
|
3194
3485
|
};
|
|
3195
3486
|
Update: {
|
|
3487
|
+
correction_data?: Json | null;
|
|
3488
|
+
correction_type?: string | null;
|
|
3196
3489
|
created_at?: string;
|
|
3197
3490
|
current_value?: string | null;
|
|
3198
|
-
entity_id?: string;
|
|
3199
|
-
entity_type?: string;
|
|
3200
|
-
field_name?: string;
|
|
3491
|
+
entity_id?: string | null;
|
|
3492
|
+
entity_type?: string | null;
|
|
3493
|
+
field_name?: string | null;
|
|
3201
3494
|
id?: string;
|
|
3495
|
+
notes?: string | null;
|
|
3202
3496
|
reason?: string | null;
|
|
3203
3497
|
review_notes?: string | null;
|
|
3204
3498
|
reviewed_at?: string | null;
|
|
3205
3499
|
reviewed_by?: string | null;
|
|
3500
|
+
shop_id?: string | null;
|
|
3501
|
+
shop_name?: string | null;
|
|
3206
3502
|
status?: string;
|
|
3207
|
-
|
|
3503
|
+
submitted_at?: string | null;
|
|
3504
|
+
suggested_value?: string | null;
|
|
3208
3505
|
user_id?: string;
|
|
3506
|
+
user_name?: string | null;
|
|
3209
3507
|
};
|
|
3210
3508
|
Relationships: [
|
|
3211
3509
|
{
|
|
@@ -3377,7 +3675,7 @@ export type Database = {
|
|
|
3377
3675
|
cover_image_url?: string | null;
|
|
3378
3676
|
created_at?: string;
|
|
3379
3677
|
description?: string | null;
|
|
3380
|
-
id
|
|
3678
|
+
id: string;
|
|
3381
3679
|
is_public?: boolean | null;
|
|
3382
3680
|
name: string;
|
|
3383
3681
|
updated_at?: string;
|
|
@@ -3420,33 +3718,51 @@ export type Database = {
|
|
|
3420
3718
|
user_shop_orders: {
|
|
3421
3719
|
Row: {
|
|
3422
3720
|
created_at: string;
|
|
3721
|
+
discount_amount: number | null;
|
|
3423
3722
|
id: string;
|
|
3723
|
+
items: Json | null;
|
|
3424
3724
|
last_order_at: string | null;
|
|
3425
|
-
|
|
3725
|
+
loyalty_reward_action_id: string | null;
|
|
3726
|
+
order_date: string | null;
|
|
3727
|
+
order_type: string | null;
|
|
3426
3728
|
preferences: Json | null;
|
|
3729
|
+
served_by_staff_id: string | null;
|
|
3427
3730
|
shop_id: string;
|
|
3428
3731
|
updated_at: string;
|
|
3429
3732
|
user_id: string;
|
|
3733
|
+
voucher_id: string | null;
|
|
3430
3734
|
};
|
|
3431
3735
|
Insert: {
|
|
3432
3736
|
created_at?: string;
|
|
3737
|
+
discount_amount?: number | null;
|
|
3433
3738
|
id?: string;
|
|
3739
|
+
items?: Json | null;
|
|
3434
3740
|
last_order_at?: string | null;
|
|
3435
|
-
|
|
3741
|
+
loyalty_reward_action_id?: string | null;
|
|
3742
|
+
order_date?: string | null;
|
|
3743
|
+
order_type?: string | null;
|
|
3436
3744
|
preferences?: Json | null;
|
|
3745
|
+
served_by_staff_id?: string | null;
|
|
3437
3746
|
shop_id: string;
|
|
3438
3747
|
updated_at?: string;
|
|
3439
3748
|
user_id: string;
|
|
3749
|
+
voucher_id?: string | null;
|
|
3440
3750
|
};
|
|
3441
3751
|
Update: {
|
|
3442
3752
|
created_at?: string;
|
|
3753
|
+
discount_amount?: number | null;
|
|
3443
3754
|
id?: string;
|
|
3755
|
+
items?: Json | null;
|
|
3444
3756
|
last_order_at?: string | null;
|
|
3445
|
-
|
|
3757
|
+
loyalty_reward_action_id?: string | null;
|
|
3758
|
+
order_date?: string | null;
|
|
3759
|
+
order_type?: string | null;
|
|
3446
3760
|
preferences?: Json | null;
|
|
3761
|
+
served_by_staff_id?: string | null;
|
|
3447
3762
|
shop_id?: string;
|
|
3448
3763
|
updated_at?: string;
|
|
3449
3764
|
user_id?: string;
|
|
3765
|
+
voucher_id?: string | null;
|
|
3450
3766
|
};
|
|
3451
3767
|
Relationships: [
|
|
3452
3768
|
{
|
|
@@ -3490,25 +3806,31 @@ export type Database = {
|
|
|
3490
3806
|
Row: {
|
|
3491
3807
|
earned_at: string;
|
|
3492
3808
|
id: string;
|
|
3809
|
+
metadata: Json | null;
|
|
3493
3810
|
source: string | null;
|
|
3494
3811
|
source_id: string | null;
|
|
3495
3812
|
sticker_id: string;
|
|
3813
|
+
unlocked_at: string | null;
|
|
3496
3814
|
user_id: string;
|
|
3497
3815
|
};
|
|
3498
3816
|
Insert: {
|
|
3499
3817
|
earned_at?: string;
|
|
3500
3818
|
id?: string;
|
|
3819
|
+
metadata?: Json | null;
|
|
3501
3820
|
source?: string | null;
|
|
3502
3821
|
source_id?: string | null;
|
|
3503
3822
|
sticker_id: string;
|
|
3823
|
+
unlocked_at?: string | null;
|
|
3504
3824
|
user_id: string;
|
|
3505
3825
|
};
|
|
3506
3826
|
Update: {
|
|
3507
3827
|
earned_at?: string;
|
|
3508
3828
|
id?: string;
|
|
3829
|
+
metadata?: Json | null;
|
|
3509
3830
|
source?: string | null;
|
|
3510
3831
|
source_id?: string | null;
|
|
3511
3832
|
sticker_id?: string;
|
|
3833
|
+
unlocked_at?: string | null;
|
|
3512
3834
|
user_id?: string;
|
|
3513
3835
|
};
|
|
3514
3836
|
Relationships: [
|
|
@@ -3592,6 +3914,7 @@ export type Database = {
|
|
|
3592
3914
|
early_adopter: boolean | null;
|
|
3593
3915
|
email: string | null;
|
|
3594
3916
|
email_verified: boolean | null;
|
|
3917
|
+
featured_sticker_ids: string[] | null;
|
|
3595
3918
|
home_city: string | null;
|
|
3596
3919
|
home_country: string | null;
|
|
3597
3920
|
id: string;
|
|
@@ -3602,6 +3925,7 @@ export type Database = {
|
|
|
3602
3925
|
points: number | null;
|
|
3603
3926
|
profile_image: string | null;
|
|
3604
3927
|
provider_data: Json | null;
|
|
3928
|
+
refresh_token: string | null;
|
|
3605
3929
|
shop_roles: Json | null;
|
|
3606
3930
|
status: string | null;
|
|
3607
3931
|
unread_notification_count: number | null;
|
|
@@ -3617,6 +3941,7 @@ export type Database = {
|
|
|
3617
3941
|
early_adopter?: boolean | null;
|
|
3618
3942
|
email?: string | null;
|
|
3619
3943
|
email_verified?: boolean | null;
|
|
3944
|
+
featured_sticker_ids?: string[] | null;
|
|
3620
3945
|
home_city?: string | null;
|
|
3621
3946
|
home_country?: string | null;
|
|
3622
3947
|
id: string;
|
|
@@ -3627,6 +3952,7 @@ export type Database = {
|
|
|
3627
3952
|
points?: number | null;
|
|
3628
3953
|
profile_image?: string | null;
|
|
3629
3954
|
provider_data?: Json | null;
|
|
3955
|
+
refresh_token?: string | null;
|
|
3630
3956
|
shop_roles?: Json | null;
|
|
3631
3957
|
status?: string | null;
|
|
3632
3958
|
unread_notification_count?: number | null;
|
|
@@ -3642,6 +3968,7 @@ export type Database = {
|
|
|
3642
3968
|
early_adopter?: boolean | null;
|
|
3643
3969
|
email?: string | null;
|
|
3644
3970
|
email_verified?: boolean | null;
|
|
3971
|
+
featured_sticker_ids?: string[] | null;
|
|
3645
3972
|
home_city?: string | null;
|
|
3646
3973
|
home_country?: string | null;
|
|
3647
3974
|
id?: string;
|
|
@@ -3652,6 +3979,7 @@ export type Database = {
|
|
|
3652
3979
|
points?: number | null;
|
|
3653
3980
|
profile_image?: string | null;
|
|
3654
3981
|
provider_data?: Json | null;
|
|
3982
|
+
refresh_token?: string | null;
|
|
3655
3983
|
shop_roles?: Json | null;
|
|
3656
3984
|
status?: string | null;
|
|
3657
3985
|
unread_notification_count?: number | null;
|
package/dist/supabase.js
CHANGED
|
@@ -1,18 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Supabase Database Types
|
|
4
|
-
*
|
|
5
|
-
* Auto-generated from Supabase schema using `mcp__supabase__generate_typescript_types`
|
|
6
|
-
* Generated: 2026-01-18
|
|
7
|
-
* Project: FIKA - Dev (oteybpkhtggfxoqlcast)
|
|
8
|
-
*
|
|
9
|
-
* Usage:
|
|
10
|
-
* import { Database } from '@fika/schema/supabase';
|
|
11
|
-
* import { createClient } from '@supabase/supabase-js';
|
|
12
|
-
* const supabase = createClient<Database>(url, key);
|
|
13
|
-
*
|
|
14
|
-
* To regenerate: Run the Supabase MCP generate_typescript_types tool
|
|
15
|
-
*/
|
|
16
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
3
|
exports.Constants = void 0;
|
|
18
4
|
exports.Constants = {
|