@simonarcher/fika-types 1.0.39 → 1.0.41

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 CHANGED
@@ -7,6 +7,7 @@ export type MenuItemType = MenuItemDrinkType | MenuItemFoodType;
7
7
  export type MenuItemCategory = "drink" | "food";
8
8
  export interface MenuItem {
9
9
  id: string;
10
+ productId?: string;
10
11
  name: string;
11
12
  description?: string;
12
13
  price: number;
@@ -20,6 +21,7 @@ export interface MenuItem {
20
21
  coffeeBeanIds?: string[];
21
22
  }
22
23
  export interface NewMenuItem {
24
+ productId?: string;
23
25
  name: string;
24
26
  description?: string;
25
27
  price: number;
package/dist/user.d.ts CHANGED
@@ -33,3 +33,16 @@ export interface User {
33
33
  };
34
34
  [key: string]: any;
35
35
  }
36
+ export interface PublicUser {
37
+ uid: string;
38
+ username: string;
39
+ displayName: string;
40
+ followingShops: string[];
41
+ points: number;
42
+ profileImage?: string;
43
+ homeCity?: string;
44
+ homeCountry?: string;
45
+ phoneNumber?: string;
46
+ createdAt: Date;
47
+ shopLists?: string[];
48
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simonarcher/fika-types",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "description": "Shared TypeScript types for Fika projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",