@simonarcher/fika-types 1.0.67 → 1.0.69

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/coffee.d.ts CHANGED
@@ -182,3 +182,25 @@ export declare const COFFEE_PRODUCING_COUNTRIES: string[];
182
182
  export declare const COUNTRY_NAME_TO_CODE: Record<string, string>;
183
183
  export declare const COUNTRY_CODE_TO_NAME: Record<string, string>;
184
184
  export type BrewMethod = "Espresso" | "Filter" | "Pour Over" | "Aeropress" | "French Press" | "Cold Brew" | "Moka Pot" | "Siphon" | "Other";
185
+ export declare const BREW_METHOD_GROUPS: readonly [{
186
+ readonly id: "espresso";
187
+ readonly label: "Espresso Bar";
188
+ readonly methods: readonly ["Espresso"];
189
+ }, {
190
+ readonly id: "pour-over";
191
+ readonly label: "Pour-Over";
192
+ readonly methods: readonly ["V60", "Kalita", "Chemex", "Clever"];
193
+ }, {
194
+ readonly id: "immersion";
195
+ readonly label: "Immersion";
196
+ readonly methods: readonly ["Aeropress", "French Press", "Siphon"];
197
+ }, {
198
+ readonly id: "cold";
199
+ readonly label: "Cold Brew & Iced";
200
+ readonly methods: readonly ["Cold Brew", "Kyoto", "Flash Brew", "Nitro"];
201
+ }, {
202
+ readonly id: "other";
203
+ readonly label: "Other Methods";
204
+ readonly methods: readonly ["Moka Pot", "Turkish", "Batch Brew", "Capsule"];
205
+ }];
206
+ export type BrewMethodGroups = typeof BREW_METHOD_GROUPS;
package/dist/coffee.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.COUNTRY_CODE_TO_NAME = exports.COUNTRY_NAME_TO_CODE = exports.COFFEE_PRODUCING_COUNTRIES = exports.DECAF_METHODS = void 0;
3
+ exports.BREW_METHOD_GROUPS = exports.COUNTRY_CODE_TO_NAME = exports.COUNTRY_NAME_TO_CODE = exports.COFFEE_PRODUCING_COUNTRIES = exports.DECAF_METHODS = void 0;
4
4
  exports.DECAF_METHODS = [
5
5
  "Swiss Water",
6
6
  "Sugarcane / Ethyl Acetate",
@@ -73,3 +73,30 @@ exports.COUNTRY_CODE_TO_NAME = {
73
73
  YE: "Yemen",
74
74
  ZZ: "Other",
75
75
  };
76
+ exports.BREW_METHOD_GROUPS = [
77
+ {
78
+ id: 'espresso',
79
+ label: 'Espresso Bar',
80
+ methods: ['Espresso'],
81
+ },
82
+ {
83
+ id: 'pour-over',
84
+ label: 'Pour-Over',
85
+ methods: ['V60', 'Kalita', 'Chemex', 'Clever'],
86
+ },
87
+ {
88
+ id: 'immersion',
89
+ label: 'Immersion',
90
+ methods: ['Aeropress', 'French Press', 'Siphon'],
91
+ },
92
+ {
93
+ id: 'cold',
94
+ label: 'Cold Brew & Iced',
95
+ methods: ['Cold Brew', 'Kyoto', 'Flash Brew', 'Nitro'],
96
+ },
97
+ {
98
+ id: 'other',
99
+ label: 'Other Methods',
100
+ methods: ['Moka Pot', 'Turkish', 'Batch Brew', 'Capsule'],
101
+ },
102
+ ];
package/dist/shop.d.ts CHANGED
@@ -433,8 +433,14 @@ export interface PublicShopData extends Omit<ShopData, 'analytics' | 'googleRati
433
433
  general?: string[];
434
434
  menu?: string[];
435
435
  };
436
+ brewMethods?: CoffeeBrewingMethodKey[];
437
+ unverifiedBrewMethods?: CoffeeBrewingMethodKey[];
436
438
  spotifyPlaylistId?: string;
437
439
  address?: string;
440
+ fans?: {
441
+ fans: string[];
442
+ total: number;
443
+ };
438
444
  }
439
445
  export type SpecialtyOverride = {
440
446
  score: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simonarcher/fika-types",
3
- "version": "1.0.67",
3
+ "version": "1.0.69",
4
4
  "description": "Shared TypeScript types for Fika projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",