@simonarcher/fika-types 1.0.18 → 1.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.
Files changed (2) hide show
  1. package/dist/shop.d.ts +14 -0
  2. package/package.json +1 -1
package/dist/shop.d.ts CHANGED
@@ -143,6 +143,20 @@ export interface ShopCommunityStats {
143
143
  visitCount: number;
144
144
  lastVisit: AdminTimestamp;
145
145
  };
146
+ topVisitor30Day?: {
147
+ userId: string;
148
+ userName: string;
149
+ checkIns30Day: number;
150
+ lastCalculated: AdminTimestamp;
151
+ };
152
+ }
153
+ export interface DailyVisitorStats {
154
+ date: string;
155
+ userCheckIns: Record<string, number>;
156
+ totalCheckIns: number;
157
+ uniqueVisitors: number;
158
+ createdAt: AdminTimestamp;
159
+ updatedAt: AdminTimestamp;
146
160
  }
147
161
  export interface ShopInfo {
148
162
  features: Partial<Record<ShopFeatureKey, boolean | null>> & Record<string, boolean | null>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simonarcher/fika-types",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Shared TypeScript types for Fika projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",