wedance-shared 1.0.125 → 1.0.127

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.
@@ -72,6 +72,7 @@ export type EventData = {
72
72
  eventType: EventType;
73
73
  eventTickets?: EventTicket[] | null;
74
74
  lineup?: LineUpArtist[] | null;
75
+ hasEventTickets: boolean;
75
76
  };
76
77
  /**
77
78
  * Workshop: Only workshop
@@ -41,7 +41,13 @@ export type User = {
41
41
  followingOrganisers?: OrganizerName[];
42
42
  };
43
43
  export type NotificationPreferences = {
44
+ /**
45
+ * @deprecated Use eventUpdates, eventReminders, eventDiscussions instead
46
+ */
44
47
  all: boolean;
48
+ eventUpdates: boolean;
49
+ eventReminders: boolean;
50
+ eventDiscussions: boolean;
45
51
  };
46
52
  /**
47
53
  * This is used to show who is going to the event
@@ -1,3 +1,4 @@
1
+ import { User } from "./user.js";
1
2
  export type PostType = "post" | "comment" | "reply";
2
3
  export interface WedancePost {
3
4
  id: string;
@@ -23,4 +24,5 @@ export interface WedanceActivity {
23
24
  type: WedanceActivityType;
24
25
  metadata: Record<string, unknown> | null;
25
26
  createdAt: string;
27
+ user?: Pick<User, "id" | "displayName" | "profilePicture">;
26
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.125",
3
+ "version": "1.0.127",
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",