musora-content-services 2.3.16 → 2.3.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/link_mcs.sh +0 -0
- package/package.json +1 -1
- package/src/contentAggregator.js +4 -4
- package/src/contentMetaData.js +1 -1
- package/src/index.d.ts +17 -36
- package/src/index.js +17 -36
- package/src/services/content-org/playlists-types.js +4 -4
- package/src/services/content-org/playlists.js +369 -16
- package/src/services/railcontent.js +12 -461
- package/src/services/sanity.js +1 -1
- package/src/services/userActivity.js +70 -40
- package/tools/generate-index.cjs +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [2.3.18](https://github.com/railroadmedia/musora-content-services/compare/v2.3.16...v2.3.18) (2025-04-30)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* artist field in fetchLessonContent ([#244](https://github.com/railroadmedia/musora-content-services/issues/244)) ([9cf685f](https://github.com/railroadmedia/musora-content-services/commit/9cf685fef544bfe72345a282850085104f536076))
|
|
11
|
+
|
|
12
|
+
### [2.3.17](https://github.com/railroadmedia/musora-content-services/compare/v2.3.16...v2.3.17) (2025-04-22)
|
|
13
|
+
|
|
5
14
|
### [2.3.16](https://github.com/railroadmedia/musora-content-services/compare/v2.3.15...v2.3.16) (2025-04-22)
|
|
6
15
|
|
|
7
16
|
### [2.3.15](https://github.com/railroadmedia/musora-content-services/compare/v2.3.14...v2.3.15) (2025-04-11)
|
package/link_mcs.sh
CHANGED
|
File without changes
|
package/package.json
CHANGED
package/src/contentAggregator.js
CHANGED
|
@@ -11,7 +11,7 @@ export const addContextToContent = async (dataPromise, ...dataArgs) => {
|
|
|
11
11
|
addProgressPercentage = false,
|
|
12
12
|
addIsLiked = false,
|
|
13
13
|
addLikeCount = false,
|
|
14
|
-
|
|
14
|
+
addProgressStatus = false,
|
|
15
15
|
addResumeTimeSeconds = false
|
|
16
16
|
} = options
|
|
17
17
|
|
|
@@ -32,9 +32,9 @@ export const addContextToContent = async (dataPromise, ...dataArgs) => {
|
|
|
32
32
|
|
|
33
33
|
if(ids.length === 0) return false
|
|
34
34
|
|
|
35
|
-
const [progressPercentageData,
|
|
35
|
+
const [progressPercentageData, progressStatusData, isLikedData, resumeTimeData] = await Promise.all([
|
|
36
36
|
addProgressPercentage ? getProgressPercentageByIds(ids) : Promise.resolve(null),
|
|
37
|
-
|
|
37
|
+
addProgressStatus ? getProgressStateByIds(ids) : Promise.resolve(null),
|
|
38
38
|
addIsLiked ? isContentLikedByIds(ids) : Promise.resolve(null),
|
|
39
39
|
addResumeTimeSeconds ? getResumeTimeSecondsByIds(ids) : Promise.resolve(null),
|
|
40
40
|
])
|
|
@@ -42,7 +42,7 @@ export const addContextToContent = async (dataPromise, ...dataArgs) => {
|
|
|
42
42
|
const addContext = async (item) => ({
|
|
43
43
|
...item,
|
|
44
44
|
...(addProgressPercentage ? { progressPercentage: progressPercentageData?.[item.id] } : {}),
|
|
45
|
-
...(
|
|
45
|
+
...(addProgressStatus ? { progressStatus: progressStatusData?.[item.id] } : {}),
|
|
46
46
|
...(addIsLiked ? { isLiked: isLikedData?.[item.id] } : {}),
|
|
47
47
|
...(addLikeCount && ids.length === 1 ? { likeCount: await fetchLikeCount(item.id) } : {}),
|
|
48
48
|
...(addResumeTimeSeconds ? { resumeTime: resumeTimeData?.[item.id] } : {}),
|
package/src/contentMetaData.js
CHANGED
|
@@ -38,7 +38,7 @@ export class Tabs {
|
|
|
38
38
|
static Artists = { name: 'Artists', short_name: 'ARTISTS', is_group_by: true, value: 'artist' }
|
|
39
39
|
static Songs = { name: 'Songs', short_name: 'Songs', value: '' }
|
|
40
40
|
static Tutorials = { name: 'Tutorials', short_name: 'Tutorials', value: 'type,tutorials', cardType: 'big' }
|
|
41
|
-
static Transcriptions = { name: 'Transcriptions', short_name: 'Transcriptions', value: 'type,
|
|
41
|
+
static Transcriptions = { name: 'Transcriptions', short_name: 'Transcriptions', value: 'type,transcription', cardType: 'small' }
|
|
42
42
|
static PlayAlongs = { name: 'Play-Alongs', short_name: 'Play-Alongs', value:'type,play along', cardType: 'small' }
|
|
43
43
|
static RecentAll = { name: 'All', short_name: 'All' }
|
|
44
44
|
static RecentIncomplete = { name: 'Incomplete', short_name: 'Incomplete' }
|
package/src/index.d.ts
CHANGED
|
@@ -8,7 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
addItemToPlaylist,
|
|
10
10
|
createPlaylist,
|
|
11
|
-
|
|
11
|
+
duplicatePlaylist,
|
|
12
|
+
fetchUserPlaylists,
|
|
13
|
+
likePlaylist,
|
|
14
|
+
reorderPlaylistItems,
|
|
15
|
+
reportPlaylist,
|
|
16
|
+
togglePlaylistPrivate,
|
|
17
|
+
unlikePlaylist
|
|
12
18
|
} from './services/content-org/playlists.js';
|
|
13
19
|
|
|
14
20
|
import {
|
|
@@ -23,6 +29,7 @@ import {
|
|
|
23
29
|
|
|
24
30
|
import {
|
|
25
31
|
isContentLiked,
|
|
32
|
+
isContentLikedByIds,
|
|
26
33
|
likeContent,
|
|
27
34
|
unlikeContent
|
|
28
35
|
} from './services/contentLikes.js';
|
|
@@ -40,6 +47,7 @@ import {
|
|
|
40
47
|
getProgressState,
|
|
41
48
|
getProgressStateByIds,
|
|
42
49
|
getResumeTimeSeconds,
|
|
50
|
+
getResumeTimeSecondsByIds,
|
|
43
51
|
recordWatchSession
|
|
44
52
|
} from './services/contentProgress.js';
|
|
45
53
|
|
|
@@ -78,13 +86,8 @@ import {
|
|
|
78
86
|
import {
|
|
79
87
|
assignModeratorToComment,
|
|
80
88
|
closeComment,
|
|
81
|
-
countAssignmentsAndLessons,
|
|
82
89
|
createComment,
|
|
83
90
|
deleteComment,
|
|
84
|
-
deletePlaylist,
|
|
85
|
-
deletePlaylistItem,
|
|
86
|
-
deletePlaylistLike,
|
|
87
|
-
duplicatePlaylist,
|
|
88
91
|
editComment,
|
|
89
92
|
fetchAllCompletedStates,
|
|
90
93
|
fetchCarouselCardData,
|
|
@@ -101,12 +104,9 @@ import {
|
|
|
101
104
|
fetchContentPageUserData,
|
|
102
105
|
fetchContentProgress,
|
|
103
106
|
fetchHandler,
|
|
107
|
+
fetchLikeCount,
|
|
104
108
|
fetchNextContentDataForParent,
|
|
105
109
|
fetchOwnedChallenges,
|
|
106
|
-
fetchPinnedPlaylists,
|
|
107
|
-
fetchPlaylist,
|
|
108
|
-
fetchPlaylistItem,
|
|
109
|
-
fetchPlaylistItems,
|
|
110
110
|
fetchSongsInProgress,
|
|
111
111
|
fetchTopComment,
|
|
112
112
|
fetchUserAward,
|
|
@@ -118,11 +118,8 @@ import {
|
|
|
118
118
|
fetchUserPracticeNotes,
|
|
119
119
|
fetchUserPractices,
|
|
120
120
|
likeComment,
|
|
121
|
-
likePlaylist,
|
|
122
121
|
logUserPractice,
|
|
123
122
|
openComment,
|
|
124
|
-
pinPlaylist,
|
|
125
|
-
playback,
|
|
126
123
|
postChallengesCommunityNotification,
|
|
127
124
|
postChallengesEnroll,
|
|
128
125
|
postChallengesEnrollmentNotification,
|
|
@@ -138,13 +135,9 @@ import {
|
|
|
138
135
|
postRecordWatchSession,
|
|
139
136
|
replyToComment,
|
|
140
137
|
reportComment,
|
|
141
|
-
reportPlaylist,
|
|
142
138
|
setStudentViewForUser,
|
|
143
139
|
unassignModeratorToComment,
|
|
144
|
-
unlikeComment
|
|
145
|
-
unpinPlaylist,
|
|
146
|
-
updatePlaylist,
|
|
147
|
-
updatePlaylistItem
|
|
140
|
+
unlikeComment
|
|
148
141
|
} from './services/railcontent.js';
|
|
149
142
|
|
|
150
143
|
import {
|
|
@@ -226,7 +219,6 @@ import {
|
|
|
226
219
|
getPracticeSessions,
|
|
227
220
|
getRecentActivity,
|
|
228
221
|
getUserMonthlyStats,
|
|
229
|
-
getUserPractices,
|
|
230
222
|
getUserWeeklyStats,
|
|
231
223
|
recordUserPractice,
|
|
232
224
|
removeUserPractice,
|
|
@@ -236,11 +228,8 @@ import {
|
|
|
236
228
|
updateUserPractice
|
|
237
229
|
} from './services/userActivity.js';
|
|
238
230
|
|
|
239
|
-
import { addContextToContent } from './contentAggregator.js';
|
|
240
|
-
|
|
241
231
|
declare module 'musora-content-services' {
|
|
242
232
|
export {
|
|
243
|
-
addContextToContent,
|
|
244
233
|
addItemToPlaylist,
|
|
245
234
|
applyCloudflareWrapper,
|
|
246
235
|
applySanityTransformations,
|
|
@@ -253,14 +242,10 @@ declare module 'musora-content-services' {
|
|
|
253
242
|
contentStatusCompleted,
|
|
254
243
|
contentStatusReset,
|
|
255
244
|
convertToTimeZone,
|
|
256
|
-
countAssignmentsAndLessons,
|
|
257
245
|
createComment,
|
|
258
246
|
createPlaylist,
|
|
259
247
|
createPracticeNotes,
|
|
260
248
|
deleteComment,
|
|
261
|
-
deletePlaylist,
|
|
262
|
-
deletePlaylistItem,
|
|
263
|
-
deletePlaylistLike,
|
|
264
249
|
deletePracticeSession,
|
|
265
250
|
duplicatePlaylist,
|
|
266
251
|
editComment,
|
|
@@ -299,6 +284,7 @@ declare module 'musora-content-services' {
|
|
|
299
284
|
fetchLeaving,
|
|
300
285
|
fetchLessonContent,
|
|
301
286
|
fetchLessonsFeaturingThisContent,
|
|
287
|
+
fetchLikeCount,
|
|
302
288
|
fetchLiveEvent,
|
|
303
289
|
fetchMetadata,
|
|
304
290
|
fetchMethod,
|
|
@@ -313,11 +299,7 @@ declare module 'musora-content-services' {
|
|
|
313
299
|
fetchPackAll,
|
|
314
300
|
fetchPackData,
|
|
315
301
|
fetchParentForDownload,
|
|
316
|
-
fetchPinnedPlaylists,
|
|
317
302
|
fetchPlayAlongsCount,
|
|
318
|
-
fetchPlaylist,
|
|
319
|
-
fetchPlaylistItem,
|
|
320
|
-
fetchPlaylistItems,
|
|
321
303
|
fetchRecent,
|
|
322
304
|
fetchRelatedLessons,
|
|
323
305
|
fetchRelatedRecommendedContent,
|
|
@@ -363,17 +345,18 @@ declare module 'musora-content-services' {
|
|
|
363
345
|
getRecentActivity,
|
|
364
346
|
getRecommendedForYou,
|
|
365
347
|
getResumeTimeSeconds,
|
|
348
|
+
getResumeTimeSecondsByIds,
|
|
366
349
|
getScheduleContentRows,
|
|
367
350
|
getSortOrder,
|
|
368
351
|
getTabResults,
|
|
369
352
|
getUserMonthlyStats,
|
|
370
|
-
getUserPractices,
|
|
371
353
|
getUserWeeklyStats,
|
|
372
354
|
getWeekNumber,
|
|
373
355
|
globalConfig,
|
|
374
356
|
initializeService,
|
|
375
357
|
isBucketUrl,
|
|
376
358
|
isContentLiked,
|
|
359
|
+
isContentLikedByIds,
|
|
377
360
|
isNextDay,
|
|
378
361
|
isSameDate,
|
|
379
362
|
jumpToContinueContent,
|
|
@@ -384,8 +367,6 @@ declare module 'musora-content-services' {
|
|
|
384
367
|
login,
|
|
385
368
|
logout,
|
|
386
369
|
openComment,
|
|
387
|
-
pinPlaylist,
|
|
388
|
-
playback,
|
|
389
370
|
postChallengesCommunityNotification,
|
|
390
371
|
postChallengesEnroll,
|
|
391
372
|
postChallengesEnrollmentNotification,
|
|
@@ -405,6 +386,7 @@ declare module 'musora-content-services' {
|
|
|
405
386
|
recordUserPractice,
|
|
406
387
|
recordWatchSession,
|
|
407
388
|
removeUserPractice,
|
|
389
|
+
reorderPlaylistItems,
|
|
408
390
|
replyToComment,
|
|
409
391
|
reportComment,
|
|
410
392
|
reportPlaylist,
|
|
@@ -412,13 +394,12 @@ declare module 'musora-content-services' {
|
|
|
412
394
|
restorePracticeSession,
|
|
413
395
|
restoreUserPractice,
|
|
414
396
|
setStudentViewForUser,
|
|
397
|
+
togglePlaylistPrivate,
|
|
415
398
|
unassignModeratorToComment,
|
|
416
399
|
unblockUser,
|
|
417
400
|
unlikeComment,
|
|
418
401
|
unlikeContent,
|
|
419
|
-
|
|
420
|
-
updatePlaylist,
|
|
421
|
-
updatePlaylistItem,
|
|
402
|
+
unlikePlaylist,
|
|
422
403
|
updatePracticeNotes,
|
|
423
404
|
updateUserPractice,
|
|
424
405
|
verifyImageSRC,
|
package/src/index.js
CHANGED
|
@@ -8,7 +8,13 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
addItemToPlaylist,
|
|
10
10
|
createPlaylist,
|
|
11
|
-
|
|
11
|
+
duplicatePlaylist,
|
|
12
|
+
fetchUserPlaylists,
|
|
13
|
+
likePlaylist,
|
|
14
|
+
reorderPlaylistItems,
|
|
15
|
+
reportPlaylist,
|
|
16
|
+
togglePlaylistPrivate,
|
|
17
|
+
unlikePlaylist
|
|
12
18
|
} from './services/content-org/playlists.js';
|
|
13
19
|
|
|
14
20
|
import {
|
|
@@ -23,6 +29,7 @@ import {
|
|
|
23
29
|
|
|
24
30
|
import {
|
|
25
31
|
isContentLiked,
|
|
32
|
+
isContentLikedByIds,
|
|
26
33
|
likeContent,
|
|
27
34
|
unlikeContent
|
|
28
35
|
} from './services/contentLikes.js';
|
|
@@ -40,6 +47,7 @@ import {
|
|
|
40
47
|
getProgressState,
|
|
41
48
|
getProgressStateByIds,
|
|
42
49
|
getResumeTimeSeconds,
|
|
50
|
+
getResumeTimeSecondsByIds,
|
|
43
51
|
recordWatchSession
|
|
44
52
|
} from './services/contentProgress.js';
|
|
45
53
|
|
|
@@ -78,13 +86,8 @@ import {
|
|
|
78
86
|
import {
|
|
79
87
|
assignModeratorToComment,
|
|
80
88
|
closeComment,
|
|
81
|
-
countAssignmentsAndLessons,
|
|
82
89
|
createComment,
|
|
83
90
|
deleteComment,
|
|
84
|
-
deletePlaylist,
|
|
85
|
-
deletePlaylistItem,
|
|
86
|
-
deletePlaylistLike,
|
|
87
|
-
duplicatePlaylist,
|
|
88
91
|
editComment,
|
|
89
92
|
fetchAllCompletedStates,
|
|
90
93
|
fetchCarouselCardData,
|
|
@@ -101,12 +104,9 @@ import {
|
|
|
101
104
|
fetchContentPageUserData,
|
|
102
105
|
fetchContentProgress,
|
|
103
106
|
fetchHandler,
|
|
107
|
+
fetchLikeCount,
|
|
104
108
|
fetchNextContentDataForParent,
|
|
105
109
|
fetchOwnedChallenges,
|
|
106
|
-
fetchPinnedPlaylists,
|
|
107
|
-
fetchPlaylist,
|
|
108
|
-
fetchPlaylistItem,
|
|
109
|
-
fetchPlaylistItems,
|
|
110
110
|
fetchSongsInProgress,
|
|
111
111
|
fetchTopComment,
|
|
112
112
|
fetchUserAward,
|
|
@@ -118,11 +118,8 @@ import {
|
|
|
118
118
|
fetchUserPracticeNotes,
|
|
119
119
|
fetchUserPractices,
|
|
120
120
|
likeComment,
|
|
121
|
-
likePlaylist,
|
|
122
121
|
logUserPractice,
|
|
123
122
|
openComment,
|
|
124
|
-
pinPlaylist,
|
|
125
|
-
playback,
|
|
126
123
|
postChallengesCommunityNotification,
|
|
127
124
|
postChallengesEnroll,
|
|
128
125
|
postChallengesEnrollmentNotification,
|
|
@@ -138,13 +135,9 @@ import {
|
|
|
138
135
|
postRecordWatchSession,
|
|
139
136
|
replyToComment,
|
|
140
137
|
reportComment,
|
|
141
|
-
reportPlaylist,
|
|
142
138
|
setStudentViewForUser,
|
|
143
139
|
unassignModeratorToComment,
|
|
144
|
-
unlikeComment
|
|
145
|
-
unpinPlaylist,
|
|
146
|
-
updatePlaylist,
|
|
147
|
-
updatePlaylistItem
|
|
140
|
+
unlikeComment
|
|
148
141
|
} from './services/railcontent.js';
|
|
149
142
|
|
|
150
143
|
import {
|
|
@@ -226,7 +219,6 @@ import {
|
|
|
226
219
|
getPracticeSessions,
|
|
227
220
|
getRecentActivity,
|
|
228
221
|
getUserMonthlyStats,
|
|
229
|
-
getUserPractices,
|
|
230
222
|
getUserWeeklyStats,
|
|
231
223
|
recordUserPractice,
|
|
232
224
|
removeUserPractice,
|
|
@@ -236,10 +228,7 @@ import {
|
|
|
236
228
|
updateUserPractice
|
|
237
229
|
} from './services/userActivity.js';
|
|
238
230
|
|
|
239
|
-
import { addContextToContent } from './contentAggregator.js';
|
|
240
|
-
|
|
241
231
|
export {
|
|
242
|
-
addContextToContent,
|
|
243
232
|
addItemToPlaylist,
|
|
244
233
|
applyCloudflareWrapper,
|
|
245
234
|
applySanityTransformations,
|
|
@@ -252,14 +241,10 @@ export {
|
|
|
252
241
|
contentStatusCompleted,
|
|
253
242
|
contentStatusReset,
|
|
254
243
|
convertToTimeZone,
|
|
255
|
-
countAssignmentsAndLessons,
|
|
256
244
|
createComment,
|
|
257
245
|
createPlaylist,
|
|
258
246
|
createPracticeNotes,
|
|
259
247
|
deleteComment,
|
|
260
|
-
deletePlaylist,
|
|
261
|
-
deletePlaylistItem,
|
|
262
|
-
deletePlaylistLike,
|
|
263
248
|
deletePracticeSession,
|
|
264
249
|
duplicatePlaylist,
|
|
265
250
|
editComment,
|
|
@@ -298,6 +283,7 @@ export {
|
|
|
298
283
|
fetchLeaving,
|
|
299
284
|
fetchLessonContent,
|
|
300
285
|
fetchLessonsFeaturingThisContent,
|
|
286
|
+
fetchLikeCount,
|
|
301
287
|
fetchLiveEvent,
|
|
302
288
|
fetchMetadata,
|
|
303
289
|
fetchMethod,
|
|
@@ -312,11 +298,7 @@ export {
|
|
|
312
298
|
fetchPackAll,
|
|
313
299
|
fetchPackData,
|
|
314
300
|
fetchParentForDownload,
|
|
315
|
-
fetchPinnedPlaylists,
|
|
316
301
|
fetchPlayAlongsCount,
|
|
317
|
-
fetchPlaylist,
|
|
318
|
-
fetchPlaylistItem,
|
|
319
|
-
fetchPlaylistItems,
|
|
320
302
|
fetchRecent,
|
|
321
303
|
fetchRelatedLessons,
|
|
322
304
|
fetchRelatedRecommendedContent,
|
|
@@ -362,17 +344,18 @@ export {
|
|
|
362
344
|
getRecentActivity,
|
|
363
345
|
getRecommendedForYou,
|
|
364
346
|
getResumeTimeSeconds,
|
|
347
|
+
getResumeTimeSecondsByIds,
|
|
365
348
|
getScheduleContentRows,
|
|
366
349
|
getSortOrder,
|
|
367
350
|
getTabResults,
|
|
368
351
|
getUserMonthlyStats,
|
|
369
|
-
getUserPractices,
|
|
370
352
|
getUserWeeklyStats,
|
|
371
353
|
getWeekNumber,
|
|
372
354
|
globalConfig,
|
|
373
355
|
initializeService,
|
|
374
356
|
isBucketUrl,
|
|
375
357
|
isContentLiked,
|
|
358
|
+
isContentLikedByIds,
|
|
376
359
|
isNextDay,
|
|
377
360
|
isSameDate,
|
|
378
361
|
jumpToContinueContent,
|
|
@@ -383,8 +366,6 @@ export {
|
|
|
383
366
|
login,
|
|
384
367
|
logout,
|
|
385
368
|
openComment,
|
|
386
|
-
pinPlaylist,
|
|
387
|
-
playback,
|
|
388
369
|
postChallengesCommunityNotification,
|
|
389
370
|
postChallengesEnroll,
|
|
390
371
|
postChallengesEnrollmentNotification,
|
|
@@ -404,6 +385,7 @@ export {
|
|
|
404
385
|
recordUserPractice,
|
|
405
386
|
recordWatchSession,
|
|
406
387
|
removeUserPractice,
|
|
388
|
+
reorderPlaylistItems,
|
|
407
389
|
replyToComment,
|
|
408
390
|
reportComment,
|
|
409
391
|
reportPlaylist,
|
|
@@ -411,13 +393,12 @@ export {
|
|
|
411
393
|
restorePracticeSession,
|
|
412
394
|
restoreUserPractice,
|
|
413
395
|
setStudentViewForUser,
|
|
396
|
+
togglePlaylistPrivate,
|
|
414
397
|
unassignModeratorToComment,
|
|
415
398
|
unblockUser,
|
|
416
399
|
unlikeComment,
|
|
417
400
|
unlikeContent,
|
|
418
|
-
|
|
419
|
-
updatePlaylist,
|
|
420
|
-
updatePlaylistItem,
|
|
401
|
+
unlikePlaylist,
|
|
421
402
|
updatePracticeNotes,
|
|
422
403
|
updateUserPractice,
|
|
423
404
|
verifyImageSRC,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @property {string} description - A description of the playlist. (optional, max 1000 characters)
|
|
5
5
|
* @property {string} category - The category of the playlist.
|
|
6
6
|
* @property {string} thumbnail_url - The URL of the playlist thumbnail. (optional, must be a valid URL)
|
|
7
|
-
* @property {boolean} private - Whether the playlist is private. (optional, defaults to
|
|
7
|
+
* @property {boolean} private - Whether the playlist is private. (optional, defaults to false)
|
|
8
8
|
* @property {string} brand - Brand identifier for the playlist.
|
|
9
9
|
*/
|
|
10
10
|
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
* @property {string} brand
|
|
15
15
|
* @property {string} name
|
|
16
16
|
* @property {string} description
|
|
17
|
-
* @property {string|null} thumbnail_url
|
|
18
17
|
* @property {string} duration_formated
|
|
19
18
|
* @property {Array<string>} first_4_items_thumbnail_url
|
|
20
|
-
* @property {string|null} url
|
|
21
|
-
* @property {string|null} playback_url
|
|
22
19
|
* @property {number} total_items
|
|
20
|
+
* @property {number} likes
|
|
21
|
+
* @property {boolean} pinned
|
|
22
|
+
* @property {boolean} is_my_playlist
|
|
23
23
|
* @property {User} user
|
|
24
24
|
*/
|
|
25
25
|
|