musora-content-services 1.4.3 → 1.4.4
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 +2 -0
- package/package.json +1 -1
- package/src/index.d.ts +18 -0
- package/src/index.js +18 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
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
|
+
### [1.4.4](https://github.com/railroadmedia/musora-content-services/compare/v1.4.3...v1.4.4) (2025-03-31)
|
|
6
|
+
|
|
5
7
|
### [1.4.3](https://github.com/railroadmedia/musora-content-services/compare/v1.4.2...v1.4.3) (2025-03-31)
|
|
6
8
|
|
|
7
9
|
### [1.4.2](https://github.com/railroadmedia/musora-content-services/compare/v1.4.1...v1.4.2) (2025-03-28)
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -32,6 +32,18 @@ import {
|
|
|
32
32
|
verifyLocalDataContext
|
|
33
33
|
} from './services/dataContext.js';
|
|
34
34
|
|
|
35
|
+
import {
|
|
36
|
+
applyCloudflareWrapper,
|
|
37
|
+
applySanityTransformations,
|
|
38
|
+
buildImageSRC
|
|
39
|
+
} from './services/imageSRCBuilder.js';
|
|
40
|
+
|
|
41
|
+
import {
|
|
42
|
+
extractSanityUrl,
|
|
43
|
+
isBucketUrl,
|
|
44
|
+
verifyImageSRC
|
|
45
|
+
} from './services/imageSRCVerify.js';
|
|
46
|
+
|
|
35
47
|
import {
|
|
36
48
|
clearLastUpdatedTime,
|
|
37
49
|
setLastUpdatedTime,
|
|
@@ -160,8 +172,11 @@ import {
|
|
|
160
172
|
declare module 'musora-content-services' {
|
|
161
173
|
export {
|
|
162
174
|
addItemToPlaylist,
|
|
175
|
+
applyCloudflareWrapper,
|
|
176
|
+
applySanityTransformations,
|
|
163
177
|
assignmentStatusCompleted,
|
|
164
178
|
assignmentStatusReset,
|
|
179
|
+
buildImageSRC,
|
|
165
180
|
clearLastUpdatedTime,
|
|
166
181
|
clearPermissionsData,
|
|
167
182
|
contentStatusCompleted,
|
|
@@ -172,6 +187,7 @@ declare module 'musora-content-services' {
|
|
|
172
187
|
deletePlaylistItem,
|
|
173
188
|
deletePlaylistLike,
|
|
174
189
|
duplicatePlaylist,
|
|
190
|
+
extractSanityUrl,
|
|
175
191
|
fetchAll,
|
|
176
192
|
fetchAllCompletedStates,
|
|
177
193
|
fetchAllFilterOptions,
|
|
@@ -253,6 +269,7 @@ declare module 'musora-content-services' {
|
|
|
253
269
|
getSortOrder,
|
|
254
270
|
globalConfig,
|
|
255
271
|
initializeService,
|
|
272
|
+
isBucketUrl,
|
|
256
273
|
isContentLiked,
|
|
257
274
|
jumpToContinueContent,
|
|
258
275
|
likeContent,
|
|
@@ -287,6 +304,7 @@ declare module 'musora-content-services' {
|
|
|
287
304
|
updatePermissionsData,
|
|
288
305
|
updatePlaylist,
|
|
289
306
|
updatePlaylistItem,
|
|
307
|
+
verifyImageSRC,
|
|
290
308
|
verifyLocalDataContext,
|
|
291
309
|
wasLastUpdateOlderThanXSeconds,
|
|
292
310
|
}
|
package/src/index.js
CHANGED
|
@@ -32,6 +32,18 @@ import {
|
|
|
32
32
|
verifyLocalDataContext
|
|
33
33
|
} from './services/dataContext.js';
|
|
34
34
|
|
|
35
|
+
import {
|
|
36
|
+
applyCloudflareWrapper,
|
|
37
|
+
applySanityTransformations,
|
|
38
|
+
buildImageSRC
|
|
39
|
+
} from './services/imageSRCBuilder.js';
|
|
40
|
+
|
|
41
|
+
import {
|
|
42
|
+
extractSanityUrl,
|
|
43
|
+
isBucketUrl,
|
|
44
|
+
verifyImageSRC
|
|
45
|
+
} from './services/imageSRCVerify.js';
|
|
46
|
+
|
|
35
47
|
import {
|
|
36
48
|
clearLastUpdatedTime,
|
|
37
49
|
setLastUpdatedTime,
|
|
@@ -159,8 +171,11 @@ import {
|
|
|
159
171
|
|
|
160
172
|
export {
|
|
161
173
|
addItemToPlaylist,
|
|
174
|
+
applyCloudflareWrapper,
|
|
175
|
+
applySanityTransformations,
|
|
162
176
|
assignmentStatusCompleted,
|
|
163
177
|
assignmentStatusReset,
|
|
178
|
+
buildImageSRC,
|
|
164
179
|
clearLastUpdatedTime,
|
|
165
180
|
clearPermissionsData,
|
|
166
181
|
contentStatusCompleted,
|
|
@@ -171,6 +186,7 @@ export {
|
|
|
171
186
|
deletePlaylistItem,
|
|
172
187
|
deletePlaylistLike,
|
|
173
188
|
duplicatePlaylist,
|
|
189
|
+
extractSanityUrl,
|
|
174
190
|
fetchAll,
|
|
175
191
|
fetchAllCompletedStates,
|
|
176
192
|
fetchAllFilterOptions,
|
|
@@ -252,6 +268,7 @@ export {
|
|
|
252
268
|
getSortOrder,
|
|
253
269
|
globalConfig,
|
|
254
270
|
initializeService,
|
|
271
|
+
isBucketUrl,
|
|
255
272
|
isContentLiked,
|
|
256
273
|
jumpToContinueContent,
|
|
257
274
|
likeContent,
|
|
@@ -286,6 +303,7 @@ export {
|
|
|
286
303
|
updatePermissionsData,
|
|
287
304
|
updatePlaylist,
|
|
288
305
|
updatePlaylistItem,
|
|
306
|
+
verifyImageSRC,
|
|
289
307
|
verifyLocalDataContext,
|
|
290
308
|
wasLastUpdateOlderThanXSeconds,
|
|
291
309
|
};
|