wedance-shared 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.
package/dist/festivals/user.d.ts
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
+
import { Timestamp } from "@react-native-firebase/firestore";
|
|
1
2
|
import { Role } from "../user";
|
|
2
3
|
export type FestivalUser = {
|
|
3
4
|
id: string;
|
|
4
5
|
email: string;
|
|
5
6
|
displayName: string;
|
|
6
|
-
createdAt: string;
|
|
7
7
|
profilePicture?: string;
|
|
8
|
-
|
|
9
|
-
lastConnected?: string;
|
|
10
|
-
savedEvents: string[];
|
|
11
|
-
goingEvents: string[];
|
|
8
|
+
favoriteFestivals: string[];
|
|
12
9
|
role: Role;
|
|
10
|
+
basedIn?: string;
|
|
11
|
+
createdAt: Timestamp;
|
|
12
|
+
lastUpdated: Timestamp;
|
|
13
|
+
lastConnected: Timestamp;
|
|
13
14
|
fcmTokens?: string[];
|
|
14
|
-
appVersion
|
|
15
|
-
deviceModel
|
|
16
|
-
platform
|
|
15
|
+
appVersion: string;
|
|
16
|
+
deviceModel: string;
|
|
17
|
+
platform: string;
|
|
17
18
|
emailVerified: boolean;
|
|
18
19
|
stripeId?: string;
|
|
19
20
|
};
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ export type FestivalData = {
|
|
|
17
17
|
genre?: FestivalGenre[]; // ["salsa", "bachata"]
|
|
18
18
|
tags?: string[]; // Helps with filtering (e.g., ["music", "art", "food"])
|
|
19
19
|
|
|
20
|
-
imageData: FestivalImageData;
|
|
20
|
+
imageData: FestivalImageData[];
|
|
21
21
|
|
|
22
22
|
countryCode: string; // ISO 3166-1 Alpha-2 (e.g., "SE", "FI", "EE")
|
|
23
23
|
region: Region[]; // e.g., ["Nordics"], ["Baltics"], ["Europe"]
|
package/src/festivals/user.ts
CHANGED
|
@@ -1,20 +1,25 @@
|
|
|
1
|
+
import { Timestamp } from "@react-native-firebase/firestore";
|
|
1
2
|
import { Role } from "../user";
|
|
2
3
|
|
|
3
4
|
export type FestivalUser = {
|
|
4
5
|
id: string;
|
|
5
6
|
email: string;
|
|
6
7
|
displayName: string;
|
|
7
|
-
createdAt: string;
|
|
8
8
|
profilePicture?: string;
|
|
9
|
-
|
|
10
|
-
lastConnected?: string;
|
|
11
|
-
savedEvents: string[];
|
|
12
|
-
goingEvents: string[];
|
|
9
|
+
favoriteFestivals: string[];
|
|
13
10
|
role: Role;
|
|
11
|
+
|
|
12
|
+
// User can set a city, a country or whatever they want to be called
|
|
13
|
+
basedIn?: string;
|
|
14
|
+
|
|
15
|
+
createdAt: Timestamp;
|
|
16
|
+
lastUpdated: Timestamp;
|
|
17
|
+
lastConnected: Timestamp;
|
|
18
|
+
|
|
14
19
|
fcmTokens?: string[];
|
|
15
|
-
appVersion
|
|
16
|
-
deviceModel
|
|
17
|
-
platform
|
|
20
|
+
appVersion: string;
|
|
21
|
+
deviceModel: string;
|
|
22
|
+
platform: string;
|
|
18
23
|
emailVerified: boolean;
|
|
19
24
|
stripeId?: string;
|
|
20
25
|
};
|