@qrush/types 2.1.61 → 2.1.63

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/Artist.d.ts CHANGED
@@ -1,4 +1,10 @@
1
1
  import type { Timestamp } from "@firebase/firestore";
2
+ import type musicGenres from "./Genres.js";
3
+ /** Structured genre selection used by both artists and events */
4
+ export interface GenreSelection {
5
+ mainGenre: keyof typeof musicGenres;
6
+ subGenres: string[];
7
+ }
2
8
  /**
3
9
  * SEO links for schema.org structured data
4
10
  * Used for artist/performer pages to improve discoverability
@@ -22,8 +28,8 @@ export interface IFireArtist {
22
28
  description?: string;
23
29
  imageUrl?: string;
24
30
  galleryImageUrls?: string[];
25
- /** Free-form tags: genres, styles, vibes, etc. */
26
- tags?: string[];
31
+ /** Structured genre selections for the artist */
32
+ genres?: GenreSelection[];
27
33
  sameAs?: ArtistSameAs;
28
34
  /** true if created by promoter (name-only, no SEO links) */
29
35
  isFallback: boolean;
@@ -46,4 +52,5 @@ export interface EventArtist {
46
52
  youtubeSnapshot?: string;
47
53
  tiktokSnapshot?: string;
48
54
  isFallbackSnapshot: boolean;
55
+ genresSnapshot?: GenreSelection[];
49
56
  }
package/dist/Social.d.ts CHANGED
@@ -50,3 +50,15 @@ export interface ISocialUserEntry {
50
50
  /** Resolved occurrence date (YYYY-MM-DD) for weekly entries */
51
51
  occurrenceDate?: string;
52
52
  }
53
+ export type SocialAction = 'going' | 'interested';
54
+ export type SocialEntityType = 'event' | 'location' | 'weekly';
55
+ export interface IToggleSocialActionRequest {
56
+ action: SocialAction;
57
+ entityType: SocialEntityType;
58
+ entityId: string;
59
+ day?: string;
60
+ }
61
+ export interface IToggleSocialActionResponse {
62
+ success: boolean;
63
+ isActive: boolean;
64
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrush/types",
3
- "version": "2.1.61",
3
+ "version": "2.1.63",
4
4
  "description": "Shared TypeScript types for the QRush ecosystem",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -112,6 +112,42 @@
112
112
  "react-native": "./dist/Placements.js",
113
113
  "import": "./dist/Placements.js",
114
114
  "require": "./dist/Placements.js"
115
+ },
116
+ "./Conversation": {
117
+ "types": "./dist/Conversation.d.ts",
118
+ "react-native": "./dist/Conversation.js",
119
+ "import": "./dist/Conversation.js",
120
+ "require": "./dist/Conversation.js"
121
+ },
122
+ "./Social": {
123
+ "types": "./dist/Social.d.ts",
124
+ "react-native": "./dist/Social.js",
125
+ "import": "./dist/Social.js",
126
+ "require": "./dist/Social.js"
127
+ },
128
+ "./Report": {
129
+ "types": "./dist/Report.d.ts",
130
+ "react-native": "./dist/Report.js",
131
+ "import": "./dist/Report.js",
132
+ "require": "./dist/Report.js"
133
+ },
134
+ "./CSVImport": {
135
+ "types": "./dist/CSVImport.d.ts",
136
+ "react-native": "./dist/CSVImport.js",
137
+ "import": "./dist/CSVImport.js",
138
+ "require": "./dist/CSVImport.js"
139
+ },
140
+ "./TrackingStats": {
141
+ "types": "./dist/TrackingStats.d.ts",
142
+ "react-native": "./dist/TrackingStats.js",
143
+ "import": "./dist/TrackingStats.js",
144
+ "require": "./dist/TrackingStats.js"
145
+ },
146
+ "./RemoteConfig": {
147
+ "types": "./dist/RemoteConfig.d.ts",
148
+ "react-native": "./dist/RemoteConfig.js",
149
+ "import": "./dist/RemoteConfig.js",
150
+ "require": "./dist/RemoteConfig.js"
115
151
  }
116
152
  }
117
153
  }