@salesforce/lds-adapters-platform-learning-content 1.137.0 → 1.138.0

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/sfdc/index.js CHANGED
@@ -101,7 +101,7 @@ function createLink(ref) {
101
101
  };
102
102
  }
103
103
 
104
- function validate$k(obj, path = 'EvaluateLearningItemInputRepresentation') {
104
+ function validate$i(obj, path = 'EvaluateLearningItemInputRepresentation') {
105
105
  const v_error = (() => {
106
106
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
107
107
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -131,9 +131,9 @@ function validate$k(obj, path = 'EvaluateLearningItemInputRepresentation') {
131
131
  return v_error === undefined ? null : v_error;
132
132
  }
133
133
 
134
- const TTL$9 = 15000;
135
- const VERSION$j = "ef3b97b73983e10731031f11a195bba6";
136
- function validate$j(obj, path = 'LearningItemProgressRepresentation') {
134
+ const TTL$8 = 15000;
135
+ const VERSION$h = "ef3b97b73983e10731031f11a195bba6";
136
+ function validate$h(obj, path = 'LearningItemProgressRepresentation') {
137
137
  const v_error = (() => {
138
138
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
139
139
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -203,23 +203,23 @@ function validate$j(obj, path = 'LearningItemProgressRepresentation') {
203
203
  })();
204
204
  return v_error === undefined ? null : v_error;
205
205
  }
206
- const RepresentationType$f = 'LearningItemProgressRepresentation';
207
- function keyBuilder$x(luvio, config) {
208
- return keyPrefix + '::' + RepresentationType$f + ':' + config.learning_item_id;
206
+ const RepresentationType$e = 'LearningItemProgressRepresentation';
207
+ function keyBuilder$u(luvio, config) {
208
+ return keyPrefix + '::' + RepresentationType$e + ':' + config.learning_item_id;
209
209
  }
210
- function keyBuilderFromType$9(luvio, object) {
210
+ function keyBuilderFromType$8(luvio, object) {
211
211
  const keyParams = {
212
212
  learning_item_id: object.learningItemId
213
213
  };
214
- return keyBuilder$x(luvio, keyParams);
214
+ return keyBuilder$u(luvio, keyParams);
215
215
  }
216
- function normalize$f(input, existing, path, luvio, store, timestamp) {
216
+ function normalize$e(input, existing, path, luvio, store, timestamp) {
217
217
  return input;
218
218
  }
219
- const select$w = function LearningItemProgressRepresentationSelect() {
219
+ const select$t = function LearningItemProgressRepresentationSelect() {
220
220
  return {
221
221
  kind: 'Fragment',
222
- version: VERSION$j,
222
+ version: VERSION$h,
223
223
  private: [],
224
224
  selections: [
225
225
  {
@@ -241,7 +241,7 @@ const select$w = function LearningItemProgressRepresentationSelect() {
241
241
  ]
242
242
  };
243
243
  };
244
- function equals$j(existing, incoming) {
244
+ function equals$h(existing, incoming) {
245
245
  const existing_isCompleted = existing.isCompleted;
246
246
  const incoming_isCompleted = incoming.isCompleted;
247
247
  if (!(existing_isCompleted === incoming_isCompleted)) {
@@ -264,61 +264,61 @@ function equals$j(existing, incoming) {
264
264
  }
265
265
  return true;
266
266
  }
267
- const ingest$f = function LearningItemProgressRepresentationIngest(input, path, luvio, store, timestamp) {
267
+ const ingest$e = function LearningItemProgressRepresentationIngest(input, path, luvio, store, timestamp) {
268
268
  if (process.env.NODE_ENV !== 'production') {
269
- const validateError = validate$j(input);
269
+ const validateError = validate$h(input);
270
270
  if (validateError !== null) {
271
271
  throw validateError;
272
272
  }
273
273
  }
274
- const key = keyBuilderFromType$9(luvio, input);
274
+ const key = keyBuilderFromType$8(luvio, input);
275
275
  const existingRecord = store.readEntry(key);
276
- const ttlToUse = TTL$9;
277
- let incomingRecord = normalize$f(input, store.readEntry(key), {
276
+ const ttlToUse = TTL$8;
277
+ let incomingRecord = normalize$e(input, store.readEntry(key), {
278
278
  fullPath: key,
279
279
  parent: path.parent,
280
280
  propertyName: path.propertyName,
281
281
  ttl: ttlToUse
282
282
  });
283
- if (existingRecord === undefined || equals$j(existingRecord, incomingRecord) === false) {
283
+ if (existingRecord === undefined || equals$h(existingRecord, incomingRecord) === false) {
284
284
  luvio.storePublish(key, incomingRecord);
285
285
  }
286
286
  {
287
287
  const storeMetadataParams = {
288
288
  ttl: ttlToUse,
289
289
  namespace: "LearningContentPlatform",
290
- version: VERSION$j,
291
- representationName: RepresentationType$f,
290
+ version: VERSION$h,
291
+ representationName: RepresentationType$e,
292
292
  };
293
293
  luvio.publishStoreMetadata(key, storeMetadataParams);
294
294
  }
295
295
  return createLink(key);
296
296
  };
297
- function getTypeCacheKeys$f(luvio, input, fullPathFactory) {
297
+ function getTypeCacheKeys$e(luvio, input, fullPathFactory) {
298
298
  const rootKeySet = new StoreKeyMap();
299
299
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
300
- const rootKey = keyBuilderFromType$9(luvio, input);
300
+ const rootKey = keyBuilderFromType$8(luvio, input);
301
301
  rootKeySet.set(rootKey, {
302
302
  namespace: keyPrefix,
303
- representationName: RepresentationType$f,
303
+ representationName: RepresentationType$e,
304
304
  mergeable: false
305
305
  });
306
306
  return rootKeySet;
307
307
  }
308
308
 
309
- function select$v(luvio, params) {
310
- return select$w();
309
+ function select$s(luvio, params) {
310
+ return select$t();
311
311
  }
312
- function getResponseCacheKeys$c(luvio, resourceParams, response) {
313
- return getTypeCacheKeys$f(luvio, response);
312
+ function getResponseCacheKeys$b(luvio, resourceParams, response) {
313
+ return getTypeCacheKeys$e(luvio, response);
314
314
  }
315
- function ingestSuccess$c(luvio, resourceParams, response) {
315
+ function ingestSuccess$b(luvio, resourceParams, response) {
316
316
  const { body } = response;
317
- const key = keyBuilderFromType$9(luvio, body);
318
- luvio.storeIngest(key, ingest$f, body);
317
+ const key = keyBuilderFromType$8(luvio, body);
318
+ luvio.storeIngest(key, ingest$e, body);
319
319
  const snapshot = luvio.storeLookup({
320
320
  recordId: key,
321
- node: select$v(),
321
+ node: select$s(),
322
322
  variables: {},
323
323
  });
324
324
  if (process.env.NODE_ENV !== 'production') {
@@ -329,7 +329,7 @@ function ingestSuccess$c(luvio, resourceParams, response) {
329
329
  deepFreeze(snapshot.data);
330
330
  return snapshot;
331
331
  }
332
- function createResourceRequest$c(config) {
332
+ function createResourceRequest$b(config) {
333
333
  const headers = {};
334
334
  return {
335
335
  baseUri: '/services/data/v59.0',
@@ -350,7 +350,7 @@ const evaluateLearningItem_ConfigPropertyNames = {
350
350
  optional: []
351
351
  }
352
352
  };
353
- function createResourceParams$c(config) {
353
+ function createResourceParams$b(config) {
354
354
  const resourceParams = {
355
355
  body: {
356
356
  payload: config.payload
@@ -358,37 +358,37 @@ function createResourceParams$c(config) {
358
358
  };
359
359
  return resourceParams;
360
360
  }
361
- function typeCheckConfig$c(untrustedConfig) {
361
+ function typeCheckConfig$b(untrustedConfig) {
362
362
  const config = {};
363
363
  const untrustedConfig_payload = untrustedConfig.payload;
364
- const referenceEvaluateLearningItemInputRepresentationValidationError = validate$k(untrustedConfig_payload);
364
+ const referenceEvaluateLearningItemInputRepresentationValidationError = validate$i(untrustedConfig_payload);
365
365
  if (referenceEvaluateLearningItemInputRepresentationValidationError === null) {
366
366
  config.payload = untrustedConfig_payload;
367
367
  }
368
368
  return config;
369
369
  }
370
- function validateAdapterConfig$c(untrustedConfig, configPropertyNames) {
370
+ function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
371
371
  if (!untrustedIsObject(untrustedConfig)) {
372
372
  return null;
373
373
  }
374
374
  if (process.env.NODE_ENV !== 'production') {
375
375
  validateConfig(untrustedConfig, configPropertyNames);
376
376
  }
377
- const config = typeCheckConfig$c(untrustedConfig);
377
+ const config = typeCheckConfig$b(untrustedConfig);
378
378
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
379
379
  return null;
380
380
  }
381
381
  return config;
382
382
  }
383
- function buildNetworkSnapshot$c(luvio, config, options) {
384
- const resourceParams = createResourceParams$c(config);
385
- const request = createResourceRequest$c(resourceParams);
383
+ function buildNetworkSnapshot$b(luvio, config, options) {
384
+ const resourceParams = createResourceParams$b(config);
385
+ const request = createResourceRequest$b(resourceParams);
386
386
  return luvio.dispatchResourceRequest(request, options)
387
387
  .then((response) => {
388
388
  return luvio.handleSuccessResponse(() => {
389
- const snapshot = ingestSuccess$c(luvio, resourceParams, response);
389
+ const snapshot = ingestSuccess$b(luvio, resourceParams, response);
390
390
  return luvio.storeBroadcast().then(() => snapshot);
391
- }, () => getResponseCacheKeys$c(luvio, resourceParams, response.body));
391
+ }, () => getResponseCacheKeys$b(luvio, resourceParams, response.body));
392
392
  }, (response) => {
393
393
  deepFreeze(response);
394
394
  throw response;
@@ -396,18 +396,18 @@ function buildNetworkSnapshot$c(luvio, config, options) {
396
396
  }
397
397
  const evaluateLearningItemAdapterFactory = (luvio) => {
398
398
  return function evaluateLearningItem(untrustedConfig) {
399
- const config = validateAdapterConfig$c(untrustedConfig, evaluateLearningItem_ConfigPropertyNames);
399
+ const config = validateAdapterConfig$b(untrustedConfig, evaluateLearningItem_ConfigPropertyNames);
400
400
  // Invalid or incomplete config
401
401
  if (config === null) {
402
402
  throw new Error('Invalid config for "evaluateLearningItem"');
403
403
  }
404
- return buildNetworkSnapshot$c(luvio, config);
404
+ return buildNetworkSnapshot$b(luvio, config);
405
405
  };
406
406
  };
407
407
 
408
- const TTL$8 = 15000;
409
- const VERSION$i = "b489f9f2cbdc91a04dd15b4d467b6760";
410
- function validate$i(obj, path = 'FeaturedItemRepresentation') {
408
+ const TTL$7 = 15000;
409
+ const VERSION$g = "b489f9f2cbdc91a04dd15b4d467b6760";
410
+ function validate$g(obj, path = 'FeaturedItemRepresentation') {
411
411
  const v_error = (() => {
412
412
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
413
413
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -804,23 +804,23 @@ function validate$i(obj, path = 'FeaturedItemRepresentation') {
804
804
  })();
805
805
  return v_error === undefined ? null : v_error;
806
806
  }
807
- const RepresentationType$e = 'FeaturedItemRepresentation';
808
- function keyBuilder$w(luvio, config) {
809
- return keyPrefix + '::' + RepresentationType$e + ':' + config.id;
807
+ const RepresentationType$d = 'FeaturedItemRepresentation';
808
+ function keyBuilder$t(luvio, config) {
809
+ return keyPrefix + '::' + RepresentationType$d + ':' + config.id;
810
810
  }
811
- function keyBuilderFromType$8(luvio, object) {
811
+ function keyBuilderFromType$7(luvio, object) {
812
812
  const keyParams = {
813
813
  id: object.id
814
814
  };
815
- return keyBuilder$w(luvio, keyParams);
815
+ return keyBuilder$t(luvio, keyParams);
816
816
  }
817
- function normalize$e(input, existing, path, luvio, store, timestamp) {
817
+ function normalize$d(input, existing, path, luvio, store, timestamp) {
818
818
  return input;
819
819
  }
820
- const select$u = function FeaturedItemRepresentationSelect() {
820
+ const select$r = function FeaturedItemRepresentationSelect() {
821
821
  return {
822
822
  kind: 'Fragment',
823
- version: VERSION$i,
823
+ version: VERSION$g,
824
824
  private: [],
825
825
  selections: [
826
826
  {
@@ -902,7 +902,7 @@ const select$u = function FeaturedItemRepresentationSelect() {
902
902
  ]
903
903
  };
904
904
  };
905
- function equals$i(existing, incoming) {
905
+ function equals$g(existing, incoming) {
906
906
  const existing_description = existing.description;
907
907
  const incoming_description = incoming.description;
908
908
  if (!(existing_description === incoming_description)) {
@@ -1000,50 +1000,50 @@ function equals$i(existing, incoming) {
1000
1000
  }
1001
1001
  return true;
1002
1002
  }
1003
- const ingest$e = function FeaturedItemRepresentationIngest(input, path, luvio, store, timestamp) {
1003
+ const ingest$d = function FeaturedItemRepresentationIngest(input, path, luvio, store, timestamp) {
1004
1004
  if (process.env.NODE_ENV !== 'production') {
1005
- const validateError = validate$i(input);
1005
+ const validateError = validate$g(input);
1006
1006
  if (validateError !== null) {
1007
1007
  throw validateError;
1008
1008
  }
1009
1009
  }
1010
- const key = keyBuilderFromType$8(luvio, input);
1010
+ const key = keyBuilderFromType$7(luvio, input);
1011
1011
  const existingRecord = store.readEntry(key);
1012
- const ttlToUse = TTL$8;
1013
- let incomingRecord = normalize$e(input, store.readEntry(key), {
1012
+ const ttlToUse = TTL$7;
1013
+ let incomingRecord = normalize$d(input, store.readEntry(key), {
1014
1014
  fullPath: key,
1015
1015
  parent: path.parent,
1016
1016
  propertyName: path.propertyName,
1017
1017
  ttl: ttlToUse
1018
1018
  });
1019
- if (existingRecord === undefined || equals$i(existingRecord, incomingRecord) === false) {
1019
+ if (existingRecord === undefined || equals$g(existingRecord, incomingRecord) === false) {
1020
1020
  luvio.storePublish(key, incomingRecord);
1021
1021
  }
1022
1022
  {
1023
1023
  const storeMetadataParams = {
1024
1024
  ttl: ttlToUse,
1025
1025
  namespace: "LearningContentPlatform",
1026
- version: VERSION$i,
1027
- representationName: RepresentationType$e,
1026
+ version: VERSION$g,
1027
+ representationName: RepresentationType$d,
1028
1028
  };
1029
1029
  luvio.publishStoreMetadata(key, storeMetadataParams);
1030
1030
  }
1031
1031
  return createLink(key);
1032
1032
  };
1033
- function getTypeCacheKeys$e(luvio, input, fullPathFactory) {
1033
+ function getTypeCacheKeys$d(luvio, input, fullPathFactory) {
1034
1034
  const rootKeySet = new StoreKeyMap();
1035
1035
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1036
- const rootKey = keyBuilderFromType$8(luvio, input);
1036
+ const rootKey = keyBuilderFromType$7(luvio, input);
1037
1037
  rootKeySet.set(rootKey, {
1038
1038
  namespace: keyPrefix,
1039
- representationName: RepresentationType$e,
1039
+ representationName: RepresentationType$d,
1040
1040
  mergeable: false
1041
1041
  });
1042
1042
  return rootKeySet;
1043
1043
  }
1044
1044
 
1045
- const VERSION$h = "94c7194d9578589364c6efd021226634";
1046
- function validate$h(obj, path = 'FeaturedItemRecommendedListRepresentation') {
1045
+ const VERSION$f = "94c7194d9578589364c6efd021226634";
1046
+ function validate$f(obj, path = 'FeaturedItemRecommendedListRepresentation') {
1047
1047
  const v_error = (() => {
1048
1048
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1049
1049
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1063,14 +1063,14 @@ function validate$h(obj, path = 'FeaturedItemRecommendedListRepresentation') {
1063
1063
  })();
1064
1064
  return v_error === undefined ? null : v_error;
1065
1065
  }
1066
- const RepresentationType$d = 'FeaturedItemRecommendedListRepresentation';
1067
- function normalize$d(input, existing, path, luvio, store, timestamp) {
1066
+ const RepresentationType$c = 'FeaturedItemRecommendedListRepresentation';
1067
+ function normalize$c(input, existing, path, luvio, store, timestamp) {
1068
1068
  const input_recommendedList = input.recommendedList;
1069
1069
  const input_recommendedList_id = path.fullPath + '__recommendedList';
1070
1070
  for (let i = 0; i < input_recommendedList.length; i++) {
1071
1071
  const input_recommendedList_item = input_recommendedList[i];
1072
1072
  let input_recommendedList_item_id = input_recommendedList_id + '__' + i;
1073
- input_recommendedList[i] = ingest$e(input_recommendedList_item, {
1073
+ input_recommendedList[i] = ingest$d(input_recommendedList_item, {
1074
1074
  fullPath: input_recommendedList_item_id,
1075
1075
  propertyName: i,
1076
1076
  parent: {
@@ -1083,22 +1083,22 @@ function normalize$d(input, existing, path, luvio, store, timestamp) {
1083
1083
  }
1084
1084
  return input;
1085
1085
  }
1086
- const select$t = function FeaturedItemRecommendedListRepresentationSelect() {
1086
+ const select$q = function FeaturedItemRecommendedListRepresentationSelect() {
1087
1087
  return {
1088
1088
  kind: 'Fragment',
1089
- version: VERSION$h,
1089
+ version: VERSION$f,
1090
1090
  private: [],
1091
1091
  selections: [
1092
1092
  {
1093
1093
  name: 'recommendedList',
1094
1094
  kind: 'Link',
1095
1095
  plural: true,
1096
- fragment: select$u()
1096
+ fragment: select$r()
1097
1097
  }
1098
1098
  ]
1099
1099
  };
1100
1100
  };
1101
- function equals$h(existing, incoming) {
1101
+ function equals$f(existing, incoming) {
1102
1102
  const existing_recommendedList = existing.recommendedList;
1103
1103
  const incoming_recommendedList = incoming.recommendedList;
1104
1104
  const equals_recommendedList_items = equalsArray(existing_recommendedList, incoming_recommendedList, (existing_recommendedList_item, incoming_recommendedList_item) => {
@@ -1111,9 +1111,9 @@ function equals$h(existing, incoming) {
1111
1111
  }
1112
1112
  return true;
1113
1113
  }
1114
- const ingest$d = function FeaturedItemRecommendedListRepresentationIngest(input, path, luvio, store, timestamp) {
1114
+ const ingest$c = function FeaturedItemRecommendedListRepresentationIngest(input, path, luvio, store, timestamp) {
1115
1115
  if (process.env.NODE_ENV !== 'production') {
1116
- const validateError = validate$h(input);
1116
+ const validateError = validate$f(input);
1117
1117
  if (validateError !== null) {
1118
1118
  throw validateError;
1119
1119
  }
@@ -1121,58 +1121,58 @@ const ingest$d = function FeaturedItemRecommendedListRepresentationIngest(input,
1121
1121
  const key = path.fullPath;
1122
1122
  const existingRecord = store.readEntry(key);
1123
1123
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
1124
- let incomingRecord = normalize$d(input, store.readEntry(key), {
1124
+ let incomingRecord = normalize$c(input, store.readEntry(key), {
1125
1125
  fullPath: key,
1126
1126
  parent: path.parent,
1127
1127
  propertyName: path.propertyName,
1128
1128
  ttl: ttlToUse
1129
1129
  }, luvio, store);
1130
- if (existingRecord === undefined || equals$h(existingRecord, incomingRecord) === false) {
1130
+ if (existingRecord === undefined || equals$f(existingRecord, incomingRecord) === false) {
1131
1131
  luvio.storePublish(key, incomingRecord);
1132
1132
  }
1133
1133
  if (ttlToUse !== undefined) {
1134
1134
  const storeMetadataParams = {
1135
1135
  ttl: ttlToUse,
1136
1136
  namespace: "LearningContentPlatform",
1137
- version: VERSION$h,
1138
- representationName: RepresentationType$d,
1137
+ version: VERSION$f,
1138
+ representationName: RepresentationType$c,
1139
1139
  };
1140
1140
  luvio.publishStoreMetadata(key, storeMetadataParams);
1141
1141
  }
1142
1142
  return createLink(key);
1143
1143
  };
1144
- function getTypeCacheKeys$d(luvio, input, fullPathFactory) {
1144
+ function getTypeCacheKeys$c(luvio, input, fullPathFactory) {
1145
1145
  const rootKeySet = new StoreKeyMap();
1146
1146
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1147
1147
  const rootKey = fullPathFactory();
1148
1148
  rootKeySet.set(rootKey, {
1149
1149
  namespace: keyPrefix,
1150
- representationName: RepresentationType$d,
1150
+ representationName: RepresentationType$c,
1151
1151
  mergeable: false
1152
1152
  });
1153
1153
  const input_recommendedList_length = input.recommendedList.length;
1154
1154
  for (let i = 0; i < input_recommendedList_length; i++) {
1155
- rootKeySet.merge(getTypeCacheKeys$e(luvio, input.recommendedList[i]));
1155
+ rootKeySet.merge(getTypeCacheKeys$d(luvio, input.recommendedList[i]));
1156
1156
  }
1157
1157
  return rootKeySet;
1158
1158
  }
1159
1159
 
1160
- function select$s(luvio, params) {
1161
- return select$t();
1160
+ function select$p(luvio, params) {
1161
+ return select$q();
1162
1162
  }
1163
- function keyBuilder$v(luvio, params) {
1163
+ function keyBuilder$s(luvio, params) {
1164
1164
  return keyPrefix + '::FeaturedItemRecommendedListRepresentation:(' + 'appId:' + params.queryParams.appId + ',' + 'context:' + params.queryParams.context + ')';
1165
1165
  }
1166
- function getResponseCacheKeys$b(luvio, resourceParams, response) {
1167
- return getTypeCacheKeys$d(luvio, response, () => keyBuilder$v(luvio, resourceParams));
1166
+ function getResponseCacheKeys$a(luvio, resourceParams, response) {
1167
+ return getTypeCacheKeys$c(luvio, response, () => keyBuilder$s(luvio, resourceParams));
1168
1168
  }
1169
- function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
1169
+ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
1170
1170
  const { body } = response;
1171
- const key = keyBuilder$v(luvio, resourceParams);
1172
- luvio.storeIngest(key, ingest$d, body);
1171
+ const key = keyBuilder$s(luvio, resourceParams);
1172
+ luvio.storeIngest(key, ingest$c, body);
1173
1173
  const snapshot = luvio.storeLookup({
1174
1174
  recordId: key,
1175
- node: select$s(),
1175
+ node: select$p(),
1176
1176
  variables: {},
1177
1177
  }, snapshotRefresh);
1178
1178
  if (process.env.NODE_ENV !== 'production') {
@@ -1183,13 +1183,13 @@ function ingestSuccess$b(luvio, resourceParams, response, snapshotRefresh) {
1183
1183
  deepFreeze(snapshot.data);
1184
1184
  return snapshot;
1185
1185
  }
1186
- function ingestError$b(luvio, params, error, snapshotRefresh) {
1187
- const key = keyBuilder$v(luvio, params);
1186
+ function ingestError$a(luvio, params, error, snapshotRefresh) {
1187
+ const key = keyBuilder$s(luvio, params);
1188
1188
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1189
1189
  luvio.storeIngestError(key, errorSnapshot);
1190
1190
  return errorSnapshot;
1191
1191
  }
1192
- function createResourceRequest$b(config) {
1192
+ function createResourceRequest$a(config) {
1193
1193
  const headers = {};
1194
1194
  return {
1195
1195
  baseUri: '/services/data/v59.0',
@@ -1210,7 +1210,7 @@ const getFeaturedItemsRecommendedList_ConfigPropertyNames = {
1210
1210
  optional: []
1211
1211
  }
1212
1212
  };
1213
- function createResourceParams$b(config) {
1213
+ function createResourceParams$a(config) {
1214
1214
  const resourceParams = {
1215
1215
  queryParams: {
1216
1216
  appId: config.appId, context: config.context
@@ -1218,11 +1218,11 @@ function createResourceParams$b(config) {
1218
1218
  };
1219
1219
  return resourceParams;
1220
1220
  }
1221
- function keyBuilder$u(luvio, config) {
1222
- const resourceParams = createResourceParams$b(config);
1223
- return keyBuilder$v(luvio, resourceParams);
1221
+ function keyBuilder$r(luvio, config) {
1222
+ const resourceParams = createResourceParams$a(config);
1223
+ return keyBuilder$s(luvio, resourceParams);
1224
1224
  }
1225
- function typeCheckConfig$b(untrustedConfig) {
1225
+ function typeCheckConfig$a(untrustedConfig) {
1226
1226
  const config = {};
1227
1227
  const untrustedConfig_appId = untrustedConfig.appId;
1228
1228
  if (typeof untrustedConfig_appId === 'string') {
@@ -1234,48 +1234,48 @@ function typeCheckConfig$b(untrustedConfig) {
1234
1234
  }
1235
1235
  return config;
1236
1236
  }
1237
- function validateAdapterConfig$b(untrustedConfig, configPropertyNames) {
1237
+ function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
1238
1238
  if (!untrustedIsObject(untrustedConfig)) {
1239
1239
  return null;
1240
1240
  }
1241
1241
  if (process.env.NODE_ENV !== 'production') {
1242
1242
  validateConfig(untrustedConfig, configPropertyNames);
1243
1243
  }
1244
- const config = typeCheckConfig$b(untrustedConfig);
1244
+ const config = typeCheckConfig$a(untrustedConfig);
1245
1245
  if (!areRequiredParametersPresent(config, configPropertyNames)) {
1246
1246
  return null;
1247
1247
  }
1248
1248
  return config;
1249
1249
  }
1250
- function adapterFragment$b(luvio, config) {
1251
- createResourceParams$b(config);
1252
- return select$s();
1250
+ function adapterFragment$a(luvio, config) {
1251
+ createResourceParams$a(config);
1252
+ return select$p();
1253
1253
  }
1254
- function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
1255
- const snapshot = ingestSuccess$b(luvio, resourceParams, response, {
1254
+ function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
1255
+ const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
1256
1256
  config,
1257
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
1257
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1258
1258
  });
1259
1259
  return luvio.storeBroadcast().then(() => snapshot);
1260
1260
  }
1261
- function onFetchResponseError$b(luvio, config, resourceParams, response) {
1262
- const snapshot = ingestError$b(luvio, resourceParams, response, {
1261
+ function onFetchResponseError$a(luvio, config, resourceParams, response) {
1262
+ const snapshot = ingestError$a(luvio, resourceParams, response, {
1263
1263
  config,
1264
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
1264
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1265
1265
  });
1266
1266
  return luvio.storeBroadcast().then(() => snapshot);
1267
1267
  }
1268
- function buildNetworkSnapshot$b(luvio, config, options) {
1269
- const resourceParams = createResourceParams$b(config);
1270
- const request = createResourceRequest$b(resourceParams);
1268
+ function buildNetworkSnapshot$a(luvio, config, options) {
1269
+ const resourceParams = createResourceParams$a(config);
1270
+ const request = createResourceRequest$a(resourceParams);
1271
1271
  return luvio.dispatchResourceRequest(request, options)
1272
1272
  .then((response) => {
1273
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$b(luvio, config, resourceParams, response), () => getResponseCacheKeys$b(luvio, resourceParams, response.body));
1273
+ return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => getResponseCacheKeys$a(luvio, resourceParams, response.body));
1274
1274
  }, (response) => {
1275
- return luvio.handleErrorResponse(() => onFetchResponseError$b(luvio, config, resourceParams, response));
1275
+ return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
1276
1276
  });
1277
1277
  }
1278
- function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
1278
+ function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
1279
1279
  const { luvio, config } = context;
1280
1280
  const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
1281
1281
  const dispatchOptions = {
@@ -1290,33 +1290,33 @@ function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext
1290
1290
  priority: networkPriority
1291
1291
  };
1292
1292
  }
1293
- return buildNetworkSnapshot$b(luvio, config, dispatchOptions);
1293
+ return buildNetworkSnapshot$a(luvio, config, dispatchOptions);
1294
1294
  }
1295
- function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
1295
+ function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
1296
1296
  const { luvio, config } = context;
1297
1297
  const selector = {
1298
- recordId: keyBuilder$u(luvio, config),
1299
- node: adapterFragment$b(luvio, config),
1298
+ recordId: keyBuilder$r(luvio, config),
1299
+ node: adapterFragment$a(luvio, config),
1300
1300
  variables: {},
1301
1301
  };
1302
1302
  const cacheSnapshot = storeLookup(selector, {
1303
1303
  config,
1304
- resolve: () => buildNetworkSnapshot$b(luvio, config, snapshotRefreshOptions)
1304
+ resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1305
1305
  });
1306
1306
  return cacheSnapshot;
1307
1307
  }
1308
1308
  const getFeaturedItemsRecommendedListAdapterFactory = (luvio) => function LearningContentPlatform__getFeaturedItemsRecommendedList(untrustedConfig, requestContext) {
1309
- const config = validateAdapterConfig$b(untrustedConfig, getFeaturedItemsRecommendedList_ConfigPropertyNames);
1309
+ const config = validateAdapterConfig$a(untrustedConfig, getFeaturedItemsRecommendedList_ConfigPropertyNames);
1310
1310
  // Invalid or incomplete config
1311
1311
  if (config === null) {
1312
1312
  return null;
1313
1313
  }
1314
1314
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1315
- buildCachedSnapshotCachePolicy$b, buildNetworkSnapshotCachePolicy$b);
1315
+ buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
1316
1316
  };
1317
1317
 
1318
- const VERSION$g = "5d7adb55f43466f61c4837ebf27eab61";
1319
- function validate$g(obj, path = 'FeaturedItemRelatedListRepresentation') {
1318
+ const VERSION$e = "5d7adb55f43466f61c4837ebf27eab61";
1319
+ function validate$e(obj, path = 'FeaturedItemRelatedListRepresentation') {
1320
1320
  const v_error = (() => {
1321
1321
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1322
1322
  return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
@@ -1336,14 +1336,14 @@ function validate$g(obj, path = 'FeaturedItemRelatedListRepresentation') {
1336
1336
  })();
1337
1337
  return v_error === undefined ? null : v_error;
1338
1338
  }
1339
- const RepresentationType$c = 'FeaturedItemRelatedListRepresentation';
1340
- function normalize$c(input, existing, path, luvio, store, timestamp) {
1339
+ const RepresentationType$b = 'FeaturedItemRelatedListRepresentation';
1340
+ function normalize$b(input, existing, path, luvio, store, timestamp) {
1341
1341
  const input_relatedList = input.relatedList;
1342
1342
  const input_relatedList_id = path.fullPath + '__relatedList';
1343
1343
  for (let i = 0; i < input_relatedList.length; i++) {
1344
1344
  const input_relatedList_item = input_relatedList[i];
1345
1345
  let input_relatedList_item_id = input_relatedList_id + '__' + i;
1346
- input_relatedList[i] = ingest$e(input_relatedList_item, {
1346
+ input_relatedList[i] = ingest$d(input_relatedList_item, {
1347
1347
  fullPath: input_relatedList_item_id,
1348
1348
  propertyName: i,
1349
1349
  parent: {
@@ -1356,22 +1356,22 @@ function normalize$c(input, existing, path, luvio, store, timestamp) {
1356
1356
  }
1357
1357
  return input;
1358
1358
  }
1359
- const select$r = function FeaturedItemRelatedListRepresentationSelect() {
1359
+ const select$o = function FeaturedItemRelatedListRepresentationSelect() {
1360
1360
  return {
1361
1361
  kind: 'Fragment',
1362
- version: VERSION$g,
1362
+ version: VERSION$e,
1363
1363
  private: [],
1364
1364
  selections: [
1365
1365
  {
1366
1366
  name: 'relatedList',
1367
1367
  kind: 'Link',
1368
1368
  plural: true,
1369
- fragment: select$u()
1369
+ fragment: select$r()
1370
1370
  }
1371
1371
  ]
1372
1372
  };
1373
1373
  };
1374
- function equals$g(existing, incoming) {
1374
+ function equals$e(existing, incoming) {
1375
1375
  const existing_relatedList = existing.relatedList;
1376
1376
  const incoming_relatedList = incoming.relatedList;
1377
1377
  const equals_relatedList_items = equalsArray(existing_relatedList, incoming_relatedList, (existing_relatedList_item, incoming_relatedList_item) => {
@@ -1384,9 +1384,9 @@ function equals$g(existing, incoming) {
1384
1384
  }
1385
1385
  return true;
1386
1386
  }
1387
- const ingest$c = function FeaturedItemRelatedListRepresentationIngest(input, path, luvio, store, timestamp) {
1387
+ const ingest$b = function FeaturedItemRelatedListRepresentationIngest(input, path, luvio, store, timestamp) {
1388
1388
  if (process.env.NODE_ENV !== 'production') {
1389
- const validateError = validate$g(input);
1389
+ const validateError = validate$e(input);
1390
1390
  if (validateError !== null) {
1391
1391
  throw validateError;
1392
1392
  }
@@ -1394,58 +1394,58 @@ const ingest$c = function FeaturedItemRelatedListRepresentationIngest(input, pat
1394
1394
  const key = path.fullPath;
1395
1395
  const existingRecord = store.readEntry(key);
1396
1396
  const ttlToUse = path.ttl !== undefined ? path.ttl : 2592000000;
1397
- let incomingRecord = normalize$c(input, store.readEntry(key), {
1397
+ let incomingRecord = normalize$b(input, store.readEntry(key), {
1398
1398
  fullPath: key,
1399
1399
  parent: path.parent,
1400
1400
  propertyName: path.propertyName,
1401
1401
  ttl: ttlToUse
1402
1402
  }, luvio, store);
1403
- if (existingRecord === undefined || equals$g(existingRecord, incomingRecord) === false) {
1403
+ if (existingRecord === undefined || equals$e(existingRecord, incomingRecord) === false) {
1404
1404
  luvio.storePublish(key, incomingRecord);
1405
1405
  }
1406
1406
  if (ttlToUse !== undefined) {
1407
1407
  const storeMetadataParams = {
1408
1408
  ttl: ttlToUse,
1409
1409
  namespace: "LearningContentPlatform",
1410
- version: VERSION$g,
1411
- representationName: RepresentationType$c,
1410
+ version: VERSION$e,
1411
+ representationName: RepresentationType$b,
1412
1412
  };
1413
1413
  luvio.publishStoreMetadata(key, storeMetadataParams);
1414
1414
  }
1415
1415
  return createLink(key);
1416
1416
  };
1417
- function getTypeCacheKeys$c(luvio, input, fullPathFactory) {
1417
+ function getTypeCacheKeys$b(luvio, input, fullPathFactory) {
1418
1418
  const rootKeySet = new StoreKeyMap();
1419
1419
  // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1420
1420
  const rootKey = fullPathFactory();
1421
1421
  rootKeySet.set(rootKey, {
1422
1422
  namespace: keyPrefix,
1423
- representationName: RepresentationType$c,
1423
+ representationName: RepresentationType$b,
1424
1424
  mergeable: false
1425
1425
  });
1426
1426
  const input_relatedList_length = input.relatedList.length;
1427
1427
  for (let i = 0; i < input_relatedList_length; i++) {
1428
- rootKeySet.merge(getTypeCacheKeys$e(luvio, input.relatedList[i]));
1428
+ rootKeySet.merge(getTypeCacheKeys$d(luvio, input.relatedList[i]));
1429
1429
  }
1430
1430
  return rootKeySet;
1431
1431
  }
1432
1432
 
1433
- function select$q(luvio, params) {
1434
- return select$r();
1433
+ function select$n(luvio, params) {
1434
+ return select$o();
1435
1435
  }
1436
- function keyBuilder$t(luvio, params) {
1436
+ function keyBuilder$q(luvio, params) {
1437
1437
  return keyPrefix + '::FeaturedItemRelatedListRepresentation:(' + 'appId:' + params.queryParams.appId + ',' + 'pageRef:' + params.queryParams.pageRef + ')';
1438
1438
  }
1439
- function getResponseCacheKeys$a(luvio, resourceParams, response) {
1440
- return getTypeCacheKeys$c(luvio, response, () => keyBuilder$t(luvio, resourceParams));
1439
+ function getResponseCacheKeys$9(luvio, resourceParams, response) {
1440
+ return getTypeCacheKeys$b(luvio, response, () => keyBuilder$q(luvio, resourceParams));
1441
1441
  }
1442
- function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
1442
+ function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
1443
1443
  const { body } = response;
1444
- const key = keyBuilder$t(luvio, resourceParams);
1445
- luvio.storeIngest(key, ingest$c, body);
1444
+ const key = keyBuilder$q(luvio, resourceParams);
1445
+ luvio.storeIngest(key, ingest$b, body);
1446
1446
  const snapshot = luvio.storeLookup({
1447
1447
  recordId: key,
1448
- node: select$q(),
1448
+ node: select$n(),
1449
1449
  variables: {},
1450
1450
  }, snapshotRefresh);
1451
1451
  if (process.env.NODE_ENV !== 'production') {
@@ -1456,13 +1456,13 @@ function ingestSuccess$a(luvio, resourceParams, response, snapshotRefresh) {
1456
1456
  deepFreeze(snapshot.data);
1457
1457
  return snapshot;
1458
1458
  }
1459
- function ingestError$a(luvio, params, error, snapshotRefresh) {
1460
- const key = keyBuilder$t(luvio, params);
1459
+ function ingestError$9(luvio, params, error, snapshotRefresh) {
1460
+ const key = keyBuilder$q(luvio, params);
1461
1461
  const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1462
1462
  luvio.storeIngestError(key, errorSnapshot);
1463
1463
  return errorSnapshot;
1464
1464
  }
1465
- function createResourceRequest$a(config) {
1465
+ function createResourceRequest$9(config) {
1466
1466
  const headers = {};
1467
1467
  return {
1468
1468
  baseUri: '/services/data/v59.0',
@@ -1483,7 +1483,7 @@ const getFeaturedItemsRelatedList_ConfigPropertyNames = {
1483
1483
  optional: []
1484
1484
  }
1485
1485
  };
1486
- function createResourceParams$a(config) {
1486
+ function createResourceParams$9(config) {
1487
1487
  const resourceParams = {
1488
1488
  queryParams: {
1489
1489
  appId: config.appId, pageRef: config.pageRef
@@ -1491,11 +1491,11 @@ function createResourceParams$a(config) {
1491
1491
  };
1492
1492
  return resourceParams;
1493
1493
  }
1494
- function keyBuilder$s(luvio, config) {
1495
- const resourceParams = createResourceParams$a(config);
1496
- return keyBuilder$t(luvio, resourceParams);
1494
+ function keyBuilder$p(luvio, config) {
1495
+ const resourceParams = createResourceParams$9(config);
1496
+ return keyBuilder$q(luvio, resourceParams);
1497
1497
  }
1498
- function typeCheckConfig$a(untrustedConfig) {
1498
+ function typeCheckConfig$9(untrustedConfig) {
1499
1499
  const config = {};
1500
1500
  const untrustedConfig_appId = untrustedConfig.appId;
1501
1501
  if (typeof untrustedConfig_appId === 'string') {
@@ -1507,480 +1507,6 @@ function typeCheckConfig$a(untrustedConfig) {
1507
1507
  }
1508
1508
  return config;
1509
1509
  }
1510
- function validateAdapterConfig$a(untrustedConfig, configPropertyNames) {
1511
- if (!untrustedIsObject(untrustedConfig)) {
1512
- return null;
1513
- }
1514
- if (process.env.NODE_ENV !== 'production') {
1515
- validateConfig(untrustedConfig, configPropertyNames);
1516
- }
1517
- const config = typeCheckConfig$a(untrustedConfig);
1518
- if (!areRequiredParametersPresent(config, configPropertyNames)) {
1519
- return null;
1520
- }
1521
- return config;
1522
- }
1523
- function adapterFragment$a(luvio, config) {
1524
- createResourceParams$a(config);
1525
- return select$q();
1526
- }
1527
- function onFetchResponseSuccess$a(luvio, config, resourceParams, response) {
1528
- const snapshot = ingestSuccess$a(luvio, resourceParams, response, {
1529
- config,
1530
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1531
- });
1532
- return luvio.storeBroadcast().then(() => snapshot);
1533
- }
1534
- function onFetchResponseError$a(luvio, config, resourceParams, response) {
1535
- const snapshot = ingestError$a(luvio, resourceParams, response, {
1536
- config,
1537
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1538
- });
1539
- return luvio.storeBroadcast().then(() => snapshot);
1540
- }
1541
- function buildNetworkSnapshot$a(luvio, config, options) {
1542
- const resourceParams = createResourceParams$a(config);
1543
- const request = createResourceRequest$a(resourceParams);
1544
- return luvio.dispatchResourceRequest(request, options)
1545
- .then((response) => {
1546
- return luvio.handleSuccessResponse(() => onFetchResponseSuccess$a(luvio, config, resourceParams, response), () => getResponseCacheKeys$a(luvio, resourceParams, response.body));
1547
- }, (response) => {
1548
- return luvio.handleErrorResponse(() => onFetchResponseError$a(luvio, config, resourceParams, response));
1549
- });
1550
- }
1551
- function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
1552
- const { luvio, config } = context;
1553
- const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
1554
- const dispatchOptions = {
1555
- resourceRequestContext: {
1556
- requestCorrelator,
1557
- luvioRequestMethod: undefined,
1558
- },
1559
- eventObservers
1560
- };
1561
- if (networkPriority !== 'normal') {
1562
- dispatchOptions.overrides = {
1563
- priority: networkPriority
1564
- };
1565
- }
1566
- return buildNetworkSnapshot$a(luvio, config, dispatchOptions);
1567
- }
1568
- function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
1569
- const { luvio, config } = context;
1570
- const selector = {
1571
- recordId: keyBuilder$s(luvio, config),
1572
- node: adapterFragment$a(luvio, config),
1573
- variables: {},
1574
- };
1575
- const cacheSnapshot = storeLookup(selector, {
1576
- config,
1577
- resolve: () => buildNetworkSnapshot$a(luvio, config, snapshotRefreshOptions)
1578
- });
1579
- return cacheSnapshot;
1580
- }
1581
- const getFeaturedItemsRelatedListAdapterFactory = (luvio) => function LearningContentPlatform__getFeaturedItemsRelatedList(untrustedConfig, requestContext) {
1582
- const config = validateAdapterConfig$a(untrustedConfig, getFeaturedItemsRelatedList_ConfigPropertyNames);
1583
- // Invalid or incomplete config
1584
- if (config === null) {
1585
- return null;
1586
- }
1587
- return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
1588
- buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
1589
- };
1590
-
1591
- const VERSION$f = "a415abdc6f1eb9f80ab2e7981189f769";
1592
- function validate$f(obj, path = 'SurveyQuestionResponseRepresetation') {
1593
- const v_error = (() => {
1594
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1595
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1596
- }
1597
- obj.avgScore;
1598
- const obj_isRatingResponse = obj.isRatingResponse;
1599
- const path_isRatingResponse = path + '.isRatingResponse';
1600
- if (typeof obj_isRatingResponse !== 'boolean') {
1601
- return new TypeError('Expected "boolean" but received "' + typeof obj_isRatingResponse + '" (at "' + path_isRatingResponse + '")');
1602
- }
1603
- const obj_questionDescription = obj.questionDescription;
1604
- const path_questionDescription = path + '.questionDescription';
1605
- if (typeof obj_questionDescription !== 'string') {
1606
- return new TypeError('Expected "string" but received "' + typeof obj_questionDescription + '" (at "' + path_questionDescription + '")');
1607
- }
1608
- const obj_questionId = obj.questionId;
1609
- const path_questionId = path + '.questionId';
1610
- if (typeof obj_questionId !== 'string') {
1611
- return new TypeError('Expected "string" but received "' + typeof obj_questionId + '" (at "' + path_questionId + '")');
1612
- }
1613
- const obj_questionName = obj.questionName;
1614
- const path_questionName = path + '.questionName';
1615
- if (typeof obj_questionName !== 'string') {
1616
- return new TypeError('Expected "string" but received "' + typeof obj_questionName + '" (at "' + path_questionName + '")');
1617
- }
1618
- const obj_ratingValues = obj.ratingValues;
1619
- const path_ratingValues = path + '.ratingValues';
1620
- if (!ArrayIsArray(obj_ratingValues)) {
1621
- return new TypeError('Expected "array" but received "' + typeof obj_ratingValues + '" (at "' + path_ratingValues + '")');
1622
- }
1623
- for (let i = 0; i < obj_ratingValues.length; i++) {
1624
- const obj_ratingValues_item = obj_ratingValues[i];
1625
- const path_ratingValues_item = path_ratingValues + '[' + i + ']';
1626
- if (typeof obj_ratingValues_item !== 'number' || (typeof obj_ratingValues_item === 'number' && Math.floor(obj_ratingValues_item) !== obj_ratingValues_item)) {
1627
- return new TypeError('Expected "integer" but received "' + typeof obj_ratingValues_item + '" (at "' + path_ratingValues_item + '")');
1628
- }
1629
- }
1630
- const obj_textValues = obj.textValues;
1631
- const path_textValues = path + '.textValues';
1632
- if (typeof obj_textValues !== 'object' || ArrayIsArray(obj_textValues) || obj_textValues === null) {
1633
- return new TypeError('Expected "object" but received "' + typeof obj_textValues + '" (at "' + path_textValues + '")');
1634
- }
1635
- const obj_textValues_keys = ObjectKeys(obj_textValues);
1636
- for (let i = 0; i < obj_textValues_keys.length; i++) {
1637
- const key = obj_textValues_keys[i];
1638
- const obj_textValues_prop = obj_textValues[key];
1639
- const path_textValues_prop = path_textValues + '["' + key + '"]';
1640
- if (typeof obj_textValues_prop !== 'string') {
1641
- return new TypeError('Expected "string" but received "' + typeof obj_textValues_prop + '" (at "' + path_textValues_prop + '")');
1642
- }
1643
- }
1644
- })();
1645
- return v_error === undefined ? null : v_error;
1646
- }
1647
- const select$p = function SurveyQuestionResponseRepresetationSelect() {
1648
- return {
1649
- kind: 'Fragment',
1650
- version: VERSION$f,
1651
- private: [],
1652
- selections: [
1653
- {
1654
- name: 'avgScore',
1655
- kind: 'Scalar'
1656
- },
1657
- {
1658
- name: 'isRatingResponse',
1659
- kind: 'Scalar'
1660
- },
1661
- {
1662
- name: 'questionDescription',
1663
- kind: 'Scalar'
1664
- },
1665
- {
1666
- name: 'questionId',
1667
- kind: 'Scalar'
1668
- },
1669
- {
1670
- name: 'questionName',
1671
- kind: 'Scalar'
1672
- },
1673
- {
1674
- name: 'ratingValues',
1675
- kind: 'Scalar',
1676
- plural: true
1677
- },
1678
- {
1679
- name: 'textValues',
1680
- kind: 'Scalar',
1681
- map: true
1682
- }
1683
- ]
1684
- };
1685
- };
1686
- function equals$f(existing, incoming) {
1687
- const existing_isRatingResponse = existing.isRatingResponse;
1688
- const incoming_isRatingResponse = incoming.isRatingResponse;
1689
- if (!(existing_isRatingResponse === incoming_isRatingResponse)) {
1690
- return false;
1691
- }
1692
- const existing_questionDescription = existing.questionDescription;
1693
- const incoming_questionDescription = incoming.questionDescription;
1694
- if (!(existing_questionDescription === incoming_questionDescription)) {
1695
- return false;
1696
- }
1697
- const existing_questionId = existing.questionId;
1698
- const incoming_questionId = incoming.questionId;
1699
- if (!(existing_questionId === incoming_questionId)) {
1700
- return false;
1701
- }
1702
- const existing_questionName = existing.questionName;
1703
- const incoming_questionName = incoming.questionName;
1704
- if (!(existing_questionName === incoming_questionName)) {
1705
- return false;
1706
- }
1707
- const existing_avgScore = existing.avgScore;
1708
- const incoming_avgScore = incoming.avgScore;
1709
- if (!(existing_avgScore === incoming_avgScore)) {
1710
- return false;
1711
- }
1712
- const existing_ratingValues = existing.ratingValues;
1713
- const incoming_ratingValues = incoming.ratingValues;
1714
- const equals_ratingValues_items = equalsArray(existing_ratingValues, incoming_ratingValues, (existing_ratingValues_item, incoming_ratingValues_item) => {
1715
- if (!(existing_ratingValues_item === incoming_ratingValues_item)) {
1716
- return false;
1717
- }
1718
- });
1719
- if (equals_ratingValues_items === false) {
1720
- return false;
1721
- }
1722
- const existing_textValues = existing.textValues;
1723
- const incoming_textValues = incoming.textValues;
1724
- const equals_textValues_props = equalsObject(existing_textValues, incoming_textValues, (existing_textValues_prop, incoming_textValues_prop) => {
1725
- if (!(existing_textValues_prop === incoming_textValues_prop)) {
1726
- return false;
1727
- }
1728
- });
1729
- if (equals_textValues_props === false) {
1730
- return false;
1731
- }
1732
- return true;
1733
- }
1734
-
1735
- const TTL$7 = 15000;
1736
- const VERSION$e = "49558b95e59b76b07748b6f259ebe54d";
1737
- function validate$e(obj, path = 'FeedbackResultRepresentation') {
1738
- const v_error = (() => {
1739
- if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
1740
- return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
1741
- }
1742
- const obj_isFeedbackRequestSubmitted = obj.isFeedbackRequestSubmitted;
1743
- const path_isFeedbackRequestSubmitted = path + '.isFeedbackRequestSubmitted';
1744
- if (typeof obj_isFeedbackRequestSubmitted !== 'boolean') {
1745
- return new TypeError('Expected "boolean" but received "' + typeof obj_isFeedbackRequestSubmitted + '" (at "' + path_isFeedbackRequestSubmitted + '")');
1746
- }
1747
- const obj_isFeedbackResultReturned = obj.isFeedbackResultReturned;
1748
- const path_isFeedbackResultReturned = path + '.isFeedbackResultReturned';
1749
- if (typeof obj_isFeedbackResultReturned !== 'boolean') {
1750
- return new TypeError('Expected "boolean" but received "' + typeof obj_isFeedbackResultReturned + '" (at "' + path_isFeedbackResultReturned + '")');
1751
- }
1752
- const obj_learningItemId = obj.learningItemId;
1753
- const path_learningItemId = path + '.learningItemId';
1754
- if (typeof obj_learningItemId !== 'string') {
1755
- return new TypeError('Expected "string" but received "' + typeof obj_learningItemId + '" (at "' + path_learningItemId + '")');
1756
- }
1757
- const obj_surveyQuestionResponseRepresetationList = obj.surveyQuestionResponseRepresetationList;
1758
- const path_surveyQuestionResponseRepresetationList = path + '.surveyQuestionResponseRepresetationList';
1759
- if (!ArrayIsArray(obj_surveyQuestionResponseRepresetationList)) {
1760
- return new TypeError('Expected "array" but received "' + typeof obj_surveyQuestionResponseRepresetationList + '" (at "' + path_surveyQuestionResponseRepresetationList + '")');
1761
- }
1762
- for (let i = 0; i < obj_surveyQuestionResponseRepresetationList.length; i++) {
1763
- const obj_surveyQuestionResponseRepresetationList_item = obj_surveyQuestionResponseRepresetationList[i];
1764
- const path_surveyQuestionResponseRepresetationList_item = path_surveyQuestionResponseRepresetationList + '[' + i + ']';
1765
- const referencepath_surveyQuestionResponseRepresetationList_itemValidationError = validate$f(obj_surveyQuestionResponseRepresetationList_item, path_surveyQuestionResponseRepresetationList_item);
1766
- if (referencepath_surveyQuestionResponseRepresetationList_itemValidationError !== null) {
1767
- let message = 'Object doesn\'t match SurveyQuestionResponseRepresetation (at "' + path_surveyQuestionResponseRepresetationList_item + '")\n';
1768
- message += referencepath_surveyQuestionResponseRepresetationList_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
1769
- return new TypeError(message);
1770
- }
1771
- }
1772
- obj.totalAvgScore;
1773
- })();
1774
- return v_error === undefined ? null : v_error;
1775
- }
1776
- const RepresentationType$b = 'FeedbackResultRepresentation';
1777
- function keyBuilder$r(luvio, config) {
1778
- return keyPrefix + '::' + RepresentationType$b + ':' + config.learning_item_id;
1779
- }
1780
- function keyBuilderFromType$7(luvio, object) {
1781
- const keyParams = {
1782
- learning_item_id: object.learningItemId
1783
- };
1784
- return keyBuilder$r(luvio, keyParams);
1785
- }
1786
- function normalize$b(input, existing, path, luvio, store, timestamp) {
1787
- return input;
1788
- }
1789
- const select$o = function FeedbackResultRepresentationSelect() {
1790
- const { selections: SurveyQuestionResponseRepresetation__selections, opaque: SurveyQuestionResponseRepresetation__opaque, } = select$p();
1791
- return {
1792
- kind: 'Fragment',
1793
- version: VERSION$e,
1794
- private: [],
1795
- selections: [
1796
- {
1797
- name: 'isFeedbackRequestSubmitted',
1798
- kind: 'Scalar'
1799
- },
1800
- {
1801
- name: 'isFeedbackResultReturned',
1802
- kind: 'Scalar'
1803
- },
1804
- {
1805
- name: 'learningItemId',
1806
- kind: 'Scalar'
1807
- },
1808
- {
1809
- name: 'surveyQuestionResponseRepresetationList',
1810
- kind: 'Object',
1811
- plural: true,
1812
- selections: SurveyQuestionResponseRepresetation__selections
1813
- },
1814
- {
1815
- name: 'totalAvgScore',
1816
- kind: 'Scalar'
1817
- }
1818
- ]
1819
- };
1820
- };
1821
- function equals$e(existing, incoming) {
1822
- const existing_isFeedbackRequestSubmitted = existing.isFeedbackRequestSubmitted;
1823
- const incoming_isFeedbackRequestSubmitted = incoming.isFeedbackRequestSubmitted;
1824
- if (!(existing_isFeedbackRequestSubmitted === incoming_isFeedbackRequestSubmitted)) {
1825
- return false;
1826
- }
1827
- const existing_isFeedbackResultReturned = existing.isFeedbackResultReturned;
1828
- const incoming_isFeedbackResultReturned = incoming.isFeedbackResultReturned;
1829
- if (!(existing_isFeedbackResultReturned === incoming_isFeedbackResultReturned)) {
1830
- return false;
1831
- }
1832
- const existing_learningItemId = existing.learningItemId;
1833
- const incoming_learningItemId = incoming.learningItemId;
1834
- if (!(existing_learningItemId === incoming_learningItemId)) {
1835
- return false;
1836
- }
1837
- const existing_totalAvgScore = existing.totalAvgScore;
1838
- const incoming_totalAvgScore = incoming.totalAvgScore;
1839
- if (!(existing_totalAvgScore === incoming_totalAvgScore)) {
1840
- return false;
1841
- }
1842
- const existing_surveyQuestionResponseRepresetationList = existing.surveyQuestionResponseRepresetationList;
1843
- const incoming_surveyQuestionResponseRepresetationList = incoming.surveyQuestionResponseRepresetationList;
1844
- const equals_surveyQuestionResponseRepresetationList_items = equalsArray(existing_surveyQuestionResponseRepresetationList, incoming_surveyQuestionResponseRepresetationList, (existing_surveyQuestionResponseRepresetationList_item, incoming_surveyQuestionResponseRepresetationList_item) => {
1845
- if (!(equals$f(existing_surveyQuestionResponseRepresetationList_item, incoming_surveyQuestionResponseRepresetationList_item))) {
1846
- return false;
1847
- }
1848
- });
1849
- if (equals_surveyQuestionResponseRepresetationList_items === false) {
1850
- return false;
1851
- }
1852
- return true;
1853
- }
1854
- const ingest$b = function FeedbackResultRepresentationIngest(input, path, luvio, store, timestamp) {
1855
- if (process.env.NODE_ENV !== 'production') {
1856
- const validateError = validate$e(input);
1857
- if (validateError !== null) {
1858
- throw validateError;
1859
- }
1860
- }
1861
- const key = keyBuilderFromType$7(luvio, input);
1862
- const existingRecord = store.readEntry(key);
1863
- const ttlToUse = TTL$7;
1864
- let incomingRecord = normalize$b(input, store.readEntry(key), {
1865
- fullPath: key,
1866
- parent: path.parent,
1867
- propertyName: path.propertyName,
1868
- ttl: ttlToUse
1869
- });
1870
- if (existingRecord === undefined || equals$e(existingRecord, incomingRecord) === false) {
1871
- luvio.storePublish(key, incomingRecord);
1872
- }
1873
- {
1874
- const storeMetadataParams = {
1875
- ttl: ttlToUse,
1876
- namespace: "LearningContentPlatform",
1877
- version: VERSION$e,
1878
- representationName: RepresentationType$b,
1879
- };
1880
- luvio.publishStoreMetadata(key, storeMetadataParams);
1881
- }
1882
- return createLink(key);
1883
- };
1884
- function getTypeCacheKeys$b(luvio, input, fullPathFactory) {
1885
- const rootKeySet = new StoreKeyMap();
1886
- // root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
1887
- const rootKey = keyBuilderFromType$7(luvio, input);
1888
- rootKeySet.set(rootKey, {
1889
- namespace: keyPrefix,
1890
- representationName: RepresentationType$b,
1891
- mergeable: false
1892
- });
1893
- return rootKeySet;
1894
- }
1895
-
1896
- function select$n(luvio, params) {
1897
- return select$o();
1898
- }
1899
- function keyBuilder$q(luvio, params) {
1900
- return keyBuilder$r(luvio, {
1901
- learning_item_id: params.urlParams.learningItemId
1902
- });
1903
- }
1904
- function getResponseCacheKeys$9(luvio, resourceParams, response) {
1905
- return getTypeCacheKeys$b(luvio, response);
1906
- }
1907
- function ingestSuccess$9(luvio, resourceParams, response, snapshotRefresh) {
1908
- const { body } = response;
1909
- const key = keyBuilder$q(luvio, resourceParams);
1910
- luvio.storeIngest(key, ingest$b, body);
1911
- const snapshot = luvio.storeLookup({
1912
- recordId: key,
1913
- node: select$n(),
1914
- variables: {},
1915
- }, snapshotRefresh);
1916
- if (process.env.NODE_ENV !== 'production') {
1917
- if (snapshot.state !== 'Fulfilled') {
1918
- throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
1919
- }
1920
- }
1921
- deepFreeze(snapshot.data);
1922
- return snapshot;
1923
- }
1924
- function ingestError$9(luvio, params, error, snapshotRefresh) {
1925
- const key = keyBuilder$q(luvio, params);
1926
- const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
1927
- const storeMetadataParams = {
1928
- ttl: TTL$7,
1929
- namespace: keyPrefix,
1930
- version: VERSION$e,
1931
- representationName: RepresentationType$b
1932
- };
1933
- luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
1934
- return errorSnapshot;
1935
- }
1936
- function createResourceRequest$9(config) {
1937
- const headers = {};
1938
- return {
1939
- baseUri: '/services/data/v59.0',
1940
- basePath: '/learning-content-platform/learning/feedbackresult/' + config.urlParams.learningItemId + '',
1941
- method: 'get',
1942
- body: null,
1943
- urlParams: config.urlParams,
1944
- queryParams: {},
1945
- headers,
1946
- priority: 'normal',
1947
- };
1948
- }
1949
- function createResourceRequestFromRepresentation$4(representation) {
1950
- const config = {
1951
- urlParams: {},
1952
- };
1953
- config.urlParams.learningItemId = representation.learningItemId;
1954
- return createResourceRequest$9(config);
1955
- }
1956
-
1957
- const getFeedbackResult_ConfigPropertyNames = {
1958
- displayName: 'getFeedbackResult',
1959
- parameters: {
1960
- required: ['learningItemId'],
1961
- optional: []
1962
- }
1963
- };
1964
- function createResourceParams$9(config) {
1965
- const resourceParams = {
1966
- urlParams: {
1967
- learningItemId: config.learningItemId
1968
- }
1969
- };
1970
- return resourceParams;
1971
- }
1972
- function keyBuilder$p(luvio, config) {
1973
- const resourceParams = createResourceParams$9(config);
1974
- return keyBuilder$q(luvio, resourceParams);
1975
- }
1976
- function typeCheckConfig$9(untrustedConfig) {
1977
- const config = {};
1978
- const untrustedConfig_learningItemId = untrustedConfig.learningItemId;
1979
- if (typeof untrustedConfig_learningItemId === 'string') {
1980
- config.learningItemId = untrustedConfig_learningItemId;
1981
- }
1982
- return config;
1983
- }
1984
1510
  function validateAdapterConfig$9(untrustedConfig, configPropertyNames) {
1985
1511
  if (!untrustedIsObject(untrustedConfig)) {
1986
1512
  return null;
@@ -2052,8 +1578,8 @@ function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
2052
1578
  });
2053
1579
  return cacheSnapshot;
2054
1580
  }
2055
- const getFeedbackResultAdapterFactory = (luvio) => function LearningContentPlatform__getFeedbackResult(untrustedConfig, requestContext) {
2056
- const config = validateAdapterConfig$9(untrustedConfig, getFeedbackResult_ConfigPropertyNames);
1581
+ const getFeaturedItemsRelatedListAdapterFactory = (luvio) => function LearningContentPlatform__getFeaturedItemsRelatedList(untrustedConfig, requestContext) {
1582
+ const config = validateAdapterConfig$9(untrustedConfig, getFeaturedItemsRelatedList_ConfigPropertyNames);
2057
1583
  // Invalid or incomplete config
2058
1584
  if (config === null) {
2059
1585
  return null;
@@ -2061,36 +1587,6 @@ const getFeedbackResultAdapterFactory = (luvio) => function LearningContentPlatf
2061
1587
  return luvio.applyCachePolicy((requestContext || {}), { config, luvio }, // BuildSnapshotContext
2062
1588
  buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
2063
1589
  };
2064
- const notifyChangeFactory$4 = (luvio, options) => {
2065
- return function getLearningContentPlatformLearningFeedbackresultByLearningItemIdNotifyChange(configs) {
2066
- const keys = configs.map(c => keyBuilder$r(luvio, c));
2067
- luvio.getNotifyChangeStoreEntries(keys).then(entries => {
2068
- for (let i = 0, len = entries.length; i < len; i++) {
2069
- const { key, record: val } = entries[i];
2070
- const refreshRequest = createResourceRequestFromRepresentation$4(val);
2071
- luvio.dispatchResourceRequest(refreshRequest, options)
2072
- .then((response) => {
2073
- return luvio.handleSuccessResponse(() => {
2074
- const { body } = response;
2075
- luvio.storeIngest(key, ingest$b, body);
2076
- return luvio.storeBroadcast();
2077
- }, () => getTypeCacheKeys$b(luvio, response.body));
2078
- }, (error) => {
2079
- return luvio.handleErrorResponse(() => {
2080
- const errorSnapshot = luvio.errorSnapshot(error);
2081
- luvio.storeIngestError(key, errorSnapshot, {
2082
- ttl: TTL$7,
2083
- namespace: keyPrefix,
2084
- version: VERSION$e,
2085
- representationName: RepresentationType$b
2086
- });
2087
- return luvio.storeBroadcast().then(() => errorSnapshot);
2088
- });
2089
- });
2090
- }
2091
- });
2092
- };
2093
- };
2094
1590
 
2095
1591
  const VERSION$d = "8471031fcff953c83f350a0f66b60ddb";
2096
1592
  function validate$d(obj, path = 'LearningConfigRepresentation') {
@@ -2373,7 +1869,7 @@ function normalize$9(input, existing, path, luvio, store, timestamp) {
2373
1869
  for (let i = 0; i < input_list.length; i++) {
2374
1870
  const input_list_item = input_list[i];
2375
1871
  let input_list_item_id = input_list_id + '__' + i;
2376
- input_list[i] = ingest$f(input_list_item, {
1872
+ input_list[i] = ingest$e(input_list_item, {
2377
1873
  fullPath: input_list_item_id,
2378
1874
  propertyName: i,
2379
1875
  parent: {
@@ -2396,7 +1892,7 @@ const select$k = function LearningItemProgressListRepresentationSelect() {
2396
1892
  name: 'list',
2397
1893
  kind: 'Link',
2398
1894
  plural: true,
2399
- fragment: select$w()
1895
+ fragment: select$t()
2400
1896
  }
2401
1897
  ]
2402
1898
  };
@@ -2455,7 +1951,7 @@ function getTypeCacheKeys$9(luvio, input, fullPathFactory) {
2455
1951
  });
2456
1952
  const input_list_length = input.list.length;
2457
1953
  for (let i = 0; i < input_list_length; i++) {
2458
- rootKeySet.merge(getTypeCacheKeys$f(luvio, input.list[i]));
1954
+ rootKeySet.merge(getTypeCacheKeys$e(luvio, input.list[i]));
2459
1955
  }
2460
1956
  return rootKeySet;
2461
1957
  }
@@ -5112,7 +4608,7 @@ function normalize$2(input, existing, path, luvio, store, timestamp) {
5112
4608
  for (let i = 0; i < input_results.length; i++) {
5113
4609
  const input_results_item = input_results[i];
5114
4610
  let input_results_item_id = input_results_id + '__' + i;
5115
- input_results[i] = ingest$e(input_results_item, {
4611
+ input_results[i] = ingest$d(input_results_item, {
5116
4612
  fullPath: input_results_item_id,
5117
4613
  propertyName: i,
5118
4614
  parent: {
@@ -5135,7 +4631,7 @@ const select$7 = function LearningSearchResultsRepresentationSelect() {
5135
4631
  name: 'results',
5136
4632
  kind: 'Link',
5137
4633
  plural: true,
5138
- fragment: select$u()
4634
+ fragment: select$r()
5139
4635
  },
5140
4636
  {
5141
4637
  name: 'totalResults',
@@ -5212,7 +4708,7 @@ function getTypeCacheKeys$2(luvio, input, fullPathFactory) {
5212
4708
  });
5213
4709
  const input_results_length = input.results.length;
5214
4710
  for (let i = 0; i < input_results_length; i++) {
5215
- rootKeySet.merge(getTypeCacheKeys$e(luvio, input.results[i]));
4711
+ rootKeySet.merge(getTypeCacheKeys$d(luvio, input.results[i]));
5216
4712
  }
5217
4713
  return rootKeySet;
5218
4714
  }
@@ -6643,8 +6139,6 @@ const notifyChangeFactory = (luvio, options) => {
6643
6139
  let evaluateLearningItem;
6644
6140
  let getFeaturedItemsRecommendedList;
6645
6141
  let getFeaturedItemsRelatedList;
6646
- let getFeedbackResult;
6647
- let getFeedbackResultNotifyChange;
6648
6142
  let getLearningConfig;
6649
6143
  let getLearningItemProgress;
6650
6144
  let getLearningItemsList;
@@ -6661,7 +6155,6 @@ let getTextLessonNotifyChange;
6661
6155
  // Imperative GET Adapters
6662
6156
  let getFeaturedItemsRecommendedList_imperative;
6663
6157
  let getFeaturedItemsRelatedList_imperative;
6664
- let getFeedbackResult_imperative;
6665
6158
  let getLearningConfig_imperative;
6666
6159
  let getLearningItemProgress_imperative;
6667
6160
  let getLearningItemsList_imperative;
@@ -6673,7 +6166,6 @@ let getModule_imperative;
6673
6166
  let getTextLesson_imperative;
6674
6167
  const getFeaturedItemsRecommendedListMetadata = { apiFamily: 'LearningContentPlatform', name: 'getFeaturedItemsRecommendedList' };
6675
6168
  const getFeaturedItemsRelatedListMetadata = { apiFamily: 'LearningContentPlatform', name: 'getFeaturedItemsRelatedList' };
6676
- const getFeedbackResultMetadata = { apiFamily: 'LearningContentPlatform', name: 'getFeedbackResult', ttl: 15000 };
6677
6169
  const getLearningConfigMetadata = { apiFamily: 'LearningContentPlatform', name: 'getLearningConfig' };
6678
6170
  const getLearningItemProgressMetadata = { apiFamily: 'LearningContentPlatform', name: 'getLearningItemProgress' };
6679
6171
  const getLearningItemsListMetadata = { apiFamily: 'LearningContentPlatform', name: 'getLearningItemsList' };
@@ -6687,7 +6179,6 @@ function bindExportsTo(luvio) {
6687
6179
  // LDS Adapters
6688
6180
  const getFeaturedItemsRecommendedList_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getFeaturedItemsRecommendedList', getFeaturedItemsRecommendedListAdapterFactory), getFeaturedItemsRecommendedListMetadata);
6689
6181
  const getFeaturedItemsRelatedList_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getFeaturedItemsRelatedList', getFeaturedItemsRelatedListAdapterFactory), getFeaturedItemsRelatedListMetadata);
6690
- const getFeedbackResult_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getFeedbackResult', getFeedbackResultAdapterFactory), getFeedbackResultMetadata);
6691
6182
  const getLearningConfig_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLearningConfig', getLearningConfigAdapterFactory), getLearningConfigMetadata);
6692
6183
  const getLearningItemProgress_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLearningItemProgress', getLearningItemProgressAdapterFactory), getLearningItemProgressMetadata);
6693
6184
  const getLearningItemsList_ldsAdapter = createInstrumentedAdapter(createLDSAdapter(luvio, 'getLearningItemsList', getLearningItemsListAdapterFactory), getLearningItemsListMetadata);
@@ -6705,8 +6196,6 @@ function bindExportsTo(luvio) {
6705
6196
  evaluateLearningItem: unwrapSnapshotData(evaluateLearningItemAdapterFactory),
6706
6197
  getFeaturedItemsRecommendedList: createWireAdapterConstructor(luvio, getFeaturedItemsRecommendedList_ldsAdapter, getFeaturedItemsRecommendedListMetadata),
6707
6198
  getFeaturedItemsRelatedList: createWireAdapterConstructor(luvio, getFeaturedItemsRelatedList_ldsAdapter, getFeaturedItemsRelatedListMetadata),
6708
- getFeedbackResult: createWireAdapterConstructor(luvio, getFeedbackResult_ldsAdapter, getFeedbackResultMetadata),
6709
- getFeedbackResultNotifyChange: createLDSAdapter(luvio, 'getFeedbackResultNotifyChange', notifyChangeFactory$4),
6710
6199
  getLearningConfig: createWireAdapterConstructor(luvio, getLearningConfig_ldsAdapter, getLearningConfigMetadata),
6711
6200
  getLearningItemProgress: createWireAdapterConstructor(luvio, getLearningItemProgress_ldsAdapter, getLearningItemProgressMetadata),
6712
6201
  getLearningItemsList: createWireAdapterConstructor(luvio, getLearningItemsList_ldsAdapter, getLearningItemsListMetadata),
@@ -6723,7 +6212,6 @@ function bindExportsTo(luvio) {
6723
6212
  // Imperative GET Adapters
6724
6213
  getFeaturedItemsRecommendedList_imperative: createImperativeAdapter(luvio, getFeaturedItemsRecommendedList_ldsAdapter, getFeaturedItemsRecommendedListMetadata),
6725
6214
  getFeaturedItemsRelatedList_imperative: createImperativeAdapter(luvio, getFeaturedItemsRelatedList_ldsAdapter, getFeaturedItemsRelatedListMetadata),
6726
- getFeedbackResult_imperative: createImperativeAdapter(luvio, getFeedbackResult_ldsAdapter, getFeedbackResultMetadata),
6727
6215
  getLearningConfig_imperative: createImperativeAdapter(luvio, getLearningConfig_ldsAdapter, getLearningConfigMetadata),
6728
6216
  getLearningItemProgress_imperative: createImperativeAdapter(luvio, getLearningItemProgress_ldsAdapter, getLearningItemProgressMetadata),
6729
6217
  getLearningItemsList_imperative: createImperativeAdapter(luvio, getLearningItemsList_ldsAdapter, getLearningItemsListMetadata),
@@ -6740,8 +6228,6 @@ withDefaultLuvio((luvio) => {
6740
6228
  evaluateLearningItem,
6741
6229
  getFeaturedItemsRecommendedList,
6742
6230
  getFeaturedItemsRelatedList,
6743
- getFeedbackResult,
6744
- getFeedbackResultNotifyChange,
6745
6231
  getLearningConfig,
6746
6232
  getLearningItemProgress,
6747
6233
  getLearningItemsList,
@@ -6757,7 +6243,6 @@ withDefaultLuvio((luvio) => {
6757
6243
  getTextLessonNotifyChange,
6758
6244
  getFeaturedItemsRecommendedList_imperative,
6759
6245
  getFeaturedItemsRelatedList_imperative,
6760
- getFeedbackResult_imperative,
6761
6246
  getLearningConfig_imperative,
6762
6247
  getLearningItemProgress_imperative,
6763
6248
  getLearningItemsList_imperative,
@@ -6770,5 +6255,5 @@ withDefaultLuvio((luvio) => {
6770
6255
  } = bindExportsTo(luvio));
6771
6256
  });
6772
6257
 
6773
- export { evaluateLearningItem, getFeaturedItemsRecommendedList, getFeaturedItemsRecommendedList_imperative, getFeaturedItemsRelatedList, getFeaturedItemsRelatedList_imperative, getFeedbackResult, getFeedbackResultNotifyChange, getFeedbackResult_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 };
6774
- // version: 1.137.0-51e9249c2
6258
+ 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 };
6259
+ // version: 1.138.0-3945c7dfd