@simonarcher/fika-types 1.1.1 → 1.1.3
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 +114 -0
- package/package.json +1 -1
package/dist/supabase.d.ts
CHANGED
|
@@ -2359,6 +2359,54 @@ export type Database = {
|
|
|
2359
2359
|
}
|
|
2360
2360
|
];
|
|
2361
2361
|
};
|
|
2362
|
+
shop_daily_visitor_stats: {
|
|
2363
|
+
Row: {
|
|
2364
|
+
created_at: string | null;
|
|
2365
|
+
date: string;
|
|
2366
|
+
id: string;
|
|
2367
|
+
shop_id: string;
|
|
2368
|
+
total_check_ins: number | null;
|
|
2369
|
+
unique_visitors: number | null;
|
|
2370
|
+
updated_at: string | null;
|
|
2371
|
+
user_check_ins: Json | null;
|
|
2372
|
+
};
|
|
2373
|
+
Insert: {
|
|
2374
|
+
created_at?: string | null;
|
|
2375
|
+
date: string;
|
|
2376
|
+
id?: string;
|
|
2377
|
+
shop_id: string;
|
|
2378
|
+
total_check_ins?: number | null;
|
|
2379
|
+
unique_visitors?: number | null;
|
|
2380
|
+
updated_at?: string | null;
|
|
2381
|
+
user_check_ins?: Json | null;
|
|
2382
|
+
};
|
|
2383
|
+
Update: {
|
|
2384
|
+
created_at?: string | null;
|
|
2385
|
+
date?: string;
|
|
2386
|
+
id?: string;
|
|
2387
|
+
shop_id?: string;
|
|
2388
|
+
total_check_ins?: number | null;
|
|
2389
|
+
unique_visitors?: number | null;
|
|
2390
|
+
updated_at?: string | null;
|
|
2391
|
+
user_check_ins?: Json | null;
|
|
2392
|
+
};
|
|
2393
|
+
Relationships: [
|
|
2394
|
+
{
|
|
2395
|
+
foreignKeyName: "shop_daily_visitor_stats_shop_id_fkey";
|
|
2396
|
+
columns: ["shop_id"];
|
|
2397
|
+
isOneToOne: false;
|
|
2398
|
+
referencedRelation: "shop_stats";
|
|
2399
|
+
referencedColumns: ["id"];
|
|
2400
|
+
},
|
|
2401
|
+
{
|
|
2402
|
+
foreignKeyName: "shop_daily_visitor_stats_shop_id_fkey";
|
|
2403
|
+
columns: ["shop_id"];
|
|
2404
|
+
isOneToOne: false;
|
|
2405
|
+
referencedRelation: "shops";
|
|
2406
|
+
referencedColumns: ["id"];
|
|
2407
|
+
}
|
|
2408
|
+
];
|
|
2409
|
+
};
|
|
2362
2410
|
shop_favourites: {
|
|
2363
2411
|
Row: {
|
|
2364
2412
|
created_at: string | null;
|
|
@@ -2584,6 +2632,66 @@ export type Database = {
|
|
|
2584
2632
|
}
|
|
2585
2633
|
];
|
|
2586
2634
|
};
|
|
2635
|
+
shop_visitors: {
|
|
2636
|
+
Row: {
|
|
2637
|
+
first_check_in: string | null;
|
|
2638
|
+
last_check_in: string | null;
|
|
2639
|
+
shop_id: string;
|
|
2640
|
+
total_check_ins: number | null;
|
|
2641
|
+
user_id: string;
|
|
2642
|
+
};
|
|
2643
|
+
Insert: {
|
|
2644
|
+
first_check_in?: string | null;
|
|
2645
|
+
last_check_in?: string | null;
|
|
2646
|
+
shop_id: string;
|
|
2647
|
+
total_check_ins?: number | null;
|
|
2648
|
+
user_id: string;
|
|
2649
|
+
};
|
|
2650
|
+
Update: {
|
|
2651
|
+
first_check_in?: string | null;
|
|
2652
|
+
last_check_in?: string | null;
|
|
2653
|
+
shop_id?: string;
|
|
2654
|
+
total_check_ins?: number | null;
|
|
2655
|
+
user_id?: string;
|
|
2656
|
+
};
|
|
2657
|
+
Relationships: [
|
|
2658
|
+
{
|
|
2659
|
+
foreignKeyName: "shop_visitors_shop_id_fkey";
|
|
2660
|
+
columns: ["shop_id"];
|
|
2661
|
+
isOneToOne: false;
|
|
2662
|
+
referencedRelation: "shop_stats";
|
|
2663
|
+
referencedColumns: ["id"];
|
|
2664
|
+
},
|
|
2665
|
+
{
|
|
2666
|
+
foreignKeyName: "shop_visitors_shop_id_fkey";
|
|
2667
|
+
columns: ["shop_id"];
|
|
2668
|
+
isOneToOne: false;
|
|
2669
|
+
referencedRelation: "shops";
|
|
2670
|
+
referencedColumns: ["id"];
|
|
2671
|
+
},
|
|
2672
|
+
{
|
|
2673
|
+
foreignKeyName: "shop_visitors_user_id_fkey";
|
|
2674
|
+
columns: ["user_id"];
|
|
2675
|
+
isOneToOne: false;
|
|
2676
|
+
referencedRelation: "leaderboard";
|
|
2677
|
+
referencedColumns: ["id"];
|
|
2678
|
+
},
|
|
2679
|
+
{
|
|
2680
|
+
foreignKeyName: "shop_visitors_user_id_fkey";
|
|
2681
|
+
columns: ["user_id"];
|
|
2682
|
+
isOneToOne: false;
|
|
2683
|
+
referencedRelation: "user_activity_summary";
|
|
2684
|
+
referencedColumns: ["id"];
|
|
2685
|
+
},
|
|
2686
|
+
{
|
|
2687
|
+
foreignKeyName: "shop_visitors_user_id_fkey";
|
|
2688
|
+
columns: ["user_id"];
|
|
2689
|
+
isOneToOne: false;
|
|
2690
|
+
referencedRelation: "users";
|
|
2691
|
+
referencedColumns: ["id"];
|
|
2692
|
+
}
|
|
2693
|
+
];
|
|
2694
|
+
};
|
|
2587
2695
|
shops: {
|
|
2588
2696
|
Row: {
|
|
2589
2697
|
active: boolean | null;
|
|
@@ -2594,6 +2702,7 @@ export type Database = {
|
|
|
2594
2702
|
brew_methods: string[] | null;
|
|
2595
2703
|
city: string | null;
|
|
2596
2704
|
coffee_brewing_methods: Json | null;
|
|
2705
|
+
community_stats: Json | null;
|
|
2597
2706
|
contact_details: Json | null;
|
|
2598
2707
|
country_code: string | null;
|
|
2599
2708
|
cover_image: string | null;
|
|
@@ -2633,6 +2742,7 @@ export type Database = {
|
|
|
2633
2742
|
brew_methods?: string[] | null;
|
|
2634
2743
|
city?: string | null;
|
|
2635
2744
|
coffee_brewing_methods?: Json | null;
|
|
2745
|
+
community_stats?: Json | null;
|
|
2636
2746
|
contact_details?: Json | null;
|
|
2637
2747
|
country_code?: string | null;
|
|
2638
2748
|
cover_image?: string | null;
|
|
@@ -2672,6 +2782,7 @@ export type Database = {
|
|
|
2672
2782
|
brew_methods?: string[] | null;
|
|
2673
2783
|
city?: string | null;
|
|
2674
2784
|
coffee_brewing_methods?: Json | null;
|
|
2785
|
+
community_stats?: Json | null;
|
|
2675
2786
|
contact_details?: Json | null;
|
|
2676
2787
|
country_code?: string | null;
|
|
2677
2788
|
cover_image?: string | null;
|
|
@@ -3925,6 +4036,7 @@ export type Database = {
|
|
|
3925
4036
|
points: number | null;
|
|
3926
4037
|
profile_image: string | null;
|
|
3927
4038
|
provider_data: Json | null;
|
|
4039
|
+
refresh_token: string | null;
|
|
3928
4040
|
shop_roles: Json | null;
|
|
3929
4041
|
status: string | null;
|
|
3930
4042
|
unread_notification_count: number | null;
|
|
@@ -3951,6 +4063,7 @@ export type Database = {
|
|
|
3951
4063
|
points?: number | null;
|
|
3952
4064
|
profile_image?: string | null;
|
|
3953
4065
|
provider_data?: Json | null;
|
|
4066
|
+
refresh_token?: string | null;
|
|
3954
4067
|
shop_roles?: Json | null;
|
|
3955
4068
|
status?: string | null;
|
|
3956
4069
|
unread_notification_count?: number | null;
|
|
@@ -3977,6 +4090,7 @@ export type Database = {
|
|
|
3977
4090
|
points?: number | null;
|
|
3978
4091
|
profile_image?: string | null;
|
|
3979
4092
|
provider_data?: Json | null;
|
|
4093
|
+
refresh_token?: string | null;
|
|
3980
4094
|
shop_roles?: Json | null;
|
|
3981
4095
|
status?: string | null;
|
|
3982
4096
|
unread_notification_count?: number | null;
|