wedance-shared 1.0.231 → 1.0.233

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,6 +1,7 @@
1
1
  import { City } from "./city.js";
2
2
  import { DanceTag } from "./event.js";
3
3
  import { LanguageCode } from "./other.js";
4
+ import { DancerRole } from "./school.js";
4
5
  export type Role = "admin" | "manager" | "organiser" | "user" | "checkin";
5
6
  export type User = {
6
7
  id: string;
@@ -18,11 +19,13 @@ export type User = {
18
19
  role: Role;
19
20
  city: City | null;
20
21
  favoriteDance?: DanceTag;
22
+ preferredDanceRole?: DancerRole | null;
21
23
  language: LanguageCode;
22
24
  fcmTokens?: string[];
23
25
  fcmTokensOrg?: string[];
24
26
  fcmTokensStudio?: string[];
25
27
  notificationPreferences?: NotificationPreferences;
28
+ studioNotificationPreferences?: StudioNotificationPreferences;
26
29
  appVersion?: string;
27
30
  deviceModel?: string;
28
31
  platform?: string;
@@ -50,6 +53,12 @@ export type NotificationPreferences = {
50
53
  organizerTicketingPushNotifications?: boolean | null;
51
54
  organizerTicketingEmailNotifications?: boolean | null;
52
55
  };
56
+ export type StudioNotificationPreferences = {
57
+ classReminders: boolean;
58
+ bookingUpdates: boolean;
59
+ passReminders: boolean;
60
+ studioAnnouncements: boolean;
61
+ };
53
62
  /**
54
63
  * This is used to show who is going to the event
55
64
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wedance-shared",
3
- "version": "1.0.231",
3
+ "version": "1.0.233",
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",