wedance-shared 1.0.244 → 1.0.245

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.
@@ -188,3 +188,17 @@ export type FeaturedEvent = {
188
188
  event?: EventSummary;
189
189
  organizer?: OrganizerSummary;
190
190
  };
191
+ /** Event-card presses over a promotion's date range, saved 3 days after it ends. */
192
+ export type FeaturedEventResults = {
193
+ /** Presses from the featured slot. */
194
+ featuredViews: number;
195
+ featuredUsers: number;
196
+ /** Presses from every entry point, featured included. */
197
+ totalViews: number;
198
+ totalUsers: number;
199
+ computedAt: string;
200
+ };
201
+ export type CompletedPromotion = FeaturedEvent & {
202
+ /** Null until the nightly job has saved the results. */
203
+ results: FeaturedEventResults | null;
204
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.244",
3
+ "version": "1.0.245",
4
4
  "description": "This repository contains shared TypeScript types and interfaces used across multiple WeDance applications:",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",