musora-content-services 1.0.118 → 1.0.119
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/.github/workflows/node.js.yml +0 -0
- package/CHANGELOG.md +2 -0
- package/README.md +0 -0
- package/babel.config.js +0 -0
- package/docs/config.js.html +2 -1
- package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
- package/docs/index.html +1 -1
- package/docs/module-Config.html +42 -2
- package/docs/module-Railcontent-Services.html +1 -1
- package/docs/module-Sanity-Services.html +153 -48
- package/docs/railcontent.js.html +25 -13
- package/docs/sanity.js.html +183 -84
- package/docs/scripts/collapse.js +0 -0
- package/docs/scripts/commonNav.js +0 -0
- package/docs/scripts/linenumber.js +0 -0
- package/docs/scripts/nav.js +0 -0
- package/docs/scripts/polyfill.js +0 -0
- package/docs/scripts/prettify/Apache-License-2.0.txt +0 -0
- package/docs/scripts/prettify/lang-css.js +0 -0
- package/docs/scripts/prettify/prettify.js +0 -0
- package/docs/scripts/search.js +0 -0
- package/docs/styles/jsdoc.css +0 -0
- package/docs/styles/prettify.css +0 -0
- package/jest.config.js +0 -0
- package/jsdoc.json +0 -0
- package/package.json +1 -1
- package/src/contentMetaData.js +0 -0
- package/src/filterBuilder.js +0 -0
- package/src/index.d.ts +0 -0
- package/src/index.js +0 -0
- package/src/services/config.js +0 -0
- package/src/services/userContext.js +0 -0
- package/test/localStorageMock.js +0 -0
- package/test/log.js +0 -0
- package/test/userContext.test.js +0 -0
- package/tools/generate-index.js +0 -0
|
File without changes
|
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.0.119](https://github.com/railroadmedia/musora-content-services/compare/v1.0.118...v1.0.119) (2024-09-27)
|
|
6
|
+
|
|
5
7
|
### [1.0.118](https://github.com/railroadmedia/musora-content-services/compare/v1.0.117...v1.0.118) (2024-09-27)
|
|
6
8
|
|
|
7
9
|
### [1.0.117](https://github.com/railroadmedia/musora-content-services/compare/v1.0.115...v1.0.117) (2024-09-27)
|
package/README.md
CHANGED
|
File without changes
|
package/babel.config.js
CHANGED
|
File without changes
|
package/docs/config.js.html
CHANGED
|
@@ -66,6 +66,7 @@ let globalConfig = {
|
|
|
66
66
|
* @param {string} config.sanityConfig.version - The API version to use.
|
|
67
67
|
* @param {boolean} [config.sanityConfig.debug=false] - Optional flag to enable debug mode.
|
|
68
68
|
* @param {boolean} [config.sanityConfig.useCachedAPI=true] - Optional flag to enable or disable the use of the cached API.
|
|
69
|
+
* @param {boolean} [config.sanityConfig.useDummyRailContentMethods=false] - Optional flag to use test harness for railcontent methods. Should only be used by jest tests.
|
|
69
70
|
* @param {Object} config.railcontentConfig - Configuration for user services.
|
|
70
71
|
* @param {string} config.railcontentConfig.token - The token for authenticating user-specific requests.
|
|
71
72
|
* @param {string} config.railcontentConfig.userId - The user ID for fetching user-specific data.
|
|
@@ -114,7 +115,7 @@ module.exports = {
|
|
|
114
115
|
<br class="clear">
|
|
115
116
|
|
|
116
117
|
<footer>
|
|
117
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on
|
|
118
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Sep 27 2024 21:58:51 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
118
119
|
</footer>
|
|
119
120
|
|
|
120
121
|
<script>prettyPrint();</script>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/docs/index.html
CHANGED
|
@@ -149,7 +149,7 @@ with <code>npm test -- -t="userContext"</code> or just the contentLike
|
|
|
149
149
|
<br class="clear">
|
|
150
150
|
|
|
151
151
|
<footer>
|
|
152
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on
|
|
152
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Sep 27 2024 21:58:51 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
153
153
|
</footer>
|
|
154
154
|
|
|
155
155
|
<script>prettyPrint();</script>
|
package/docs/module-Config.html
CHANGED
|
@@ -101,7 +101,7 @@ This function must be called before using any other functions in this library.</
|
|
|
101
101
|
|
|
102
102
|
<dt class="tag-source">Source:</dt>
|
|
103
103
|
<dd class="tag-source"><ul class="dummy"><li>
|
|
104
|
-
<a href="config.js.html">config.js</a>, <a href="config.js.html#
|
|
104
|
+
<a href="config.js.html">config.js</a>, <a href="config.js.html#line47">line 47</a>
|
|
105
105
|
</li></ul></dd>
|
|
106
106
|
|
|
107
107
|
|
|
@@ -504,6 +504,46 @@ initializeService({
|
|
|
504
504
|
</tr>
|
|
505
505
|
|
|
506
506
|
|
|
507
|
+
|
|
508
|
+
<tr>
|
|
509
|
+
|
|
510
|
+
<td class="name"><code>useDummyRailContentMethods</code></td>
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
<td class="type">
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
<span class="param-type">boolean</span>
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
</td>
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
<td class="attributes">
|
|
525
|
+
|
|
526
|
+
<optional><br>
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
</td>
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
<td class="default">
|
|
537
|
+
|
|
538
|
+
<code>false</code>
|
|
539
|
+
|
|
540
|
+
</td>
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
<td class="description last">Optional flag to use test harness for railcontent methods. Should only be used by jest tests.</td>
|
|
544
|
+
</tr>
|
|
545
|
+
|
|
546
|
+
|
|
507
547
|
</tbody>
|
|
508
548
|
</table>
|
|
509
549
|
|
|
@@ -681,7 +721,7 @@ initializeService({
|
|
|
681
721
|
<br class="clear">
|
|
682
722
|
|
|
683
723
|
<footer>
|
|
684
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on
|
|
724
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Sep 27 2024 21:58:51 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
685
725
|
</footer>
|
|
686
726
|
|
|
687
727
|
<script>prettyPrint();</script>
|
|
@@ -1518,7 +1518,7 @@
|
|
|
1518
1518
|
<br class="clear">
|
|
1519
1519
|
|
|
1520
1520
|
<footer>
|
|
1521
|
-
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on
|
|
1521
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.3</a> on Fri Sep 27 2024 21:58:51 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
|
|
1522
1522
|
</footer>
|
|
1523
1523
|
|
|
1524
1524
|
<script>prettyPrint();</script>
|