We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0bfa30f commit 0866c3bCopy full SHA for 0866c3b
2 files changed
.changeset/little-insects-warn.md
@@ -0,0 +1,5 @@
1
+---
2
+"@audius/sdk": patch
3
4
+
5
+Minor fix to allow playlist uploads with album fields in the old entity manager schemas
packages/sdk/src/sdk/api/playlists/types.ts
@@ -46,7 +46,14 @@ const CreatePlaylistMetadataSchema = z
46
trackId: HashId
47
})
48
)
49
- )
+ ),
50
51
+ // Album fields
52
+ isStreamGated: z.optional(z.boolean()),
53
+ streamConditions: z.optional(USDCPurchaseConditions).nullable(),
54
+ isDownloadGated: z.optional(z.boolean()),
55
+ downloadConditions: z.optional(USDCPurchaseConditions).nullable(),
56
+ isScheduledRelease: z.optional(z.boolean())
57
58
.strict()
59
0 commit comments