@qrush/types 2.0.17 → 2.0.19

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.
@@ -90,8 +90,8 @@ export interface LocationPermission {
90
90
  locationId: string;
91
91
  userName: string;
92
92
  userEmail: string;
93
- isOwner?: boolean;
94
- role: "owner" | "manager" | "promoter" | "staff";
93
+ isOwner: boolean;
94
+ role: "admin" | "manager" | "promoter" | "staff";
95
95
  canCreateEvents: boolean;
96
96
  canManageStaff: boolean;
97
97
  canEditLocationDetails: boolean;
@@ -138,7 +138,6 @@ export interface BaseActivePromotion {
138
138
  dealTypeSnapshot?: PromotionDealType;
139
139
  resetMinutesSnapshot: number;
140
140
  timeSlots?: TimeSlot[];
141
- activeDays?: number[];
142
141
  maxRedemptions?: number;
143
142
  displayOrder?: number;
144
143
  }
@@ -148,6 +147,7 @@ export interface EventActivePromotion extends BaseActivePromotion {
148
147
  export interface LocationActivePromotion extends BaseActivePromotion {
149
148
  dailyRedemptionCount: number;
150
149
  lastRedemptionReset: Timestamp;
150
+ activeDays?: number[];
151
151
  }
152
152
  export interface PromotionTeaser {
153
153
  instanceId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrush/types",
3
- "version": "2.0.17",
3
+ "version": "2.0.19",
4
4
  "description": "Shared TypeScript types for the QRush ecosystem",
5
5
  "type": "module",
6
6
  "scripts": {