wedance-shared 1.0.49 → 1.0.51

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.
@@ -1,3 +1,4 @@
1
+ import { Timestamp } from "firebase/firestore";
1
2
  import { City } from "./city.js";
2
3
  export type OrganizerName = "SOB Productions" | "Helsinki SBK" | "Avec Dance Club" | "Still Dancing" | "Tanssikoulu SalsaLatina" | "Helsinki Salsa Academy" | "BabaGen" | "Bachata Studio" | "Tanssikoulu BailaBaila" | "Petra & Otso" | "Bachata Helsinki" | "Salsa Borealis" | "Helsinki Dance Central" | "Urbankiz Helsinki" | "S-Dance" | "Helsinki Kizomba Studio" | "idance Helsinki" | "Dance Social" | "Tinku Latin Flavours" | "Latin Garden Helsinki" | "Tampere Social Dancing" | "Azúcar" | "Kizomba Social Tampere" | "KizLab Tampere" | "Bachata & Kizomba Oulu" | "SALSA Klubi" | "Tanssikoulu Vamos" | "Feels Oulu" | "Bachata Sensual Lovers" | "Tanssikoulu Matleena" | "Merja Tanjunen" | "Fever Dance Oslo" | "Pure Dance Official" | "Dancecity" | "Bachata Monthly" | "Salsakompaniet" | "Bachata Studio Tallinn" | "Casa De Baile" | "Havana Moderna" | "Crazy Lion Events" | "Other";
3
4
  export type OrganizerData = {
@@ -32,3 +33,21 @@ export type OrganizerData = {
32
33
  eventsCount?: number;
33
34
  stripeAccountId?: string | null;
34
35
  };
36
+ export type UserOrganizerFollow = {
37
+ id: string;
38
+ userId: string;
39
+ organizerId: string;
40
+ createdAt: Timestamp;
41
+ };
42
+ export type UserGoingEvents = {
43
+ id: string;
44
+ userId: string;
45
+ eventId: string;
46
+ createdAt: Timestamp;
47
+ };
48
+ export type UserSavedEvents = {
49
+ id: string;
50
+ userId: string;
51
+ eventId: string;
52
+ createdAt: Timestamp;
53
+ };
@@ -7,6 +7,8 @@ export type User = {
7
7
  id: string;
8
8
  email: string;
9
9
  displayName: string;
10
+ firstName: string;
11
+ lastName: string;
10
12
  createdAt: string;
11
13
  lastUpdated?: string;
12
14
  lastConnected?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.49",
3
+ "version": "1.0.51",
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",