ttfm-socket 1.6.11 → 1.7.0

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,4 +1,4 @@
1
- import { Action, ParamsFrom, Connection } from "actionhero";
1
+ import { Action, Connection, ParamsFrom } from "actionhero";
2
2
  import { ActionName } from "../types/names";
3
3
  export declare class JoinRoomAction extends Action {
4
4
  name: ActionName.joinRoom;
@@ -59,15 +59,17 @@ export declare type MinimalCrateSongResDTO = {
59
59
  trackName: string;
60
60
  genre: string | null;
61
61
  duration: number;
62
+ description: string | null;
62
63
  isrc: string | null;
63
- musicProviders: MusicProvidersDTO;
64
64
  playbackToken: string | null;
65
- thumbnails: ThumbnailsDTO;
66
65
  songShortId?: string;
66
+ explicit: boolean;
67
+ musicProviders: MusicProvidersDTO;
68
+ thumbnails: ThumbnailsDTO;
69
+ isGenerated: boolean;
67
70
  crateSongUuid?: string;
68
71
  status?: MinimalCrateSongResDTO.status;
69
72
  position?: number;
70
- explicit: boolean;
71
73
  };
72
74
  export declare namespace MinimalCrateSongResDTO {
73
75
  enum status {
@@ -196,10 +198,13 @@ export declare type OtherUserProfileResDto = {
196
198
  instagram: string;
197
199
  twitter: string;
198
200
  snapchat: string;
199
- tiktok: string;
200
201
  discord: string;
201
- badges: Array<"VERIFIED" | "PLATINUM" | "DOUBLE_PLATINUM" | "JQBX" | "STAFF">;
202
+ tiktok: string;
203
+ youtube: string;
204
+ twitch: string;
205
+ badges: Array<"VERIFIED" | "PLATINUM" | "DOUBLE_PLATINUM" | "JQBX" | "STAFF" | "IDENTITY_VERIFIED">;
202
206
  priceForGig: number;
207
+ verifiedAt: string | null;
203
208
  };
204
209
  export type Consumable = {
205
210
  id: string;
@@ -1,5 +1,5 @@
1
1
  import { MinimalCrateSongResDTO, OtherUserProfileResDto, RoomDto, TokenRole, UserRoles } from "./services";
2
- export type GhostUserProfile = Pick<OtherUserProfileResDto, "color" | "uuid" | "avatarId" | "nickname">;
2
+ export type GhostUserProfile = Pick<OtherUserProfileResDto, "color" | "uuid" | "avatarId" | "nickname" | "verifiedAt">;
3
3
  export type ServerDj = {
4
4
  userUuid: string;
5
5
  /** The key where the song was saved in the Actionhero cache. */
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "ttfm-socket",
3
- "version": "1.6.11",
3
+ "version": "1.7.0",
4
4
  "main": "./dist-client/client/index.js",
5
5
  "typings": "./dist-client/client/index.d.ts",
6
6
  "devDependencies": {
7
7
  "@faker-js/faker": "^9.7.0",
8
- "@ttfm-labs/nestjs-backend": "^2.3.10",
8
+ "@ttfm-labs/nestjs-backend": "^2.4.2",
9
9
  "@types/amqplib": "^0.10.7",
10
10
  "@types/glob": "^8.1.0",
11
11
  "@types/jest": "^29.5.3",