wedance-shared 1.0.173 → 1.0.175
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/types/analytics.d.ts +18 -0
- package/dist/types/event.d.ts +2 -1
- package/dist/types/event.js +12 -1
- package/dist/types/event.js.map +1 -1
- package/package.json +1 -1
|
@@ -64,6 +64,24 @@ export interface AnalyticsDateRangeQuery {
|
|
|
64
64
|
startDate?: string;
|
|
65
65
|
endDate?: string;
|
|
66
66
|
}
|
|
67
|
+
export type AnalyticsDailyStatsQuery = AnalyticsDateRangeQuery;
|
|
68
|
+
/** One UTC day of platform counts. */
|
|
69
|
+
export interface AnalyticsDailyStatsPoint extends AnalyticsDailyStats {
|
|
70
|
+
/** `YYYY-MM-DD`. */
|
|
71
|
+
date: string;
|
|
72
|
+
}
|
|
73
|
+
export interface AnalyticsDailyStatsResponse {
|
|
74
|
+
startDate: string;
|
|
75
|
+
endDate: string;
|
|
76
|
+
/**
|
|
77
|
+
* Oldest snapshotted day, or null when nothing has been captured yet. Days in
|
|
78
|
+
* the requested range before it read as zeroes because no data was recorded,
|
|
79
|
+
* not because nobody connected.
|
|
80
|
+
*/
|
|
81
|
+
firstSnapshotDate: string | null;
|
|
82
|
+
/** Ascending, one entry per day in the range — missing days are zeroes. */
|
|
83
|
+
byDate: AnalyticsDailyStatsPoint[];
|
|
84
|
+
}
|
|
67
85
|
export interface TopEventViewsQuery extends AnalyticsDateRangeQuery {
|
|
68
86
|
/** Integer between 1 and 100. Defaults to 20. */
|
|
69
87
|
limit?: number;
|
package/dist/types/event.d.ts
CHANGED
|
@@ -3,7 +3,8 @@ import { City } from "./city.js";
|
|
|
3
3
|
import { EventTicket } from "./ticket.js";
|
|
4
4
|
import { UserBadge } from "./user.js";
|
|
5
5
|
import { OrganizerSummary } from "wedance-shared";
|
|
6
|
-
export
|
|
6
|
+
export declare const LIST_DANCE_TAGS: readonly ["salsa", "kizomba", "bachata", "zouk", "tango", "heels", "hiphop", "reggaeton", "latin_mix", "other"];
|
|
7
|
+
export type DanceTag = (typeof LIST_DANCE_TAGS)[number];
|
|
7
8
|
export type Links = {
|
|
8
9
|
paymentLink?: string;
|
|
9
10
|
instagram?: string;
|
package/dist/types/event.js
CHANGED
package/dist/types/event.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../src/types/event.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../src/types/event.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,OAAO;IACP,SAAS;IACT,SAAS;IACT,MAAM;IACN,OAAO;IACP,OAAO;IACP,QAAQ;IACR,WAAW;IACX,WAAW;IACX,OAAO;CACC,CAAC"}
|
package/package.json
CHANGED