@simonarcher/fika-types 1.0.28 → 1.0.30
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 +18 -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?: {
|
|
@@ -190,6 +191,23 @@ export interface ShopContactDetails {
|
|
|
190
191
|
updatedAt?: Date;
|
|
191
192
|
}
|
|
192
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' | 'matchaSpecialty' | 'decafSpecialty' | '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
|
+
}
|
|
193
211
|
interface OpeningTime {
|
|
194
212
|
day: number;
|
|
195
213
|
hour: number | null;
|