@simonarcher/fika-types 1.0.60 → 1.0.62
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 +15 -0
- package/package.json +1 -1
package/dist/shop.d.ts
CHANGED
|
@@ -189,6 +189,7 @@ export type ShopData = {
|
|
|
189
189
|
placeId?: string;
|
|
190
190
|
communityStats?: ShopCommunityStats;
|
|
191
191
|
spotifyPlaylistId?: string;
|
|
192
|
+
paymentOptions?: ShopPaymentOptions;
|
|
192
193
|
};
|
|
193
194
|
export interface ShopCommunityStats {
|
|
194
195
|
totalCheckIns: number;
|
|
@@ -287,6 +288,7 @@ export interface DayOpeningHours {
|
|
|
287
288
|
export interface FullShopData extends ShopData {
|
|
288
289
|
staff: StaffMember[];
|
|
289
290
|
roastingAndBeansInfo?: RoastingAndBeansInfo;
|
|
291
|
+
paymentOptions?: ShopPaymentOptions;
|
|
290
292
|
}
|
|
291
293
|
export interface RoastingAndBeansInfo {
|
|
292
294
|
roasters?: string[];
|
|
@@ -432,4 +434,17 @@ export interface RoastingAndBeansInfo {
|
|
|
432
434
|
directTrade?: boolean;
|
|
433
435
|
seasonal?: boolean;
|
|
434
436
|
}
|
|
437
|
+
export interface PublicShopData extends Omit<ShopData, 'analytics' | 'googleRating' | 'contactDetails' | 'placeId'> {
|
|
438
|
+
menu: MenuItem[];
|
|
439
|
+
staffMembers: StaffMember[];
|
|
440
|
+
communityStats: Omit<ShopCommunityStats, 'lastCheckIn'>;
|
|
441
|
+
contactDetails?: Omit<ShopContactDetails, 'contactNumber' | 'address' | 'email' | 'updatedAt'>;
|
|
442
|
+
regularOpeningHours: DayOpeningHours[];
|
|
443
|
+
images: {
|
|
444
|
+
cover?: string;
|
|
445
|
+
general?: string[];
|
|
446
|
+
menu?: string[];
|
|
447
|
+
};
|
|
448
|
+
spotifyPlaylistId?: string;
|
|
449
|
+
}
|
|
435
450
|
export {};
|