Skip to content

Update sdk with new v1 endpoints and types#13721

Merged
dylanjeffers merged 3 commits into
mainfrom
add-new-v1-endpoints
Feb 19, 2026
Merged

Update sdk with new v1 endpoints and types#13721
dylanjeffers merged 3 commits into
mainfrom
add-new-v1-endpoints

Conversation

@dylanjeffers

@dylanjeffers dylanjeffers commented Feb 19, 2026

Copy link
Copy Markdown
Contributor

Adds updated v1 endpoints to sdk, and updates various type issues

@changeset-bot

changeset-bot Bot commented Feb 19, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: e0d5c4e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

input.stream_conditions != null &&
isContentUSDCPurchaseGated(input.stream_conditions)
? usdcPurchaseConditionsToSDK(input.stream_conditions)
? (usdcPurchaseConditionsToSDK(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😬

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think merge with typeerror instead, we can fix in my follow up branch

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sg reverted

@dylanjeffers dylanjeffers changed the title Add updated v1 endpoints Update sdk with new v1 endpoints and types Feb 19, 2026
return {

'data': value.data === undefined ? undefined : ((value.data as Array<any>).map(PlaylistToJSON)),
'latest_chain_block': value.latestChainBlock,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did we add these fields in api land? idk if we should tbh

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i see, yeah can take a look


/**
*
* Type of entity that can be commented on

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rip help text?

* @type {string}
* @memberof Playlist
*/
releaseDate?: Date;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On api land, this should be format: Date i think

* @memberof PlaylistAddedTimestamp
*/
trackId: string;
metadataTimestamp: number;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should be excluded/optional

/**
* Metadata timestamp
* @type {number}
*

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

help texts are gone?

title?: string;
/**
* Full URL link to the content
* URL link to the content

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol, probably fine that this said "Full" 🤷

/**
*
* @type {RemixParent}
* @memberof Track
*/
remixOf?: RemixParent;
remixOf: RemixParent;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interesting, this isn't optional?

/**
*
* @type {string}
* @memberof Track
*/
creditsSplits?: string;
routeId: string;

@rickyrombo rickyrombo Feb 19, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adding note for future work to remove some of these unused things

* @memberof Track
*/
download?: MediaLink;
trackSegments: Array<TrackSegment>;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this too is removable in teh future

* @memberof Track
*/
license?: string;
resourceContributors?: Array<object>;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we have types for these maybe?

* @memberof Track
*/
musicalKey?: string;
indirectResourceContributors?: Array<object>;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these too?

* @memberof Track
*/
parentalWarningType?: string | null;
rightsController?: object;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and htis and the following two props

/**
*
* @type {string}
* @memberof Track
*/
isrc?: string;
releaseDate?: string;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be format: Date i think too?

@dylanjeffers dylanjeffers merged commit 7f1bcf3 into main Feb 19, 2026
4 checks passed
@dylanjeffers dylanjeffers deleted the add-new-v1-endpoints branch February 19, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants