@simonarcher/fika-types 1.0.13 → 1.0.15

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,5 +1,5 @@
1
1
  import type { GeoPoint, Timestamp } from "firebase-admin/firestore";
2
- export interface RoasterData {
2
+ export interface Roaster {
3
3
  id: string;
4
4
  name: string;
5
5
  logoImage?: string;
@@ -33,7 +33,7 @@ export interface RoasterData {
33
33
  suppliedShops?: string[];
34
34
  geoPoint?: GeoPoint;
35
35
  }
36
- export interface SubmissionRoasterData {
36
+ export interface SubmissionRoaster {
37
37
  name: string;
38
38
  logoImage?: string;
39
39
  about?: string;
@@ -65,6 +65,7 @@ export interface LinkedFarm {
65
65
  logo?: string;
66
66
  }
67
67
  export type DecafMethod = "Swiss Water" | "Sugarcane / Ethyl Acetate" | "Carbon Dioxide (CO₂)" | "Methylene Chloride" | "Mountain Water" | "Unknown";
68
+ export declare const DECAF_METHODS: readonly ["Swiss Water", "Sugarcane / Ethyl Acetate", "Carbon Dioxide (CO₂)", "Methylene Chloride", "Mountain Water", "Unknown"];
68
69
  export type CoffeeProcessingMethod = "Washed (Wet)" | "Natural (Dry)" | "Honey" | "Anaerobic Fermentation" | "Carbonic Maceration" | "Wet-Hulled" | "Semi-Washed" | "Experimental / Other" | "Unknown";
69
70
  export type RoastLevel = 'Light' | 'Medium' | 'Dark' | 'Medium-Dark' | 'Medium-Light' | 'Espresso';
70
71
  export interface CoffeeBean {
package/dist/coffee.js CHANGED
@@ -1,6 +1,14 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.COFFEE_PRODUCING_COUNTRIES = void 0;
3
+ exports.COFFEE_PRODUCING_COUNTRIES = exports.DECAF_METHODS = void 0;
4
+ exports.DECAF_METHODS = [
5
+ "Swiss Water",
6
+ "Sugarcane / Ethyl Acetate",
7
+ "Carbon Dioxide (CO₂)",
8
+ "Methylene Chloride",
9
+ "Mountain Water",
10
+ "Unknown"
11
+ ];
4
12
  exports.COFFEE_PRODUCING_COUNTRIES = [
5
13
  "Bolivia",
6
14
  "Brazil",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simonarcher/fika-types",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "Shared TypeScript types for Fika projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",