@qrush/types 2.1.35 → 2.1.37
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/Events.d.ts +7 -3
- package/dist/TrackingStats.d.ts +12 -0
- package/dist/TrackingStats.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/Events.d.ts
CHANGED
|
@@ -12,8 +12,8 @@ export interface IFireEvent {
|
|
|
12
12
|
name: string;
|
|
13
13
|
nameSlug: string;
|
|
14
14
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
* @deprecated Use descriptionMarkdown instead
|
|
16
|
+
*/
|
|
17
17
|
description?: string;
|
|
18
18
|
descriptionMarkdown?: string | undefined;
|
|
19
19
|
primaryLang?: SupportedLanguage;
|
|
@@ -31,8 +31,12 @@ export interface IFireEvent {
|
|
|
31
31
|
guestCount: number;
|
|
32
32
|
demoEvent: boolean;
|
|
33
33
|
draftMode: boolean;
|
|
34
|
-
status:
|
|
34
|
+
status: "auto_draft" | "draft" | "published";
|
|
35
35
|
topPickEvent?: boolean | undefined;
|
|
36
|
+
topPickCreditsTotal?: number;
|
|
37
|
+
topPickStartsAt?: Timestamp;
|
|
38
|
+
topPickExpiresAt?: Timestamp;
|
|
39
|
+
topPickAdvertiserId?: string;
|
|
36
40
|
promotedBy?: "LFF" | "DFF" | undefined;
|
|
37
41
|
isPersonalEvent?: boolean | undefined;
|
|
38
42
|
tags: string[] | IFireMetaPossibleTags["tags"];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Timestamp } from './firebase.js';
|
|
2
|
+
export type TrackingEntityType = 'toppick' | 'event' | 'promotion' | 'location';
|
|
3
|
+
export type TrackingStatus = 'active' | 'paused' | 'expired';
|
|
4
|
+
export interface IFireTrackingStats {
|
|
5
|
+
entityType: TrackingEntityType;
|
|
6
|
+
entityId: string;
|
|
7
|
+
impressions: number;
|
|
8
|
+
clicks: number;
|
|
9
|
+
creditsRemaining?: number;
|
|
10
|
+
status: TrackingStatus;
|
|
11
|
+
lastSynced: Timestamp;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED