wedance-shared 1.0.249 → 1.0.251
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.
|
@@ -4,10 +4,6 @@ export type OrganizerName = "SOB Productions" | "Helsinki SBK" | "Avec Dance Clu
|
|
|
4
4
|
export type OrganizerData = {
|
|
5
5
|
id: string;
|
|
6
6
|
friendlyId: string;
|
|
7
|
-
/**
|
|
8
|
-
* ID from firebase firestore
|
|
9
|
-
*/
|
|
10
|
-
oldId?: string | null;
|
|
11
7
|
name: string;
|
|
12
8
|
email?: string;
|
|
13
9
|
website?: string;
|
|
@@ -83,7 +79,7 @@ export type OrganizerData = {
|
|
|
83
79
|
* Lightweight organizer projection with the public info needed
|
|
84
80
|
* when an organizer is attached to an event.
|
|
85
81
|
*/
|
|
86
|
-
export type OrganizerSummary = Pick<OrganizerData, "id" | "
|
|
82
|
+
export type OrganizerSummary = Pick<OrganizerData, "id" | "name" | "logoUrl" | "city">;
|
|
87
83
|
export type OrganizerCapabilities = {
|
|
88
84
|
ticketing: boolean;
|
|
89
85
|
promotions: boolean;
|
|
@@ -117,7 +113,6 @@ export type UserOrganizerRelation = {
|
|
|
117
113
|
logoUrl: string | null;
|
|
118
114
|
city: string;
|
|
119
115
|
country: string;
|
|
120
|
-
oldId?: string | null;
|
|
121
116
|
};
|
|
122
117
|
};
|
|
123
118
|
export type OrganizerApplicationStatus = "pending" | "approved" | "rejected";
|
package/dist/types/user.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export type User = {
|
|
|
25
25
|
fcmTokens?: string[];
|
|
26
26
|
fcmTokensOrg?: string[];
|
|
27
27
|
fcmTokensStudio?: string[];
|
|
28
|
+
pushPermissionWeDance?: "granted" | "denied" | "default";
|
|
28
29
|
notificationPreferences?: NotificationPreferences;
|
|
29
30
|
studioNotificationPreferences?: StudioNotificationPreferences;
|
|
30
31
|
appVersion?: string;
|
|
@@ -41,10 +42,6 @@ export type User = {
|
|
|
41
42
|
};
|
|
42
43
|
export type UserSummary = Pick<User, "id" | "displayName" | "profilePicture" | "email" | "firstName" | "lastName">;
|
|
43
44
|
export type NotificationPreferences = {
|
|
44
|
-
/**
|
|
45
|
-
* @deprecated Use eventUpdates, eventReminders, eventDiscussions instead
|
|
46
|
-
*/
|
|
47
|
-
all: boolean;
|
|
48
45
|
eventUpdates: boolean;
|
|
49
46
|
eventReminders: boolean;
|
|
50
47
|
eventDiscussions: boolean;
|
package/package.json
CHANGED