@qrush/types 2.0.1 → 2.0.3

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.
@@ -66,6 +66,8 @@ export interface PromotionRedemption {
66
66
  }
67
67
  export interface PromotionInstancePermission {
68
68
  userId: string;
69
+ userName: string;
70
+ userEmail: string;
69
71
  isOwner: boolean;
70
72
  canUse: boolean;
71
73
  canModify: boolean;
@@ -78,6 +80,8 @@ export interface PromotionInstancePermission {
78
80
  export interface LocationPermission {
79
81
  userId: string;
80
82
  locationId: string;
83
+ userName: string;
84
+ userEmail: string;
81
85
  isOwner: boolean;
82
86
  role?: "owner" | "manager" | "promoter" | "staff";
83
87
  canCreateEvents: boolean;
@@ -4,6 +4,8 @@ import { Timestamp } from "@firebase/firestore";
4
4
  export type IFireWebappUser = {
5
5
  email: string;
6
6
  name: string;
7
+ firstName?: string;
8
+ lastName?: string;
7
9
  createdAt: Timestamp;
8
10
  locationIds: string[];
9
11
  role?: UserRole;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrush/types",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "Shared TypeScript types for the QRush ecosystem",
5
5
  "type": "module",
6
6
  "scripts": {