@simonarcher/fika-types 1.0.27 → 1.0.29
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 +19 -0
- package/package.json +1 -1
package/dist/shop.d.ts
CHANGED
|
@@ -114,6 +114,7 @@ export type ShopData = {
|
|
|
114
114
|
staffMembers?: StaffMember[];
|
|
115
115
|
roastingAndBeansInfo?: RoastingAndBeansInfo;
|
|
116
116
|
info?: ShopInfo;
|
|
117
|
+
specialties?: ShopSpecialties;
|
|
117
118
|
socials?: SocialMedia;
|
|
118
119
|
menu?: MenuItem[];
|
|
119
120
|
location?: {
|
|
@@ -131,6 +132,7 @@ export type ShopData = {
|
|
|
131
132
|
};
|
|
132
133
|
placeId?: string;
|
|
133
134
|
communityStats?: ShopCommunityStats;
|
|
135
|
+
spotifyPlaylistId?: string;
|
|
134
136
|
};
|
|
135
137
|
export interface ShopCommunityStats {
|
|
136
138
|
totalCheckIns: number;
|
|
@@ -189,6 +191,23 @@ export interface ShopContactDetails {
|
|
|
189
191
|
updatedAt?: Date;
|
|
190
192
|
}
|
|
191
193
|
export type ShopFeatureKey = 'powerOutlets' | 'laptopFriendly' | 'outdoorSeating' | 'indoorSeating' | 'accessibility' | 'alcohol' | 'breakfast' | 'lunch' | 'vegetarian' | 'petFriendly' | 'restrooms' | 'parking' | 'wifi' | 'acceptsCash' | 'acceptsCreditCards' | 'acceptsNfc' | 'discountOnReusableCup' | 'glutenFree' | 'loyaltyCard' | 'takeaway' | 'delivery';
|
|
194
|
+
export type ShopSpecialtyKey = 'pourOverSpecialty' | 'espressoExpert' | 'singleOriginFocus' | 'localRoaster' | 'brewingEducation' | 'cuppingEvents' | 'relaxingVibes' | 'bustlingEnergy' | 'quietStudySpace' | 'uniqueExperience' | 'instagramWorthy' | 'cozyAmbiance' | 'freshPastries' | 'homemadeTreats' | 'artisanBread' | 'localBakery' | 'healthyOptions' | 'dessertDestination' | 'lgbtqFriendly' | 'womenOwned' | 'familyOwned' | 'communityHub' | 'sociallyConscious' | 'localArtSupport' | 'liveMusic' | 'localArt' | 'bookExchange' | 'boardGames' | 'culturalEvents' | 'workshopSpace' | 'laptopFriendlyPro' | 'meetingSpaceAvailable' | 'quietZones' | 'fastWifi' | 'longStayWelcome' | 'coworkingVibes';
|
|
195
|
+
export type SpecialtyCategoryKey = 'Coffee Excellence' | 'Atmosphere' | 'Food & Treats' | 'Community & Values' | 'Entertainment' | 'Work & Study';
|
|
196
|
+
export interface ShopSpecialties {
|
|
197
|
+
highlighted: ShopSpecialtyKey[];
|
|
198
|
+
additional: ShopSpecialtyKey[];
|
|
199
|
+
customSpecialty?: string;
|
|
200
|
+
}
|
|
201
|
+
export interface SpecialtyConfig {
|
|
202
|
+
label: string;
|
|
203
|
+
description: string;
|
|
204
|
+
icon: string;
|
|
205
|
+
iconType: 'FontAwesome' | 'MaterialIcons' | 'Ionicons';
|
|
206
|
+
color: string;
|
|
207
|
+
category: SpecialtyCategoryKey;
|
|
208
|
+
translationKey?: string;
|
|
209
|
+
priority: 'high' | 'medium' | 'low';
|
|
210
|
+
}
|
|
192
211
|
interface OpeningTime {
|
|
193
212
|
day: number;
|
|
194
213
|
hour: number | null;
|