@simonarcher/fika-types 1.0.84 → 1.0.85

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
@@ -1,6 +1,6 @@
1
1
  import type { GeoPoint, Timestamp } from "firebase-admin/firestore";
2
- /** How established a roaster is within specialty (used by shop scoring). */
3
- export type RoasterTier = 1 | 2 | 3;
2
+ /** How "established" a roaster is within specialty (used by shop scoring). */
3
+ export type RoasterTier = 1 | 2 | 3 | 4;
4
4
  export interface RoasterSpecialtyMeta {
5
5
  tier?: RoasterTier;
6
6
  verified?: boolean;
package/dist/shop.d.ts CHANGED
@@ -198,6 +198,7 @@ export type ShopData = {
198
198
  roasterRefs?: RoasterRef[];
199
199
  roasterRefsIds?: string[];
200
200
  houseRoasted?: boolean;
201
+ whiteLabelBeans?: boolean;
201
202
  brewMethods?: string[];
202
203
  menuKeywords?: string[];
203
204
  hasBrewBar?: boolean;
@@ -488,7 +489,7 @@ export type SpecialtySignals = {
488
489
  export type RoasterRef = {
489
490
  id: string;
490
491
  displayName?: string;
491
- tierHint?: 1 | 2 | 3;
492
+ tierHint?: 1 | 2 | 3 | 4;
492
493
  /**
493
494
  * Whether this roaster's beans are used in the grinder/coffee menu
494
495
  * @default true (for backward compatibility with existing associations)
@@ -499,6 +500,11 @@ export type RoasterRef = {
499
500
  * @default false (for backward compatibility with existing associations)
500
501
  */
501
502
  availableForPurchase?: boolean;
503
+ /**
504
+ * Whether this roaster is a white label supplier (provides branded beans to the shop)
505
+ * @default false (for backward compatibility with existing associations)
506
+ */
507
+ isWhiteLabelSupplier?: boolean;
502
508
  };
503
509
  export type CommunitySignal = 'cupping' | 'training' | 'education' | 'origin talk' | 'sustainability' | 'direct trade' | 'traceable';
504
510
  export type BaristaAchievement = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simonarcher/fika-types",
3
- "version": "1.0.84",
3
+ "version": "1.0.85",
4
4
  "description": "Shared TypeScript types for Fika projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",