@simonarcher/fika-types 1.0.83 → 1.0.84

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.
Files changed (2) hide show
  1. package/dist/shop.d.ts +16 -0
  2. package/package.json +1 -1
package/dist/shop.d.ts CHANGED
@@ -207,6 +207,7 @@ export type ShopData = {
207
207
  events?: string[];
208
208
  sustainability?: Array<'direct trade' | 'traceable' | 'organic' | 'b-corp' | string>;
209
209
  baristaAchievements?: BaristaAchievement[];
210
+ awards?: ShopAward[];
210
211
  signals?: SpecialtySignals;
211
212
  specialty?: SpecialtyMeta;
212
213
  onboarding?: {
@@ -459,6 +460,7 @@ export interface PublicShopData extends Omit<ShopData, 'analytics' | 'googleRati
459
460
  fans: string[];
460
461
  total: number;
461
462
  };
463
+ awards?: ShopAward[];
462
464
  }
463
465
  export type SpecialtyOverride = {
464
466
  score: number;
@@ -504,6 +506,20 @@ export type BaristaAchievement = {
504
506
  year?: number;
505
507
  notes?: string;
506
508
  };
509
+ export type ShopAwardType = 'shop' | 'barista';
510
+ export type AwardCategory = 'Competition Win' | 'Certification' | 'Shop Award' | 'Recognition' | 'Other';
511
+ export interface ShopAward {
512
+ id: string;
513
+ type: ShopAwardType;
514
+ awardType: AwardCategory;
515
+ title: string;
516
+ year?: number;
517
+ notes?: string;
518
+ imageUrl?: string;
519
+ issuedBy?: string;
520
+ createdAt?: number;
521
+ updatedAt?: number;
522
+ }
507
523
  /**
508
524
  * Denormalized version used when displaying or exporting reviews.
509
525
  * Mirrors PostShopReviewData but includes IDs, timestamps, and optional ISO string.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simonarcher/fika-types",
3
- "version": "1.0.83",
3
+ "version": "1.0.84",
4
4
  "description": "Shared TypeScript types for Fika projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",