Skip to content

Commit

Permalink
Remove unused notification data fields from sdk (#11515)
Browse files Browse the repository at this point in the history
  • Loading branch information
schottra authored Mar 5, 2025
1 parent 12b263d commit 1ec2871
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .changeset/four-foxes-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@audius/sdk": patch
---

remove unused notification data fields
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ import { exists, mapValues } from '../runtime';
* @interface CreatePlaylistNotificationActionData
*/
export interface CreatePlaylistNotificationActionData {
/**
*
* @type {string}
* @memberof CreatePlaylistNotificationActionData
*/
playlistData?: string;
/**
*
* @type {boolean}
Expand Down Expand Up @@ -61,7 +55,6 @@ export function CreatePlaylistNotificationActionDataFromJSONTyped(json: any, ign
}
return {

'playlistData': !exists(json, 'playlist_data') ? undefined : json['playlist_data'],
'isAlbum': json['is_album'],
'playlistId': json['playlist_id'],
};
Expand All @@ -76,7 +69,6 @@ export function CreatePlaylistNotificationActionDataToJSON(value?: CreatePlaylis
}
return {

'playlist_data': value.playlistData,
'is_album': value.isAlbum,
'playlist_id': value.playlistId,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ import { exists, mapValues } from '../runtime';
* @interface CreateTrackNotificationActionData
*/
export interface CreateTrackNotificationActionData {
/**
*
* @type {string}
* @memberof CreateTrackNotificationActionData
*/
trackData?: string;
/**
*
* @type {string}
Expand Down Expand Up @@ -54,7 +48,6 @@ export function CreateTrackNotificationActionDataFromJSONTyped(json: any, ignore
}
return {

'trackData': !exists(json, 'track_data') ? undefined : json['track_data'],
'trackId': json['track_id'],
};
}
Expand All @@ -68,7 +61,6 @@ export function CreateTrackNotificationActionDataToJSON(value?: CreateTrackNotif
}
return {

'track_data': value.trackData,
'track_id': value.trackId,
};
}
Expand Down

0 comments on commit 1ec2871

Please sign in to comment.