@borealise/api 2.0.0-alpha.14 → 2.0.0-alpha.16

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/index.d.mts CHANGED
@@ -142,6 +142,7 @@ interface PublicUser {
142
142
  level: number;
143
143
  subscriptionType?: string | null;
144
144
  subscriptionMonths?: number | null;
145
+ currentRoomSlug?: string | null;
145
146
  createdAt?: string;
146
147
  friendsCount: number;
147
148
  }
@@ -215,6 +216,22 @@ interface Room {
215
216
  population: number;
216
217
  totalPlays: number;
217
218
  isFeatured: boolean;
219
+ verified: boolean;
220
+ currentDJ?: {
221
+ id: number;
222
+ username: string;
223
+ displayName: string | null;
224
+ avatarId: string;
225
+ } | null;
226
+ currentMedia?: {
227
+ id: number;
228
+ source: 'youtube' | 'soundcloud';
229
+ sourceId: string;
230
+ title: string;
231
+ artist: string | null;
232
+ thumbnail: string | null;
233
+ duration: number;
234
+ } | null;
218
235
  createdAt: string;
219
236
  updatedAt: string;
220
237
  }
@@ -857,6 +874,7 @@ interface FriendEntry {
857
874
  displayName: string | null;
858
875
  avatarId: string;
859
876
  level: number;
877
+ currentRoomSlug?: string | null;
860
878
  status: 'pending' | 'accepted' | 'blocked';
861
879
  isSender: boolean;
862
880
  }
package/dist/index.d.ts CHANGED
@@ -142,6 +142,7 @@ interface PublicUser {
142
142
  level: number;
143
143
  subscriptionType?: string | null;
144
144
  subscriptionMonths?: number | null;
145
+ currentRoomSlug?: string | null;
145
146
  createdAt?: string;
146
147
  friendsCount: number;
147
148
  }
@@ -215,6 +216,22 @@ interface Room {
215
216
  population: number;
216
217
  totalPlays: number;
217
218
  isFeatured: boolean;
219
+ verified: boolean;
220
+ currentDJ?: {
221
+ id: number;
222
+ username: string;
223
+ displayName: string | null;
224
+ avatarId: string;
225
+ } | null;
226
+ currentMedia?: {
227
+ id: number;
228
+ source: 'youtube' | 'soundcloud';
229
+ sourceId: string;
230
+ title: string;
231
+ artist: string | null;
232
+ thumbnail: string | null;
233
+ duration: number;
234
+ } | null;
218
235
  createdAt: string;
219
236
  updatedAt: string;
220
237
  }
@@ -857,6 +874,7 @@ interface FriendEntry {
857
874
  displayName: string | null;
858
875
  avatarId: string;
859
876
  level: number;
877
+ currentRoomSlug?: string | null;
860
878
  status: 'pending' | 'accepted' | 'blocked';
861
879
  isSender: boolean;
862
880
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@borealise/api",
3
- "version": "2.0.0-alpha.14",
3
+ "version": "2.0.0-alpha.16",
4
4
  "description": "Official API client for Borealise",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",