@salesforce/lds-adapters-platform-learning-content 1.213.0 → 1.213.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/dist/es/es2018/platform-learning-content.js +94 -438
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/adapters/evaluateLearningItem.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getFeaturedItemsRecommendedList.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getFeaturedItemsRelatedList.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getLearningConfig.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getLearningItemProgress.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getLearningItemsList.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getLearningModel.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getLearningPractice.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getModule.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getTextLesson.d.ts +3 -2
- package/package.json +1 -1
- package/sfdc/index.js +95 -439
package/sfdc/index.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
|
|
16
16
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
17
|
-
import { serializeStructuredKey, deepFreeze, StoreKeyMap, typeCheckScalars, typeCheckArrayOfScalars } from 'force/luvioEngine';
|
|
17
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$9, typeCheckScalars, typeCheckArrayOfScalars } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -58,6 +58,24 @@ const snapshotRefreshOptions = {
|
|
|
58
58
|
},
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
|
+
function generateParamConfigMetadata(name, required, coerceFn) {
|
|
62
|
+
return {
|
|
63
|
+
name,
|
|
64
|
+
required,
|
|
65
|
+
coerceFn,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
function buildAdapterValidationConfig(displayName, paramsMeta) {
|
|
69
|
+
const required = paramsMeta.filter(p => p.required).map(p => p.name);
|
|
70
|
+
const optional = paramsMeta.filter(p => !p.required).map(p => p.name);
|
|
71
|
+
return {
|
|
72
|
+
displayName,
|
|
73
|
+
parameters: {
|
|
74
|
+
required,
|
|
75
|
+
optional,
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
}
|
|
61
79
|
const keyPrefix = 'LearningContentPlatform';
|
|
62
80
|
|
|
63
81
|
const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
@@ -272,26 +290,8 @@ const ingest$b = function LearningItemProgressRepresentationIngest(input, path,
|
|
|
272
290
|
}
|
|
273
291
|
}
|
|
274
292
|
const key = keyBuilderFromType$6(luvio, input);
|
|
275
|
-
const existingRecord = store.readEntry(key);
|
|
276
293
|
const ttlToUse = TTL$6;
|
|
277
|
-
|
|
278
|
-
fullPath: key,
|
|
279
|
-
parent: path.parent,
|
|
280
|
-
propertyName: path.propertyName,
|
|
281
|
-
ttl: ttlToUse
|
|
282
|
-
});
|
|
283
|
-
if (existingRecord === undefined || equals$e(existingRecord, incomingRecord) === false) {
|
|
284
|
-
luvio.storePublish(key, incomingRecord);
|
|
285
|
-
}
|
|
286
|
-
{
|
|
287
|
-
const storeMetadataParams = {
|
|
288
|
-
ttl: ttlToUse,
|
|
289
|
-
namespace: "LearningContentPlatform",
|
|
290
|
-
version: VERSION$e,
|
|
291
|
-
representationName: RepresentationType$b,
|
|
292
|
-
};
|
|
293
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
294
|
-
}
|
|
294
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "LearningContentPlatform", VERSION$e, RepresentationType$b, equals$e);
|
|
295
295
|
return createLink(key);
|
|
296
296
|
};
|
|
297
297
|
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -341,13 +341,11 @@ function createResourceRequest$9(config) {
|
|
|
341
341
|
};
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
-
const
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
}
|
|
350
|
-
};
|
|
344
|
+
const adapterName$9 = 'evaluateLearningItem';
|
|
345
|
+
const evaluateLearningItem_ConfigPropertyMetadata = [
|
|
346
|
+
generateParamConfigMetadata('payload', true),
|
|
347
|
+
];
|
|
348
|
+
const evaluateLearningItem_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, evaluateLearningItem_ConfigPropertyMetadata);
|
|
351
349
|
function createResourceParams$9(config) {
|
|
352
350
|
const resourceParams = {
|
|
353
351
|
body: {
|
|
@@ -1010,26 +1008,8 @@ const ingest$a = function FeaturedItemRepresentationIngest(input, path, luvio, s
|
|
|
1010
1008
|
}
|
|
1011
1009
|
}
|
|
1012
1010
|
const key = keyBuilderFromType$5(luvio, input);
|
|
1013
|
-
const existingRecord = store.readEntry(key);
|
|
1014
1011
|
const ttlToUse = TTL$5;
|
|
1015
|
-
|
|
1016
|
-
fullPath: key,
|
|
1017
|
-
parent: path.parent,
|
|
1018
|
-
propertyName: path.propertyName,
|
|
1019
|
-
ttl: ttlToUse
|
|
1020
|
-
});
|
|
1021
|
-
if (existingRecord === undefined || equals$d(existingRecord, incomingRecord) === false) {
|
|
1022
|
-
luvio.storePublish(key, incomingRecord);
|
|
1023
|
-
}
|
|
1024
|
-
{
|
|
1025
|
-
const storeMetadataParams = {
|
|
1026
|
-
ttl: ttlToUse,
|
|
1027
|
-
namespace: "LearningContentPlatform",
|
|
1028
|
-
version: VERSION$d,
|
|
1029
|
-
representationName: RepresentationType$a,
|
|
1030
|
-
};
|
|
1031
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
1032
|
-
}
|
|
1012
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "LearningContentPlatform", VERSION$d, RepresentationType$a, equals$d);
|
|
1033
1013
|
return createLink(key);
|
|
1034
1014
|
};
|
|
1035
1015
|
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1079,7 +1059,7 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
|
|
|
1079
1059
|
existing: existing,
|
|
1080
1060
|
},
|
|
1081
1061
|
ttl: path.ttl
|
|
1082
|
-
}, luvio, store);
|
|
1062
|
+
}, luvio, store, timestamp);
|
|
1083
1063
|
}
|
|
1084
1064
|
return input;
|
|
1085
1065
|
}
|
|
@@ -1119,26 +1099,8 @@ const ingest$9 = function FeaturedItemRecommendedListRepresentationIngest(input,
|
|
|
1119
1099
|
}
|
|
1120
1100
|
}
|
|
1121
1101
|
const key = path.fullPath;
|
|
1122
|
-
const existingRecord = store.readEntry(key);
|
|
1123
1102
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
1124
|
-
|
|
1125
|
-
fullPath: key,
|
|
1126
|
-
parent: path.parent,
|
|
1127
|
-
propertyName: path.propertyName,
|
|
1128
|
-
ttl: ttlToUse
|
|
1129
|
-
}, luvio, store);
|
|
1130
|
-
if (existingRecord === undefined || equals$c(existingRecord, incomingRecord) === false) {
|
|
1131
|
-
luvio.storePublish(key, incomingRecord);
|
|
1132
|
-
}
|
|
1133
|
-
if (ttlToUse !== undefined) {
|
|
1134
|
-
const storeMetadataParams = {
|
|
1135
|
-
ttl: ttlToUse,
|
|
1136
|
-
namespace: "LearningContentPlatform",
|
|
1137
|
-
version: VERSION$c,
|
|
1138
|
-
representationName: RepresentationType$9,
|
|
1139
|
-
};
|
|
1140
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
1141
|
-
}
|
|
1103
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "LearningContentPlatform", VERSION$c, RepresentationType$9, equals$c);
|
|
1142
1104
|
return createLink(key);
|
|
1143
1105
|
};
|
|
1144
1106
|
function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1201,13 +1163,12 @@ function createResourceRequest$8(config) {
|
|
|
1201
1163
|
};
|
|
1202
1164
|
}
|
|
1203
1165
|
|
|
1204
|
-
const
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
};
|
|
1166
|
+
const adapterName$8 = 'getFeaturedItemsRecommendedList';
|
|
1167
|
+
const getFeaturedItemsRecommendedList_ConfigPropertyMetadata = [
|
|
1168
|
+
generateParamConfigMetadata('appId', true),
|
|
1169
|
+
generateParamConfigMetadata('context', true),
|
|
1170
|
+
];
|
|
1171
|
+
const getFeaturedItemsRecommendedList_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getFeaturedItemsRecommendedList_ConfigPropertyMetadata);
|
|
1211
1172
|
function createResourceParams$8(config) {
|
|
1212
1173
|
const resourceParams = {
|
|
1213
1174
|
queryParams: {
|
|
@@ -1274,21 +1235,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
|
|
|
1274
1235
|
});
|
|
1275
1236
|
}
|
|
1276
1237
|
function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
|
|
1277
|
-
|
|
1278
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
1279
|
-
const dispatchOptions = {
|
|
1280
|
-
resourceRequestContext: {
|
|
1281
|
-
requestCorrelator,
|
|
1282
|
-
luvioRequestMethod: undefined,
|
|
1283
|
-
},
|
|
1284
|
-
eventObservers
|
|
1285
|
-
};
|
|
1286
|
-
if (networkPriority !== 'normal') {
|
|
1287
|
-
dispatchOptions.overrides = {
|
|
1288
|
-
priority: networkPriority
|
|
1289
|
-
};
|
|
1290
|
-
}
|
|
1291
|
-
return buildNetworkSnapshot$8(luvio, config, dispatchOptions);
|
|
1238
|
+
return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
|
|
1292
1239
|
}
|
|
1293
1240
|
function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
|
|
1294
1241
|
const { luvio, config } = context;
|
|
@@ -1350,7 +1297,7 @@ function normalize$8(input, existing, path, luvio, store, timestamp) {
|
|
|
1350
1297
|
existing: existing,
|
|
1351
1298
|
},
|
|
1352
1299
|
ttl: path.ttl
|
|
1353
|
-
}, luvio, store);
|
|
1300
|
+
}, luvio, store, timestamp);
|
|
1354
1301
|
}
|
|
1355
1302
|
return input;
|
|
1356
1303
|
}
|
|
@@ -1390,26 +1337,8 @@ const ingest$8 = function FeaturedItemRelatedListRepresentationIngest(input, pat
|
|
|
1390
1337
|
}
|
|
1391
1338
|
}
|
|
1392
1339
|
const key = path.fullPath;
|
|
1393
|
-
const existingRecord = store.readEntry(key);
|
|
1394
1340
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
1395
|
-
|
|
1396
|
-
fullPath: key,
|
|
1397
|
-
parent: path.parent,
|
|
1398
|
-
propertyName: path.propertyName,
|
|
1399
|
-
ttl: ttlToUse
|
|
1400
|
-
}, luvio, store);
|
|
1401
|
-
if (existingRecord === undefined || equals$b(existingRecord, incomingRecord) === false) {
|
|
1402
|
-
luvio.storePublish(key, incomingRecord);
|
|
1403
|
-
}
|
|
1404
|
-
if (ttlToUse !== undefined) {
|
|
1405
|
-
const storeMetadataParams = {
|
|
1406
|
-
ttl: ttlToUse,
|
|
1407
|
-
namespace: "LearningContentPlatform",
|
|
1408
|
-
version: VERSION$b,
|
|
1409
|
-
representationName: RepresentationType$8,
|
|
1410
|
-
};
|
|
1411
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
1412
|
-
}
|
|
1341
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "LearningContentPlatform", VERSION$b, RepresentationType$8, equals$b);
|
|
1413
1342
|
return createLink(key);
|
|
1414
1343
|
};
|
|
1415
1344
|
function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1472,13 +1401,12 @@ function createResourceRequest$7(config) {
|
|
|
1472
1401
|
};
|
|
1473
1402
|
}
|
|
1474
1403
|
|
|
1475
|
-
const
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
};
|
|
1404
|
+
const adapterName$7 = 'getFeaturedItemsRelatedList';
|
|
1405
|
+
const getFeaturedItemsRelatedList_ConfigPropertyMetadata = [
|
|
1406
|
+
generateParamConfigMetadata('appId', true),
|
|
1407
|
+
generateParamConfigMetadata('pageRef', true),
|
|
1408
|
+
];
|
|
1409
|
+
const getFeaturedItemsRelatedList_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getFeaturedItemsRelatedList_ConfigPropertyMetadata);
|
|
1482
1410
|
function createResourceParams$7(config) {
|
|
1483
1411
|
const resourceParams = {
|
|
1484
1412
|
queryParams: {
|
|
@@ -1545,21 +1473,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
|
|
|
1545
1473
|
});
|
|
1546
1474
|
}
|
|
1547
1475
|
function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
|
|
1548
|
-
|
|
1549
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
1550
|
-
const dispatchOptions = {
|
|
1551
|
-
resourceRequestContext: {
|
|
1552
|
-
requestCorrelator,
|
|
1553
|
-
luvioRequestMethod: undefined,
|
|
1554
|
-
},
|
|
1555
|
-
eventObservers
|
|
1556
|
-
};
|
|
1557
|
-
if (networkPriority !== 'normal') {
|
|
1558
|
-
dispatchOptions.overrides = {
|
|
1559
|
-
priority: networkPriority
|
|
1560
|
-
};
|
|
1561
|
-
}
|
|
1562
|
-
return buildNetworkSnapshot$7(luvio, config, dispatchOptions);
|
|
1476
|
+
return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
|
|
1563
1477
|
}
|
|
1564
1478
|
function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
|
|
1565
1479
|
const { luvio, config } = context;
|
|
@@ -1659,26 +1573,8 @@ const ingest$7 = function LearningConfigRepresentationIngest(input, path, luvio,
|
|
|
1659
1573
|
}
|
|
1660
1574
|
}
|
|
1661
1575
|
const key = path.fullPath;
|
|
1662
|
-
const existingRecord = store.readEntry(key);
|
|
1663
1576
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
1664
|
-
|
|
1665
|
-
fullPath: key,
|
|
1666
|
-
parent: path.parent,
|
|
1667
|
-
propertyName: path.propertyName,
|
|
1668
|
-
ttl: ttlToUse
|
|
1669
|
-
});
|
|
1670
|
-
if (existingRecord === undefined || equals$a(existingRecord, incomingRecord) === false) {
|
|
1671
|
-
luvio.storePublish(key, incomingRecord);
|
|
1672
|
-
}
|
|
1673
|
-
if (ttlToUse !== undefined) {
|
|
1674
|
-
const storeMetadataParams = {
|
|
1675
|
-
ttl: ttlToUse,
|
|
1676
|
-
namespace: "LearningContentPlatform",
|
|
1677
|
-
version: VERSION$a,
|
|
1678
|
-
representationName: RepresentationType$7,
|
|
1679
|
-
};
|
|
1680
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
1681
|
-
}
|
|
1577
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "LearningContentPlatform", VERSION$a, RepresentationType$7, equals$a);
|
|
1682
1578
|
return createLink(key);
|
|
1683
1579
|
};
|
|
1684
1580
|
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1737,13 +1633,9 @@ function createResourceRequest$6(config) {
|
|
|
1737
1633
|
};
|
|
1738
1634
|
}
|
|
1739
1635
|
|
|
1740
|
-
const
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
required: [],
|
|
1744
|
-
optional: []
|
|
1745
|
-
}
|
|
1746
|
-
};
|
|
1636
|
+
const adapterName$6 = 'getLearningConfig';
|
|
1637
|
+
const getLearningConfig_ConfigPropertyMetadata = [];
|
|
1638
|
+
const getLearningConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, getLearningConfig_ConfigPropertyMetadata);
|
|
1747
1639
|
function createResourceParams$6(config) {
|
|
1748
1640
|
const resourceParams = {};
|
|
1749
1641
|
return resourceParams;
|
|
@@ -1800,21 +1692,7 @@ function buildNetworkSnapshot$6(luvio, config, options) {
|
|
|
1800
1692
|
});
|
|
1801
1693
|
}
|
|
1802
1694
|
function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
|
|
1803
|
-
|
|
1804
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
1805
|
-
const dispatchOptions = {
|
|
1806
|
-
resourceRequestContext: {
|
|
1807
|
-
requestCorrelator,
|
|
1808
|
-
luvioRequestMethod: undefined,
|
|
1809
|
-
},
|
|
1810
|
-
eventObservers
|
|
1811
|
-
};
|
|
1812
|
-
if (networkPriority !== 'normal') {
|
|
1813
|
-
dispatchOptions.overrides = {
|
|
1814
|
-
priority: networkPriority
|
|
1815
|
-
};
|
|
1816
|
-
}
|
|
1817
|
-
return buildNetworkSnapshot$6(luvio, config, dispatchOptions);
|
|
1695
|
+
return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$6, undefined, false);
|
|
1818
1696
|
}
|
|
1819
1697
|
function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
|
|
1820
1698
|
const { luvio, config } = context;
|
|
@@ -1876,7 +1754,7 @@ function normalize$6(input, existing, path, luvio, store, timestamp) {
|
|
|
1876
1754
|
existing: existing,
|
|
1877
1755
|
},
|
|
1878
1756
|
ttl: path.ttl
|
|
1879
|
-
}, luvio, store);
|
|
1757
|
+
}, luvio, store, timestamp);
|
|
1880
1758
|
}
|
|
1881
1759
|
return input;
|
|
1882
1760
|
}
|
|
@@ -1916,26 +1794,8 @@ const ingest$6 = function LearningItemProgressListRepresentationIngest(input, pa
|
|
|
1916
1794
|
}
|
|
1917
1795
|
}
|
|
1918
1796
|
const key = path.fullPath;
|
|
1919
|
-
const existingRecord = store.readEntry(key);
|
|
1920
1797
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
1921
|
-
|
|
1922
|
-
fullPath: key,
|
|
1923
|
-
parent: path.parent,
|
|
1924
|
-
propertyName: path.propertyName,
|
|
1925
|
-
ttl: ttlToUse
|
|
1926
|
-
}, luvio, store);
|
|
1927
|
-
if (existingRecord === undefined || equals$9(existingRecord, incomingRecord) === false) {
|
|
1928
|
-
luvio.storePublish(key, incomingRecord);
|
|
1929
|
-
}
|
|
1930
|
-
if (ttlToUse !== undefined) {
|
|
1931
|
-
const storeMetadataParams = {
|
|
1932
|
-
ttl: ttlToUse,
|
|
1933
|
-
namespace: "LearningContentPlatform",
|
|
1934
|
-
version: VERSION$9,
|
|
1935
|
-
representationName: RepresentationType$6,
|
|
1936
|
-
};
|
|
1937
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
1938
|
-
}
|
|
1798
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "LearningContentPlatform", VERSION$9, RepresentationType$6, equals$9);
|
|
1939
1799
|
return createLink(key);
|
|
1940
1800
|
};
|
|
1941
1801
|
function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1998,13 +1858,11 @@ function createResourceRequest$5(config) {
|
|
|
1998
1858
|
};
|
|
1999
1859
|
}
|
|
2000
1860
|
|
|
2001
|
-
const
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
}
|
|
2007
|
-
};
|
|
1861
|
+
const adapterName$5 = 'getLearningItemProgress';
|
|
1862
|
+
const getLearningItemProgress_ConfigPropertyMetadata = [
|
|
1863
|
+
generateParamConfigMetadata('learningItemIds', false),
|
|
1864
|
+
];
|
|
1865
|
+
const getLearningItemProgress_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getLearningItemProgress_ConfigPropertyMetadata);
|
|
2008
1866
|
function createResourceParams$5(config) {
|
|
2009
1867
|
const resourceParams = {
|
|
2010
1868
|
queryParams: {
|
|
@@ -2070,21 +1928,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
|
|
|
2070
1928
|
});
|
|
2071
1929
|
}
|
|
2072
1930
|
function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
|
|
2073
|
-
|
|
2074
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
2075
|
-
const dispatchOptions = {
|
|
2076
|
-
resourceRequestContext: {
|
|
2077
|
-
requestCorrelator,
|
|
2078
|
-
luvioRequestMethod: undefined,
|
|
2079
|
-
},
|
|
2080
|
-
eventObservers
|
|
2081
|
-
};
|
|
2082
|
-
if (networkPriority !== 'normal') {
|
|
2083
|
-
dispatchOptions.overrides = {
|
|
2084
|
-
priority: networkPriority
|
|
2085
|
-
};
|
|
2086
|
-
}
|
|
2087
|
-
return buildNetworkSnapshot$5(luvio, config, dispatchOptions);
|
|
1931
|
+
return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
|
|
2088
1932
|
}
|
|
2089
1933
|
function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
|
|
2090
1934
|
const { luvio, config } = context;
|
|
@@ -2547,26 +2391,8 @@ const ingest$5 = function LearningItemRepresentationIngest(input, path, luvio, s
|
|
|
2547
2391
|
}
|
|
2548
2392
|
}
|
|
2549
2393
|
const key = keyBuilderFromType$4(luvio, input);
|
|
2550
|
-
const existingRecord = store.readEntry(key);
|
|
2551
2394
|
const ttlToUse = TTL$4;
|
|
2552
|
-
|
|
2553
|
-
fullPath: key,
|
|
2554
|
-
parent: path.parent,
|
|
2555
|
-
propertyName: path.propertyName,
|
|
2556
|
-
ttl: ttlToUse
|
|
2557
|
-
});
|
|
2558
|
-
if (existingRecord === undefined || equals$8(existingRecord, incomingRecord) === false) {
|
|
2559
|
-
luvio.storePublish(key, incomingRecord);
|
|
2560
|
-
}
|
|
2561
|
-
{
|
|
2562
|
-
const storeMetadataParams = {
|
|
2563
|
-
ttl: ttlToUse,
|
|
2564
|
-
namespace: "LearningContentPlatform",
|
|
2565
|
-
version: VERSION$8,
|
|
2566
|
-
representationName: RepresentationType$5,
|
|
2567
|
-
};
|
|
2568
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
2569
|
-
}
|
|
2395
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "LearningContentPlatform", VERSION$8, RepresentationType$5, equals$8);
|
|
2570
2396
|
return createLink(key);
|
|
2571
2397
|
};
|
|
2572
2398
|
function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2616,7 +2442,7 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
|
|
|
2616
2442
|
existing: existing,
|
|
2617
2443
|
},
|
|
2618
2444
|
ttl: path.ttl
|
|
2619
|
-
}, luvio, store);
|
|
2445
|
+
}, luvio, store, timestamp);
|
|
2620
2446
|
}
|
|
2621
2447
|
return input;
|
|
2622
2448
|
}
|
|
@@ -2656,26 +2482,8 @@ const ingest$4 = function LearningItemListRepresentationIngest(input, path, luvi
|
|
|
2656
2482
|
}
|
|
2657
2483
|
}
|
|
2658
2484
|
const key = path.fullPath;
|
|
2659
|
-
const existingRecord = store.readEntry(key);
|
|
2660
2485
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
|
|
2661
|
-
|
|
2662
|
-
fullPath: key,
|
|
2663
|
-
parent: path.parent,
|
|
2664
|
-
propertyName: path.propertyName,
|
|
2665
|
-
ttl: ttlToUse
|
|
2666
|
-
}, luvio, store);
|
|
2667
|
-
if (existingRecord === undefined || equals$7(existingRecord, incomingRecord) === false) {
|
|
2668
|
-
luvio.storePublish(key, incomingRecord);
|
|
2669
|
-
}
|
|
2670
|
-
if (ttlToUse !== undefined) {
|
|
2671
|
-
const storeMetadataParams = {
|
|
2672
|
-
ttl: ttlToUse,
|
|
2673
|
-
namespace: "LearningContentPlatform",
|
|
2674
|
-
version: VERSION$7,
|
|
2675
|
-
representationName: RepresentationType$4,
|
|
2676
|
-
};
|
|
2677
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
2678
|
-
}
|
|
2486
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "LearningContentPlatform", VERSION$7, RepresentationType$4, equals$7);
|
|
2679
2487
|
return createLink(key);
|
|
2680
2488
|
};
|
|
2681
2489
|
function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2738,13 +2546,11 @@ function createResourceRequest$4(config) {
|
|
|
2738
2546
|
};
|
|
2739
2547
|
}
|
|
2740
2548
|
|
|
2741
|
-
const
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
}
|
|
2747
|
-
};
|
|
2549
|
+
const adapterName$4 = 'getLearningItemsList';
|
|
2550
|
+
const getLearningItemsList_ConfigPropertyMetadata = [
|
|
2551
|
+
generateParamConfigMetadata('learningItemIds', false),
|
|
2552
|
+
];
|
|
2553
|
+
const getLearningItemsList_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, getLearningItemsList_ConfigPropertyMetadata);
|
|
2748
2554
|
function createResourceParams$4(config) {
|
|
2749
2555
|
const resourceParams = {
|
|
2750
2556
|
queryParams: {
|
|
@@ -2810,21 +2616,7 @@ function buildNetworkSnapshot$4(luvio, config, options) {
|
|
|
2810
2616
|
});
|
|
2811
2617
|
}
|
|
2812
2618
|
function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
|
|
2813
|
-
|
|
2814
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
2815
|
-
const dispatchOptions = {
|
|
2816
|
-
resourceRequestContext: {
|
|
2817
|
-
requestCorrelator,
|
|
2818
|
-
luvioRequestMethod: undefined,
|
|
2819
|
-
},
|
|
2820
|
-
eventObservers
|
|
2821
|
-
};
|
|
2822
|
-
if (networkPriority !== 'normal') {
|
|
2823
|
-
dispatchOptions.overrides = {
|
|
2824
|
-
priority: networkPriority
|
|
2825
|
-
};
|
|
2826
|
-
}
|
|
2827
|
-
return buildNetworkSnapshot$4(luvio, config, dispatchOptions);
|
|
2619
|
+
return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$4, undefined, false);
|
|
2828
2620
|
}
|
|
2829
2621
|
function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
|
|
2830
2622
|
const { luvio, config } = context;
|
|
@@ -3638,26 +3430,8 @@ const ingest$3 = function LearningModelOutputRepresentationIngest(input, path, l
|
|
|
3638
3430
|
}
|
|
3639
3431
|
}
|
|
3640
3432
|
const key = keyBuilderFromType$3(luvio, input);
|
|
3641
|
-
const existingRecord = store.readEntry(key);
|
|
3642
3433
|
const ttlToUse = TTL$3;
|
|
3643
|
-
|
|
3644
|
-
fullPath: key,
|
|
3645
|
-
parent: path.parent,
|
|
3646
|
-
propertyName: path.propertyName,
|
|
3647
|
-
ttl: ttlToUse
|
|
3648
|
-
});
|
|
3649
|
-
if (existingRecord === undefined || equals$5(existingRecord, incomingRecord) === false) {
|
|
3650
|
-
luvio.storePublish(key, incomingRecord);
|
|
3651
|
-
}
|
|
3652
|
-
{
|
|
3653
|
-
const storeMetadataParams = {
|
|
3654
|
-
ttl: ttlToUse,
|
|
3655
|
-
namespace: "LearningContentPlatform",
|
|
3656
|
-
version: VERSION$5,
|
|
3657
|
-
representationName: RepresentationType$3,
|
|
3658
|
-
};
|
|
3659
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
3660
|
-
}
|
|
3434
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "LearningContentPlatform", VERSION$5, RepresentationType$3, equals$5);
|
|
3661
3435
|
return createLink(key);
|
|
3662
3436
|
};
|
|
3663
3437
|
function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3724,13 +3498,11 @@ function createResourceRequest$3(config) {
|
|
|
3724
3498
|
};
|
|
3725
3499
|
}
|
|
3726
3500
|
|
|
3727
|
-
const
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
}
|
|
3733
|
-
};
|
|
3501
|
+
const adapterName$3 = 'getLearningModel';
|
|
3502
|
+
const getLearningModel_ConfigPropertyMetadata = [
|
|
3503
|
+
generateParamConfigMetadata('learningItemId', true),
|
|
3504
|
+
];
|
|
3505
|
+
const getLearningModel_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getLearningModel_ConfigPropertyMetadata);
|
|
3734
3506
|
function createResourceParams$3(config) {
|
|
3735
3507
|
const resourceParams = {
|
|
3736
3508
|
urlParams: {
|
|
@@ -3796,21 +3568,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
|
|
|
3796
3568
|
});
|
|
3797
3569
|
}
|
|
3798
3570
|
function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
|
|
3799
|
-
|
|
3800
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
3801
|
-
const dispatchOptions = {
|
|
3802
|
-
resourceRequestContext: {
|
|
3803
|
-
requestCorrelator,
|
|
3804
|
-
luvioRequestMethod: undefined,
|
|
3805
|
-
},
|
|
3806
|
-
eventObservers
|
|
3807
|
-
};
|
|
3808
|
-
if (networkPriority !== 'normal') {
|
|
3809
|
-
dispatchOptions.overrides = {
|
|
3810
|
-
priority: networkPriority
|
|
3811
|
-
};
|
|
3812
|
-
}
|
|
3813
|
-
return buildNetworkSnapshot$3(luvio, config, dispatchOptions);
|
|
3571
|
+
return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
|
|
3814
3572
|
}
|
|
3815
3573
|
function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
|
|
3816
3574
|
const { luvio, config } = context;
|
|
@@ -3948,26 +3706,8 @@ const ingest$2 = function LearningPracticeRepresentationIngest(input, path, luvi
|
|
|
3948
3706
|
}
|
|
3949
3707
|
}
|
|
3950
3708
|
const key = keyBuilderFromType$2(luvio, input);
|
|
3951
|
-
const existingRecord = store.readEntry(key);
|
|
3952
3709
|
const ttlToUse = TTL$2;
|
|
3953
|
-
|
|
3954
|
-
fullPath: key,
|
|
3955
|
-
parent: path.parent,
|
|
3956
|
-
propertyName: path.propertyName,
|
|
3957
|
-
ttl: ttlToUse
|
|
3958
|
-
});
|
|
3959
|
-
if (existingRecord === undefined || equals$4(existingRecord, incomingRecord) === false) {
|
|
3960
|
-
luvio.storePublish(key, incomingRecord);
|
|
3961
|
-
}
|
|
3962
|
-
{
|
|
3963
|
-
const storeMetadataParams = {
|
|
3964
|
-
ttl: ttlToUse,
|
|
3965
|
-
namespace: "LearningContentPlatform",
|
|
3966
|
-
version: VERSION$4,
|
|
3967
|
-
representationName: RepresentationType$2,
|
|
3968
|
-
};
|
|
3969
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
3970
|
-
}
|
|
3710
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "LearningContentPlatform", VERSION$4, RepresentationType$2, equals$4);
|
|
3971
3711
|
return createLink(key);
|
|
3972
3712
|
};
|
|
3973
3713
|
function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4041,13 +3781,11 @@ function createResourceRequestFromRepresentation$2(representation) {
|
|
|
4041
3781
|
return createResourceRequest$2(config);
|
|
4042
3782
|
}
|
|
4043
3783
|
|
|
4044
|
-
const
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
}
|
|
4050
|
-
};
|
|
3784
|
+
const adapterName$2 = 'getLearningPractice';
|
|
3785
|
+
const getLearningPractice_ConfigPropertyMetadata = [
|
|
3786
|
+
generateParamConfigMetadata('learningItemId', true),
|
|
3787
|
+
];
|
|
3788
|
+
const getLearningPractice_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getLearningPractice_ConfigPropertyMetadata);
|
|
4051
3789
|
function createResourceParams$2(config) {
|
|
4052
3790
|
const resourceParams = {
|
|
4053
3791
|
urlParams: {
|
|
@@ -4113,21 +3851,7 @@ function buildNetworkSnapshot$2(luvio, config, options) {
|
|
|
4113
3851
|
});
|
|
4114
3852
|
}
|
|
4115
3853
|
function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
|
|
4116
|
-
|
|
4117
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
4118
|
-
const dispatchOptions = {
|
|
4119
|
-
resourceRequestContext: {
|
|
4120
|
-
requestCorrelator,
|
|
4121
|
-
luvioRequestMethod: undefined,
|
|
4122
|
-
},
|
|
4123
|
-
eventObservers
|
|
4124
|
-
};
|
|
4125
|
-
if (networkPriority !== 'normal') {
|
|
4126
|
-
dispatchOptions.overrides = {
|
|
4127
|
-
priority: networkPriority
|
|
4128
|
-
};
|
|
4129
|
-
}
|
|
4130
|
-
return buildNetworkSnapshot$2(luvio, config, dispatchOptions);
|
|
3854
|
+
return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$2, undefined, false);
|
|
4131
3855
|
}
|
|
4132
3856
|
function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
|
|
4133
3857
|
const { luvio, config } = context;
|
|
@@ -4724,26 +4448,8 @@ const ingest$1 = function TrailheadModuleRepresentationIngest(input, path, luvio
|
|
|
4724
4448
|
}
|
|
4725
4449
|
}
|
|
4726
4450
|
const key = keyBuilderFromType$1(luvio, input);
|
|
4727
|
-
const existingRecord = store.readEntry(key);
|
|
4728
4451
|
const ttlToUse = TTL$1;
|
|
4729
|
-
|
|
4730
|
-
fullPath: key,
|
|
4731
|
-
parent: path.parent,
|
|
4732
|
-
propertyName: path.propertyName,
|
|
4733
|
-
ttl: ttlToUse
|
|
4734
|
-
});
|
|
4735
|
-
if (existingRecord === undefined || equals$2(existingRecord, incomingRecord) === false) {
|
|
4736
|
-
luvio.storePublish(key, incomingRecord);
|
|
4737
|
-
}
|
|
4738
|
-
{
|
|
4739
|
-
const storeMetadataParams = {
|
|
4740
|
-
ttl: ttlToUse,
|
|
4741
|
-
namespace: "LearningContentPlatform",
|
|
4742
|
-
version: VERSION$2,
|
|
4743
|
-
representationName: RepresentationType$1,
|
|
4744
|
-
};
|
|
4745
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
4746
|
-
}
|
|
4452
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "LearningContentPlatform", VERSION$2, RepresentationType$1, equals$2);
|
|
4747
4453
|
return createLink(key);
|
|
4748
4454
|
};
|
|
4749
4455
|
function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4817,13 +4523,11 @@ function createResourceRequestFromRepresentation$1(representation) {
|
|
|
4817
4523
|
return createResourceRequest$1(config);
|
|
4818
4524
|
}
|
|
4819
4525
|
|
|
4820
|
-
const
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
}
|
|
4826
|
-
};
|
|
4526
|
+
const adapterName$1 = 'getModule';
|
|
4527
|
+
const getModule_ConfigPropertyMetadata = [
|
|
4528
|
+
generateParamConfigMetadata('moduleId', true),
|
|
4529
|
+
];
|
|
4530
|
+
const getModule_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getModule_ConfigPropertyMetadata);
|
|
4827
4531
|
function createResourceParams$1(config) {
|
|
4828
4532
|
const resourceParams = {
|
|
4829
4533
|
urlParams: {
|
|
@@ -4889,21 +4593,7 @@ function buildNetworkSnapshot$1(luvio, config, options) {
|
|
|
4889
4593
|
});
|
|
4890
4594
|
}
|
|
4891
4595
|
function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
|
|
4892
|
-
|
|
4893
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
4894
|
-
const dispatchOptions = {
|
|
4895
|
-
resourceRequestContext: {
|
|
4896
|
-
requestCorrelator,
|
|
4897
|
-
luvioRequestMethod: undefined,
|
|
4898
|
-
},
|
|
4899
|
-
eventObservers
|
|
4900
|
-
};
|
|
4901
|
-
if (networkPriority !== 'normal') {
|
|
4902
|
-
dispatchOptions.overrides = {
|
|
4903
|
-
priority: networkPriority
|
|
4904
|
-
};
|
|
4905
|
-
}
|
|
4906
|
-
return buildNetworkSnapshot$1(luvio, config, dispatchOptions);
|
|
4596
|
+
return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot$1, undefined, false);
|
|
4907
4597
|
}
|
|
4908
4598
|
function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
|
|
4909
4599
|
const { luvio, config } = context;
|
|
@@ -5170,26 +4860,8 @@ const ingest = function LearningTextLessonRepresentationIngest(input, path, luvi
|
|
|
5170
4860
|
}
|
|
5171
4861
|
}
|
|
5172
4862
|
const key = keyBuilderFromType(luvio, input);
|
|
5173
|
-
const existingRecord = store.readEntry(key);
|
|
5174
4863
|
const ttlToUse = TTL;
|
|
5175
|
-
|
|
5176
|
-
fullPath: key,
|
|
5177
|
-
parent: path.parent,
|
|
5178
|
-
propertyName: path.propertyName,
|
|
5179
|
-
ttl: ttlToUse
|
|
5180
|
-
});
|
|
5181
|
-
if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
|
|
5182
|
-
luvio.storePublish(key, incomingRecord);
|
|
5183
|
-
}
|
|
5184
|
-
{
|
|
5185
|
-
const storeMetadataParams = {
|
|
5186
|
-
ttl: ttlToUse,
|
|
5187
|
-
namespace: "LearningContentPlatform",
|
|
5188
|
-
version: VERSION,
|
|
5189
|
-
representationName: RepresentationType,
|
|
5190
|
-
};
|
|
5191
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
5192
|
-
}
|
|
4864
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "LearningContentPlatform", VERSION, RepresentationType, equals);
|
|
5193
4865
|
return createLink(key);
|
|
5194
4866
|
};
|
|
5195
4867
|
function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5263,13 +4935,11 @@ function createResourceRequestFromRepresentation(representation) {
|
|
|
5263
4935
|
return createResourceRequest(config);
|
|
5264
4936
|
}
|
|
5265
4937
|
|
|
5266
|
-
const
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
}
|
|
5272
|
-
};
|
|
4938
|
+
const adapterName = 'getTextLesson';
|
|
4939
|
+
const getTextLesson_ConfigPropertyMetadata = [
|
|
4940
|
+
generateParamConfigMetadata('learningItemId', true),
|
|
4941
|
+
];
|
|
4942
|
+
const getTextLesson_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getTextLesson_ConfigPropertyMetadata);
|
|
5273
4943
|
function createResourceParams(config) {
|
|
5274
4944
|
const resourceParams = {
|
|
5275
4945
|
urlParams: {
|
|
@@ -5335,21 +5005,7 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
5335
5005
|
});
|
|
5336
5006
|
}
|
|
5337
5007
|
function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
|
|
5338
|
-
|
|
5339
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
5340
|
-
const dispatchOptions = {
|
|
5341
|
-
resourceRequestContext: {
|
|
5342
|
-
requestCorrelator,
|
|
5343
|
-
luvioRequestMethod: undefined,
|
|
5344
|
-
},
|
|
5345
|
-
eventObservers
|
|
5346
|
-
};
|
|
5347
|
-
if (networkPriority !== 'normal') {
|
|
5348
|
-
dispatchOptions.overrides = {
|
|
5349
|
-
priority: networkPriority
|
|
5350
|
-
};
|
|
5351
|
-
}
|
|
5352
|
-
return buildNetworkSnapshot(luvio, config, dispatchOptions);
|
|
5008
|
+
return buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
|
|
5353
5009
|
}
|
|
5354
5010
|
function buildCachedSnapshotCachePolicy(context, storeLookup) {
|
|
5355
5011
|
const { luvio, config } = context;
|
|
@@ -5509,4 +5165,4 @@ withDefaultLuvio((luvio) => {
|
|
|
5509
5165
|
});
|
|
5510
5166
|
|
|
5511
5167
|
export { evaluateLearningItem, getFeaturedItemsRecommendedList, getFeaturedItemsRecommendedList_imperative, getFeaturedItemsRelatedList, getFeaturedItemsRelatedList_imperative, getLearningConfig, getLearningConfig_imperative, getLearningItemProgress, getLearningItemProgress_imperative, getLearningItemsList, getLearningItemsList_imperative, getLearningModel, getLearningModel_imperative, getLearningPractice, getLearningPracticeNotifyChange, getLearningPractice_imperative, getModule, getModuleNotifyChange, getModule_imperative, getTextLesson, getTextLessonNotifyChange, getTextLesson_imperative };
|
|
5512
|
-
// version: 1.213.
|
|
5168
|
+
// version: 1.213.1-79de10fe1
|