@simonarcher/fika-types 1.5.0 → 1.6.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/dist/shop.d.ts +4 -0
- package/dist/supabase-helpers.d.ts +0 -7
- package/dist/supabase.d.ts +782 -445
- package/package.json +1 -1
package/dist/shop.d.ts
CHANGED
|
@@ -298,6 +298,10 @@ export interface DailyVisitorStats {
|
|
|
298
298
|
updatedAt: AdminTimestamp;
|
|
299
299
|
}
|
|
300
300
|
export interface ShopInfo {
|
|
301
|
+
/** FIKA-curated public description. Mirrored to top-level `shop.about`. */
|
|
302
|
+
description?: string | null;
|
|
303
|
+
/** Owner-authored public note, edited through the owner portal. */
|
|
304
|
+
ownerDescription?: string | null;
|
|
301
305
|
features: Partial<Record<ShopFeatureKey, boolean | null>> & Record<string, boolean | null>;
|
|
302
306
|
wifiDetails?: {
|
|
303
307
|
name?: string;
|
|
@@ -24,13 +24,10 @@ export type DbRoasterFarm = Tables<"roaster_farms">;
|
|
|
24
24
|
export type DbFranchiseRoaster = Tables<"franchise_roasters">;
|
|
25
25
|
export type DbShopBean = Tables<"shop_beans">;
|
|
26
26
|
export type DbUserFollower = Tables<"user_followers">;
|
|
27
|
-
export type DbShopFollower = Tables<"shop_followers">;
|
|
28
27
|
export type DbShopFavourite = Tables<"shop_favourites">;
|
|
29
28
|
export type DbAction = Tables<"actions">;
|
|
30
29
|
export type DbPoints = Tables<"points">;
|
|
31
30
|
export type DbReward = Tables<"rewards">;
|
|
32
|
-
export type DbShot = Tables<"shots">;
|
|
33
|
-
export type DbShotLike = Tables<"shot_likes">;
|
|
34
31
|
export type DbReview = Tables<"reviews">;
|
|
35
32
|
export type DbVote = Tables<"votes">;
|
|
36
33
|
export type DbAssertion = Tables<"assertions">;
|
|
@@ -84,13 +81,10 @@ export type NewRoasterFarm = TablesInsert<"roaster_farms">;
|
|
|
84
81
|
export type NewFranchiseRoaster = TablesInsert<"franchise_roasters">;
|
|
85
82
|
export type NewShopBean = TablesInsert<"shop_beans">;
|
|
86
83
|
export type NewUserFollower = TablesInsert<"user_followers">;
|
|
87
|
-
export type NewShopFollower = TablesInsert<"shop_followers">;
|
|
88
84
|
export type NewShopFavourite = TablesInsert<"shop_favourites">;
|
|
89
85
|
export type NewAction = TablesInsert<"actions">;
|
|
90
86
|
export type NewPoints = TablesInsert<"points">;
|
|
91
87
|
export type NewReward = TablesInsert<"rewards">;
|
|
92
|
-
export type NewShot = TablesInsert<"shots">;
|
|
93
|
-
export type NewShotLike = TablesInsert<"shot_likes">;
|
|
94
88
|
export type NewReview = TablesInsert<"reviews">;
|
|
95
89
|
export type NewVote = TablesInsert<"votes">;
|
|
96
90
|
export type NewAssertion = TablesInsert<"assertions">;
|
|
@@ -139,7 +133,6 @@ export type CoffeeBeanUpdate = TablesUpdate<"coffee_beans">;
|
|
|
139
133
|
export type ActionUpdate = TablesUpdate<"actions">;
|
|
140
134
|
export type PointsUpdate = TablesUpdate<"points">;
|
|
141
135
|
export type RewardUpdate = TablesUpdate<"rewards">;
|
|
142
|
-
export type ShotUpdate = TablesUpdate<"shots">;
|
|
143
136
|
export type ReviewUpdate = TablesUpdate<"reviews">;
|
|
144
137
|
export type VoteUpdate = TablesUpdate<"votes">;
|
|
145
138
|
export type AssertionUpdate = TablesUpdate<"assertions">;
|