musora-content-services 1.2.5 → 1.3.1

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/src/index.d.ts CHANGED
@@ -1,250 +1,240 @@
1
1
  /*** This file was generated automatically. To recreate, please run `npm run build-index`. ***/
2
2
 
3
- import {
4
- globalConfig,
5
- initializeService
6
- } from './services/config.js';
3
+ import { globalConfig, initializeService } from './services/config.js'
7
4
 
8
- import {
9
- isContentLiked,
10
- likeContent,
11
- unlikeContent
12
- } from './services/contentLikes.js';
5
+ import { isContentLiked, likeContent, unlikeContent } from './services/contentLikes.js'
13
6
 
14
7
  import {
15
- assignmentStatusCompleted,
16
- assignmentStatusReset,
17
- contentStatusCompleted,
18
- contentStatusReset,
19
- getAllCompleted,
20
- getAllStarted,
21
- getAllStartedOrCompleted,
22
- getProgressPercentage,
23
- getProgressPercentageByIds,
24
- getProgressState,
25
- getProgressStateByIds,
26
- getResumeTimeSeconds,
27
- recordWatchSession
28
- } from './services/contentProgress.js';
8
+ assignmentStatusCompleted,
9
+ assignmentStatusReset,
10
+ contentStatusCompleted,
11
+ contentStatusReset,
12
+ getAllCompleted,
13
+ getAllStarted,
14
+ getAllStartedOrCompleted,
15
+ getProgressPercentage,
16
+ getProgressPercentageByIds,
17
+ getProgressState,
18
+ getProgressStateByIds,
19
+ getResumeTimeSeconds,
20
+ recordWatchSession,
21
+ } from './services/contentProgress.js'
29
22
 
30
23
  import {
31
- addItemToPlaylist,
32
- countAssignmentsAndLessons,
33
- createPlaylist,
34
- deletePlaylist,
35
- deletePlaylistItem,
36
- deletePlaylistLike,
37
- duplicatePlaylist,
38
- fetchAllCompletedStates,
39
- fetchCarouselCardData,
40
- fetchChallengeIndexMetadata,
41
- fetchChallengeLessonData,
42
- fetchChallengeMetadata,
43
- fetchChallengeUserActiveChallenges,
44
- fetchCompletedChallenges,
45
- fetchCompletedContent,
46
- fetchCompletedState,
47
- fetchContentInProgress,
48
- fetchContentPageUserData,
49
- fetchContentProgress,
50
- fetchHandler,
51
- fetchNextContentDataForParent,
52
- fetchOwnedChallenges,
53
- fetchPinnedPlaylists,
54
- fetchPlaylist,
55
- fetchPlaylistItem,
56
- fetchPlaylistItems,
57
- fetchSongsInProgress,
58
- fetchUserAward,
59
- fetchUserBadges,
60
- fetchUserChallengeProgress,
61
- fetchUserLikes,
62
- fetchUserPermissionsData,
63
- fetchUserPlaylists,
64
- likePlaylist,
65
- pinPlaylist,
66
- playback,
67
- postChallengesCommunityNotification,
68
- postChallengesCompleteLesson,
69
- postChallengesEnroll,
70
- postChallengesEnrollmentNotification,
71
- postChallengesHideCompletedBanner,
72
- postChallengesLeave,
73
- postChallengesSetStartDate,
74
- postChallengesSoloNotification,
75
- postChallengesUnlock,
76
- postContentCompleted,
77
- postContentLiked,
78
- postContentReset,
79
- postContentUnliked,
80
- postRecordWatchSession,
81
- reportPlaylist,
82
- setStudentViewForUser,
83
- unpinPlaylist,
84
- updatePlaylist,
85
- updatePlaylistItem
86
- } from './services/railcontent.js';
24
+ addItemToPlaylist,
25
+ countAssignmentsAndLessons,
26
+ createPlaylist,
27
+ deletePlaylist,
28
+ deletePlaylistItem,
29
+ deletePlaylistLike,
30
+ duplicatePlaylist,
31
+ fetchAllCompletedStates,
32
+ fetchCarouselCardData,
33
+ fetchChallengeIndexMetadata,
34
+ fetchChallengeLessonData,
35
+ fetchChallengeMetadata,
36
+ fetchChallengeUserActiveChallenges,
37
+ fetchCompletedChallenges,
38
+ fetchCompletedContent,
39
+ fetchCompletedState,
40
+ fetchContentInProgress,
41
+ fetchContentPageUserData,
42
+ fetchContentProgress,
43
+ fetchHandler,
44
+ fetchNextContentDataForParent,
45
+ fetchOwnedChallenges,
46
+ fetchPinnedPlaylists,
47
+ fetchPlaylist,
48
+ fetchPlaylistItem,
49
+ fetchPlaylistItems,
50
+ fetchSongsInProgress,
51
+ fetchUserAward,
52
+ fetchUserBadges,
53
+ fetchUserChallengeProgress,
54
+ fetchUserLikes,
55
+ fetchUserPermissionsData,
56
+ fetchUserPlaylists,
57
+ likePlaylist,
58
+ pinPlaylist,
59
+ playback,
60
+ postChallengesCommunityNotification,
61
+ postChallengesCompleteLesson,
62
+ postChallengesEnroll,
63
+ postChallengesEnrollmentNotification,
64
+ postChallengesHideCompletedBanner,
65
+ postChallengesLeave,
66
+ postChallengesSetStartDate,
67
+ postChallengesSoloNotification,
68
+ postChallengesUnlock,
69
+ postContentCompleted,
70
+ postContentLiked,
71
+ postContentReset,
72
+ postContentUnliked,
73
+ postRecordWatchSession,
74
+ reportPlaylist,
75
+ setStudentViewForUser,
76
+ unpinPlaylist,
77
+ updatePlaylist,
78
+ updatePlaylistItem,
79
+ } from './services/railcontent.js'
87
80
 
88
81
  import {
89
- fetchAll,
90
- fetchAllFilterOptions,
91
- fetchAllPacks,
92
- fetchArtistLessons,
93
- fetchArtists,
94
- fetchByRailContentId,
95
- fetchByRailContentIds,
96
- fetchByReference,
97
- fetchChatAndLiveEnvent,
98
- fetchCoachLessons,
99
- fetchCommentModContentData,
100
- fetchFoundation,
101
- fetchGenreLessons,
102
- fetchHierarchy,
103
- fetchLessonContent,
104
- fetchLiveEvent,
105
- fetchMetadata,
106
- fetchMethod,
107
- fetchMethodChildren,
108
- fetchMethodChildrenIds,
109
- fetchMethodPreviousNextLesson,
110
- fetchNewReleases,
111
- fetchNextPreviousLesson,
112
- fetchPackAll,
113
- fetchPackData,
114
- fetchParentForDownload,
115
- fetchPlayAlongsCount,
116
- fetchRelatedLessons,
117
- fetchRelatedSongs,
118
- fetchSanity,
119
- fetchScheduledReleases,
120
- fetchShowsData,
121
- fetchSongArtistCount,
122
- fetchSongById,
123
- fetchTopLevelParentId,
124
- fetchUpcomingEvents,
125
- getSortOrder,
126
- jumpToContinueContent
127
- } from './services/sanity.js';
82
+ fetchAll,
83
+ fetchAllFilterOptions,
84
+ fetchAllPacks,
85
+ fetchArtistLessons,
86
+ fetchArtists,
87
+ fetchByRailContentId,
88
+ fetchByRailContentIds,
89
+ fetchByReference,
90
+ fetchChatAndLiveEnvent,
91
+ fetchCoachLessons,
92
+ fetchCommentModContentData,
93
+ fetchFoundation,
94
+ fetchGenreLessons,
95
+ fetchHierarchy,
96
+ fetchLessonContent,
97
+ fetchLiveEvent,
98
+ fetchMetadata,
99
+ fetchMethod,
100
+ fetchMethodChildren,
101
+ fetchMethodChildrenIds,
102
+ fetchMethodPreviousNextLesson,
103
+ fetchNewReleases,
104
+ fetchNextPreviousLesson,
105
+ fetchPackAll,
106
+ fetchPackData,
107
+ fetchParentForDownload,
108
+ fetchPlayAlongsCount,
109
+ fetchRelatedLessons,
110
+ fetchRelatedSongs,
111
+ fetchSanity,
112
+ fetchScheduledReleases,
113
+ fetchShowsData,
114
+ fetchSongArtistCount,
115
+ fetchSongById,
116
+ fetchTopLevelParentId,
117
+ fetchUpcomingEvents,
118
+ getSortOrder,
119
+ jumpToContinueContent,
120
+ } from './services/sanity.js'
128
121
 
129
- import {
130
- fetchUserPermissions,
131
- reset
132
- } from './services/userPermissions.js';
122
+ import { fetchUserPermissions, reset } from './services/userPermissions.js'
133
123
 
134
124
  declare module 'musora-content-services' {
135
- export {
136
- addItemToPlaylist,
137
- assignmentStatusCompleted,
138
- assignmentStatusReset,
139
- contentStatusCompleted,
140
- contentStatusReset,
141
- countAssignmentsAndLessons,
142
- createPlaylist,
143
- deletePlaylist,
144
- deletePlaylistItem,
145
- deletePlaylistLike,
146
- duplicatePlaylist,
147
- fetchAll,
148
- fetchAllCompletedStates,
149
- fetchAllFilterOptions,
150
- fetchAllPacks,
151
- fetchArtistLessons,
152
- fetchArtists,
153
- fetchByRailContentId,
154
- fetchByRailContentIds,
155
- fetchByReference,
156
- fetchCarouselCardData,
157
- fetchChallengeIndexMetadata,
158
- fetchChallengeLessonData,
159
- fetchChallengeMetadata,
160
- fetchChallengeUserActiveChallenges,
161
- fetchChatAndLiveEnvent,
162
- fetchCoachLessons,
163
- fetchCommentModContentData,
164
- fetchCompletedChallenges,
165
- fetchCompletedContent,
166
- fetchCompletedState,
167
- fetchContentInProgress,
168
- fetchContentPageUserData,
169
- fetchContentProgress,
170
- fetchFoundation,
171
- fetchGenreLessons,
172
- fetchHandler,
173
- fetchHierarchy,
174
- fetchLessonContent,
175
- fetchLiveEvent,
176
- fetchMetadata,
177
- fetchMethod,
178
- fetchMethodChildren,
179
- fetchMethodChildrenIds,
180
- fetchMethodPreviousNextLesson,
181
- fetchNewReleases,
182
- fetchNextContentDataForParent,
183
- fetchNextPreviousLesson,
184
- fetchOwnedChallenges,
185
- fetchPackAll,
186
- fetchPackData,
187
- fetchParentForDownload,
188
- fetchPinnedPlaylists,
189
- fetchPlayAlongsCount,
190
- fetchPlaylist,
191
- fetchPlaylistItem,
192
- fetchPlaylistItems,
193
- fetchRelatedLessons,
194
- fetchRelatedSongs,
195
- fetchSanity,
196
- fetchScheduledReleases,
197
- fetchShowsData,
198
- fetchSongArtistCount,
199
- fetchSongById,
200
- fetchSongsInProgress,
201
- fetchTopLevelParentId,
202
- fetchUpcomingEvents,
203
- fetchUserAward,
204
- fetchUserBadges,
205
- fetchUserChallengeProgress,
206
- fetchUserLikes,
207
- fetchUserPermissions,
208
- fetchUserPermissionsData,
209
- fetchUserPlaylists,
210
- getAllCompleted,
211
- getAllStarted,
212
- getAllStartedOrCompleted,
213
- getProgressPercentage,
214
- getProgressPercentageByIds,
215
- getProgressState,
216
- getProgressStateByIds,
217
- getResumeTimeSeconds,
218
- getSortOrder,
219
- globalConfig,
220
- initializeService,
221
- isContentLiked,
222
- jumpToContinueContent,
223
- likeContent,
224
- likePlaylist,
225
- pinPlaylist,
226
- playback,
227
- postChallengesCommunityNotification,
228
- postChallengesCompleteLesson,
229
- postChallengesEnroll,
230
- postChallengesEnrollmentNotification,
231
- postChallengesHideCompletedBanner,
232
- postChallengesLeave,
233
- postChallengesSetStartDate,
234
- postChallengesSoloNotification,
235
- postChallengesUnlock,
236
- postContentCompleted,
237
- postContentLiked,
238
- postContentReset,
239
- postContentUnliked,
240
- postRecordWatchSession,
241
- recordWatchSession,
242
- reportPlaylist,
243
- reset,
244
- setStudentViewForUser,
245
- unlikeContent,
246
- unpinPlaylist,
247
- updatePlaylist,
248
- updatePlaylistItem,
249
- }
125
+ export {
126
+ addItemToPlaylist,
127
+ assignmentStatusCompleted,
128
+ assignmentStatusReset,
129
+ contentStatusCompleted,
130
+ contentStatusReset,
131
+ countAssignmentsAndLessons,
132
+ createPlaylist,
133
+ deletePlaylist,
134
+ deletePlaylistItem,
135
+ deletePlaylistLike,
136
+ duplicatePlaylist,
137
+ fetchAll,
138
+ fetchAllCompletedStates,
139
+ fetchAllFilterOptions,
140
+ fetchAllPacks,
141
+ fetchArtistLessons,
142
+ fetchArtists,
143
+ fetchByRailContentId,
144
+ fetchByRailContentIds,
145
+ fetchByReference,
146
+ fetchCarouselCardData,
147
+ fetchChallengeIndexMetadata,
148
+ fetchChallengeLessonData,
149
+ fetchChallengeMetadata,
150
+ fetchChallengeUserActiveChallenges,
151
+ fetchChatAndLiveEnvent,
152
+ fetchCoachLessons,
153
+ fetchCommentModContentData,
154
+ fetchCompletedChallenges,
155
+ fetchCompletedContent,
156
+ fetchCompletedState,
157
+ fetchContentInProgress,
158
+ fetchContentPageUserData,
159
+ fetchContentProgress,
160
+ fetchFoundation,
161
+ fetchGenreLessons,
162
+ fetchHandler,
163
+ fetchHierarchy,
164
+ fetchLessonContent,
165
+ fetchLiveEvent,
166
+ fetchMetadata,
167
+ fetchMethod,
168
+ fetchMethodChildren,
169
+ fetchMethodChildrenIds,
170
+ fetchMethodPreviousNextLesson,
171
+ fetchNewReleases,
172
+ fetchNextContentDataForParent,
173
+ fetchNextPreviousLesson,
174
+ fetchOwnedChallenges,
175
+ fetchPackAll,
176
+ fetchPackData,
177
+ fetchParentForDownload,
178
+ fetchPinnedPlaylists,
179
+ fetchPlayAlongsCount,
180
+ fetchPlaylist,
181
+ fetchPlaylistItem,
182
+ fetchPlaylistItems,
183
+ fetchRelatedLessons,
184
+ fetchRelatedSongs,
185
+ fetchSanity,
186
+ fetchScheduledReleases,
187
+ fetchShowsData,
188
+ fetchSongArtistCount,
189
+ fetchSongById,
190
+ fetchSongsInProgress,
191
+ fetchTopLevelParentId,
192
+ fetchUpcomingEvents,
193
+ fetchUserAward,
194
+ fetchUserBadges,
195
+ fetchUserChallengeProgress,
196
+ fetchUserLikes,
197
+ fetchUserPermissions,
198
+ fetchUserPermissionsData,
199
+ fetchUserPlaylists,
200
+ getAllCompleted,
201
+ getAllStarted,
202
+ getAllStartedOrCompleted,
203
+ getProgressPercentage,
204
+ getProgressPercentageByIds,
205
+ getProgressState,
206
+ getProgressStateByIds,
207
+ getResumeTimeSeconds,
208
+ getSortOrder,
209
+ globalConfig,
210
+ initializeService,
211
+ isContentLiked,
212
+ jumpToContinueContent,
213
+ likeContent,
214
+ likePlaylist,
215
+ pinPlaylist,
216
+ playback,
217
+ postChallengesCommunityNotification,
218
+ postChallengesCompleteLesson,
219
+ postChallengesEnroll,
220
+ postChallengesEnrollmentNotification,
221
+ postChallengesHideCompletedBanner,
222
+ postChallengesLeave,
223
+ postChallengesSetStartDate,
224
+ postChallengesSoloNotification,
225
+ postChallengesUnlock,
226
+ postContentCompleted,
227
+ postContentLiked,
228
+ postContentReset,
229
+ postContentUnliked,
230
+ postRecordWatchSession,
231
+ recordWatchSession,
232
+ reportPlaylist,
233
+ reset,
234
+ setStudentViewForUser,
235
+ unlikeContent,
236
+ unpinPlaylist,
237
+ updatePlaylist,
238
+ updatePlaylistItem,
239
+ }
250
240
  }