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.
package/dist/types/event.d.ts
CHANGED
package/dist/types/user.d.ts
CHANGED
|
@@ -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