Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/sdk/src/sdk/api/generated/default/models/CoverArt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ export interface CoverArt {
* @memberof CoverArt
*/
_1000x1000?: string;
/**
*
* @type {Array<string>}
* @memberof CoverArt
*/
mirrors?: Array<string>;
}

/**
Expand All @@ -62,6 +68,7 @@ export function CoverArtFromJSONTyped(json: any, ignoreDiscriminator: boolean):
'_150x150': !exists(json, '150x150') ? undefined : json['150x150'],
'_480x480': !exists(json, '480x480') ? undefined : json['480x480'],
'_1000x1000': !exists(json, '1000x1000') ? undefined : json['1000x1000'],
'mirrors': !exists(json, 'mirrors') ? undefined : json['mirrors'],
};
}

Expand All @@ -77,6 +84,7 @@ export function CoverArtToJSON(value?: CoverArt | null): any {
'150x150': value._150x150,
'480x480': value._480x480,
'1000x1000': value._1000x1000,
'mirrors': value.mirrors,
};
}

Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export function DecodedUserTokenFromJSONTyped(json: any, ignoreDiscriminator: bo
'name': json['name'],
'handle': json['handle'],
'verified': json['verified'],
'profilePicture': !exists(json, 'profilePicture') ? undefined : ProfilePictureFromJSON(json['profilePicture']),
'profilePicture': !exists(json, 'profile_picture') ? undefined : ProfilePictureFromJSON(json['profile_picture']),
'sub': json['sub'],
'iat': json['iat'],
};
Expand All @@ -137,7 +137,7 @@ export function DecodedUserTokenToJSON(value?: DecodedUserToken | null): any {
'name': value.name,
'handle': value.handle,
'verified': value.verified,
'profilePicture': ProfilePictureToJSON(value.profilePicture),
'profile_picture': ProfilePictureToJSON(value.profilePicture),
'sub': value.sub,
'iat': value.iat,
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ export interface ProfilePicture {
* @memberof ProfilePicture
*/
_1000x1000?: string;
/**
*
* @type {Array<string>}
* @memberof ProfilePicture
*/
mirrors?: Array<string>;
}

/**
Expand All @@ -62,6 +68,7 @@ export function ProfilePictureFromJSONTyped(json: any, ignoreDiscriminator: bool
'_150x150': !exists(json, '150x150') ? undefined : json['150x150'],
'_480x480': !exists(json, '480x480') ? undefined : json['480x480'],
'_1000x1000': !exists(json, '1000x1000') ? undefined : json['1000x1000'],
'mirrors': !exists(json, 'mirrors') ? undefined : json['mirrors'],
};
}

Expand All @@ -77,6 +84,7 @@ export function ProfilePictureToJSON(value?: ProfilePicture | null): any {
'150x150': value._150x150,
'480x480': value._480x480,
'1000x1000': value._1000x1000,
'mirrors': value.mirrors,
};
}