@salesforce/lds-adapters-platform-learning-content 1.129.1 → 1.130.9
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/dist/es/es2018/platform-learning-content.js +3 -3
- package/dist/es/es2018/types/src/generated/types/LearningItemRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/LearningPracticeRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/LearningTextLessonRepresentation.d.ts +1 -1
- package/package.json +1 -1
- package/sfdc/index.js +6 -6
- package/src/raml/luvio.raml +3 -3
|
@@ -2230,7 +2230,7 @@ const getLearningConfigAdapterFactory = (luvio) => function LearningContentPlatf
|
|
|
2230
2230
|
buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
|
|
2231
2231
|
};
|
|
2232
2232
|
|
|
2233
|
-
const TTL$5 =
|
|
2233
|
+
const TTL$5 = 60000;
|
|
2234
2234
|
const VERSION$a = "1832481a3fe10deeb9c5dddba933f3da";
|
|
2235
2235
|
function validate$b(obj, path = 'LearningItemRepresentation') {
|
|
2236
2236
|
const v_error = (() => {
|
|
@@ -5144,7 +5144,7 @@ const getModuleAdapterFactory = (luvio) => function LearningContentPlatform__get
|
|
|
5144
5144
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
5145
5145
|
};
|
|
5146
5146
|
|
|
5147
|
-
const TTL$1 =
|
|
5147
|
+
const TTL$1 = 60000;
|
|
5148
5148
|
const VERSION$2 = "44b044bb4e3eff4d2c834cdb80b9a043";
|
|
5149
5149
|
function validate$3(obj, path = 'LearningPracticeRepresentation') {
|
|
5150
5150
|
const v_error = (() => {
|
|
@@ -5661,7 +5661,7 @@ function equals$1(existing, incoming) {
|
|
|
5661
5661
|
return true;
|
|
5662
5662
|
}
|
|
5663
5663
|
|
|
5664
|
-
const TTL =
|
|
5664
|
+
const TTL = 60000;
|
|
5665
5665
|
const VERSION = "66ac3fbc8b5a61745a45ebd7944654e4";
|
|
5666
5666
|
function validate(obj, path = 'LearningTextLessonRepresentation') {
|
|
5667
5667
|
const v_error = (() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
-
export declare const TTL =
|
|
2
|
+
export declare const TTL = 60000;
|
|
3
3
|
export declare const VERSION = "1832481a3fe10deeb9c5dddba933f3da";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
-
export declare const TTL =
|
|
2
|
+
export declare const TTL = 60000;
|
|
3
3
|
export declare const VERSION = "44b044bb4e3eff4d2c834cdb80b9a043";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LearningTextLessonSectionRepresentation as LearningTextLessonSectionRepresentation_LearningTextLessonSectionRepresentation } from './LearningTextLessonSectionRepresentation';
|
|
2
2
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
-
export declare const TTL =
|
|
3
|
+
export declare const TTL = 60000;
|
|
4
4
|
export declare const VERSION = "66ac3fbc8b5a61745a45ebd7944654e4";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
package/package.json
CHANGED
package/sfdc/index.js
CHANGED
|
@@ -2130,7 +2130,7 @@ const getLearningItemProgressAdapterFactory = (luvio) => function LearningConten
|
|
|
2130
2130
|
buildCachedSnapshotCachePolicy$7, buildNetworkSnapshotCachePolicy$7);
|
|
2131
2131
|
};
|
|
2132
2132
|
|
|
2133
|
-
const TTL$6 =
|
|
2133
|
+
const TTL$6 = 60000;
|
|
2134
2134
|
const VERSION$b = "1832481a3fe10deeb9c5dddba933f3da";
|
|
2135
2135
|
function validate$b(obj, path = 'LearningItemRepresentation') {
|
|
2136
2136
|
const v_error = (() => {
|
|
@@ -3861,7 +3861,7 @@ const getLearningModelAdapterFactory = (luvio) => function LearningContentPlatfo
|
|
|
3861
3861
|
buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
|
|
3862
3862
|
};
|
|
3863
3863
|
|
|
3864
|
-
const TTL$4 =
|
|
3864
|
+
const TTL$4 = 60000;
|
|
3865
3865
|
const VERSION$7 = "44b044bb4e3eff4d2c834cdb80b9a043";
|
|
3866
3866
|
function validate$7(obj, path = 'LearningPracticeRepresentation') {
|
|
3867
3867
|
const v_error = (() => {
|
|
@@ -5783,7 +5783,7 @@ function equals$1(existing, incoming) {
|
|
|
5783
5783
|
return true;
|
|
5784
5784
|
}
|
|
5785
5785
|
|
|
5786
|
-
const TTL =
|
|
5786
|
+
const TTL = 60000;
|
|
5787
5787
|
const VERSION = "66ac3fbc8b5a61745a45ebd7944654e4";
|
|
5788
5788
|
function validate(obj, path = 'LearningTextLessonRepresentation') {
|
|
5789
5789
|
const v_error = (() => {
|
|
@@ -6176,11 +6176,11 @@ const getLearningConfigMetadata = { apiFamily: 'LearningContentPlatform', name:
|
|
|
6176
6176
|
const getLearningItemProgressMetadata = { apiFamily: 'LearningContentPlatform', name: 'getLearningItemProgress' };
|
|
6177
6177
|
const getLearningItemsListMetadata = { apiFamily: 'LearningContentPlatform', name: 'getLearningItemsList' };
|
|
6178
6178
|
const getLearningModelMetadata = { apiFamily: 'LearningContentPlatform', name: 'getLearningModel', ttl: 15000 };
|
|
6179
|
-
const getLearningPracticeMetadata = { apiFamily: 'LearningContentPlatform', name: 'getLearningPractice', ttl:
|
|
6179
|
+
const getLearningPracticeMetadata = { apiFamily: 'LearningContentPlatform', name: 'getLearningPractice', ttl: 60000 };
|
|
6180
6180
|
const getLearningSearchDescribeMetadata = { apiFamily: 'LearningContentPlatform', name: 'getLearningSearchDescribe' };
|
|
6181
6181
|
const getLearningSearchResultsMetadata = { apiFamily: 'LearningContentPlatform', name: 'getLearningSearchResults', ttl: 21600000 };
|
|
6182
6182
|
const getModuleMetadata = { apiFamily: 'LearningContentPlatform', name: 'getModule', ttl: 21600000 };
|
|
6183
|
-
const getTextLessonMetadata = { apiFamily: 'LearningContentPlatform', name: 'getTextLesson', ttl:
|
|
6183
|
+
const getTextLessonMetadata = { apiFamily: 'LearningContentPlatform', name: 'getTextLesson', ttl: 60000 };
|
|
6184
6184
|
function bindExportsTo(luvio) {
|
|
6185
6185
|
// LDS Adapters
|
|
6186
6186
|
const getFeaturedItemsRecommendedList_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getFeaturedItemsRecommendedList', getFeaturedItemsRecommendedListAdapterFactory), getFeaturedItemsRecommendedListMetadata);
|
|
@@ -6262,4 +6262,4 @@ withDefaultLuvio((luvio) => {
|
|
|
6262
6262
|
});
|
|
6263
6263
|
|
|
6264
6264
|
export { evaluateLearningItem, getFeaturedItemsRecommendedList, getFeaturedItemsRecommendedList_imperative, getFeaturedItemsRelatedList, getFeaturedItemsRelatedList_imperative, getLearningConfig, getLearningConfig_imperative, getLearningItemProgress, getLearningItemProgress_imperative, getLearningItemsList, getLearningItemsList_imperative, getLearningModel, getLearningModel_imperative, getLearningPractice, getLearningPracticeNotifyChange, getLearningPractice_imperative, getLearningSearchDescribe, getLearningSearchDescribe_imperative, getLearningSearchResults, getLearningSearchResultsNotifyChange, getLearningSearchResults_imperative, getModule, getModuleNotifyChange, getModule_imperative, getTextLesson, getTextLessonNotifyChange, getTextLesson_imperative };
|
|
6265
|
-
// version: 1.
|
|
6265
|
+
// version: 1.130.9-a2fbc710a
|
package/src/raml/luvio.raml
CHANGED
|
@@ -24,7 +24,7 @@ types:
|
|
|
24
24
|
(luvio.key):
|
|
25
25
|
type: type
|
|
26
26
|
LearningItemRepresentation:
|
|
27
|
-
(luvio.ttl):
|
|
27
|
+
(luvio.ttl): 60000 # 60 seconds
|
|
28
28
|
(luvio.key):
|
|
29
29
|
learning_item_id: id
|
|
30
30
|
LearningItemProgressRepresentation:
|
|
@@ -36,11 +36,11 @@ types:
|
|
|
36
36
|
(luvio.key):
|
|
37
37
|
learning_item_id: id
|
|
38
38
|
LearningPracticeRepresentation:
|
|
39
|
-
(luvio.ttl):
|
|
39
|
+
(luvio.ttl): 60000 # 60 seconds
|
|
40
40
|
(luvio.key):
|
|
41
41
|
learning_item_id: learningItemId
|
|
42
42
|
LearningTextLessonRepresentation:
|
|
43
|
-
(luvio.ttl):
|
|
43
|
+
(luvio.ttl): 60000 # 60 seconds
|
|
44
44
|
(luvio.key):
|
|
45
45
|
learning_item_id: learningItemId
|
|
46
46
|
TrailheadModuleRepresentation:
|