Skip to content

Commit

Permalink
Revert some sdk changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanjeffers committed Oct 18, 2024
1 parent 2a28648 commit 67bf840
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -525,12 +525,6 @@ export interface SearchTrackFull {
* @memberof SearchTrackFull
*/
downloadConditions?: AccessGate;
/**
*
* @type {number}
* @memberof SearchTrackFull
*/
pinnedCommentId?: number;
}

/**
Expand Down Expand Up @@ -656,7 +650,6 @@ export function SearchTrackFullFromJSONTyped(json: any, ignoreDiscriminator: boo
'streamConditions': !exists(json, 'stream_conditions') ? undefined : AccessGateFromJSON(json['stream_conditions']),
'isDownloadGated': json['is_download_gated'],
'downloadConditions': !exists(json, 'download_conditions') ? undefined : AccessGateFromJSON(json['download_conditions']),
'pinnedCommentId': !exists(json, 'pinned_comment_id') ? undefined : json['pinned_comment_id'],
};
}

Expand Down Expand Up @@ -742,7 +735,6 @@ export function SearchTrackFullToJSON(value?: SearchTrackFull | null): any {
'stream_conditions': AccessGateToJSON(value.streamConditions),
'is_download_gated': value.isDownloadGated,
'download_conditions': AccessGateToJSON(value.downloadConditions),
'pinned_comment_id': value.pinnedCommentId,
};
}

8 changes: 0 additions & 8 deletions packages/sdk/src/sdk/api/generated/full/models/TrackFull.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,12 +525,6 @@ export interface TrackFull {
* @memberof TrackFull
*/
downloadConditions?: AccessGate;
/**
*
* @type {number}
* @memberof TrackFull
*/
pinnedCommentId?: number;
}

/**
Expand Down Expand Up @@ -658,7 +652,6 @@ export function TrackFullFromJSONTyped(json: any, ignoreDiscriminator: boolean):
'streamConditions': !exists(json, 'stream_conditions') ? undefined : AccessGateFromJSON(json['stream_conditions']),
'isDownloadGated': json['is_download_gated'],
'downloadConditions': !exists(json, 'download_conditions') ? undefined : AccessGateFromJSON(json['download_conditions']),
'pinnedCommentId': !exists(json, 'pinned_comment_id') ? undefined : json['pinned_comment_id'],
};
}

Expand Down Expand Up @@ -744,7 +737,6 @@ export function TrackFullToJSON(value?: TrackFull | null): any {
'stream_conditions': AccessGateToJSON(value.streamConditions),
'is_download_gated': value.isDownloadGated,
'download_conditions': AccessGateToJSON(value.downloadConditions),
'pinned_comment_id': value.pinnedCommentId,
};
}

0 comments on commit 67bf840

Please sign in to comment.