@qrush/types 2.1.46 → 2.1.47

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/Events.d.ts CHANGED
@@ -31,6 +31,9 @@ export interface IFireEvent {
31
31
  goingUserIds?: string[] | undefined;
32
32
  guestCount: number;
33
33
  demoEvent: boolean;
34
+ /**
35
+ * @deprecated Use `status` field instead. Will be removed in future version.
36
+ */
34
37
  draftMode: boolean;
35
38
  status: "auto_draft" | "draft" | "published";
36
39
  /**
@@ -17,5 +17,11 @@ export type IFireWebappUser = {
17
17
  authProviders?: Array<"google" | "apple" | "password">;
18
18
  /** Count of location-less draft events created by unapproved users (max 3) */
19
19
  draftEventCount?: number;
20
+ /** User's phone number in international format (e.g., +49 176...) */
21
+ phoneNumber?: string;
22
+ /** Which location or event the user wants to promote with Qrush */
23
+ targetLocationOrEvent?: string;
24
+ /** Types of user (can select multiple): event organizer, artist, or location owner */
25
+ userTypes?: Array<'event_organizer' | 'artist' | 'location_owner'>;
20
26
  };
21
27
  export type FireWebappUserSnapshotRef = FireQueryDocSnapshotRef<IFireWebappUser>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrush/types",
3
- "version": "2.1.46",
3
+ "version": "2.1.47",
4
4
  "description": "Shared TypeScript types for the QRush ecosystem",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",