@salesforce/lds-adapters-experience-model 1.269.0 → 1.270.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.
|
@@ -80,7 +80,7 @@ function createLink(ref) {
|
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
function validate$
|
|
83
|
+
function validate$g(obj, path = 'ExperienceModelBlockTypeSummaryRepresentation') {
|
|
84
84
|
const v_error = (() => {
|
|
85
85
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
86
86
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -139,7 +139,7 @@ function validate$f(obj, path = 'ExperienceModelBlockTypeSummaryRepresentation')
|
|
|
139
139
|
|
|
140
140
|
const TTL$6 = 3600000;
|
|
141
141
|
const VERSION$6 = "c4cd880e972cdf9faaa6db963fe35b31";
|
|
142
|
-
function validate$
|
|
142
|
+
function validate$f(obj, path = 'ExperienceModelBlockTypeCollectionRepresentation') {
|
|
143
143
|
const v_error = (() => {
|
|
144
144
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
145
145
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -152,7 +152,7 @@ function validate$e(obj, path = 'ExperienceModelBlockTypeCollectionRepresentatio
|
|
|
152
152
|
for (let i = 0; i < obj_blockTypes.length; i++) {
|
|
153
153
|
const obj_blockTypes_item = obj_blockTypes[i];
|
|
154
154
|
const path_blockTypes_item = path_blockTypes + '[' + i + ']';
|
|
155
|
-
const referencepath_blockTypes_itemValidationError = validate$
|
|
155
|
+
const referencepath_blockTypes_itemValidationError = validate$g(obj_blockTypes_item, path_blockTypes_item);
|
|
156
156
|
if (referencepath_blockTypes_itemValidationError !== null) {
|
|
157
157
|
let message = 'Object doesn\'t match ExperienceModelBlockTypeSummaryRepresentation (at "' + path_blockTypes_item + '")\n';
|
|
158
158
|
message += referencepath_blockTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -206,7 +206,7 @@ function equals$6(existing, incoming) {
|
|
|
206
206
|
}
|
|
207
207
|
const ingest$6 = function ExperienceModelBlockTypeCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
208
208
|
if (process.env.NODE_ENV !== 'production') {
|
|
209
|
-
const validateError = validate$
|
|
209
|
+
const validateError = validate$f(input);
|
|
210
210
|
if (validateError !== null) {
|
|
211
211
|
throw validateError;
|
|
212
212
|
}
|
|
@@ -374,7 +374,7 @@ const getBlockTypesAdapterFactory = (luvio) => function ExperienceType__getBlock
|
|
|
374
374
|
|
|
375
375
|
const TTL$5 = 3600000;
|
|
376
376
|
const VERSION$5 = "5a3f5e1d42d8f0aa089e888ddac06972";
|
|
377
|
-
function validate$
|
|
377
|
+
function validate$e(obj, path = 'ExperienceModelBlockTypeDetailRepresentation') {
|
|
378
378
|
const v_error = (() => {
|
|
379
379
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
380
380
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -479,7 +479,7 @@ function equals$5(existing, incoming) {
|
|
|
479
479
|
}
|
|
480
480
|
const ingest$5 = function ExperienceModelBlockTypeDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
481
481
|
if (process.env.NODE_ENV !== 'production') {
|
|
482
|
-
const validateError = validate$
|
|
482
|
+
const validateError = validate$e(input);
|
|
483
483
|
if (validateError !== null) {
|
|
484
484
|
throw validateError;
|
|
485
485
|
}
|
|
@@ -641,7 +641,7 @@ const getBlockTypeAdapterFactory = (luvio) => function ExperienceType__getBlockT
|
|
|
641
641
|
buildCachedSnapshotCachePolicy$5, buildNetworkSnapshotCachePolicy$5);
|
|
642
642
|
};
|
|
643
643
|
|
|
644
|
-
function validate$
|
|
644
|
+
function validate$d(obj, path = 'ExperienceModelContentTypeSummaryRepresentation') {
|
|
645
645
|
const v_error = (() => {
|
|
646
646
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
647
647
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -690,7 +690,7 @@ function validate$c(obj, path = 'ExperienceModelContentTypeSummaryRepresentation
|
|
|
690
690
|
|
|
691
691
|
const TTL$4 = 3600000;
|
|
692
692
|
const VERSION$4 = "30f1f19149230f10ac9197e0d9769c88";
|
|
693
|
-
function validate$
|
|
693
|
+
function validate$c(obj, path = 'ExperienceModelContentTypeCollectionRepresentation') {
|
|
694
694
|
const v_error = (() => {
|
|
695
695
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
696
696
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -703,7 +703,7 @@ function validate$b(obj, path = 'ExperienceModelContentTypeCollectionRepresentat
|
|
|
703
703
|
for (let i = 0; i < obj_contentTypes.length; i++) {
|
|
704
704
|
const obj_contentTypes_item = obj_contentTypes[i];
|
|
705
705
|
const path_contentTypes_item = path_contentTypes + '[' + i + ']';
|
|
706
|
-
const referencepath_contentTypes_itemValidationError = validate$
|
|
706
|
+
const referencepath_contentTypes_itemValidationError = validate$d(obj_contentTypes_item, path_contentTypes_item);
|
|
707
707
|
if (referencepath_contentTypes_itemValidationError !== null) {
|
|
708
708
|
let message = 'Object doesn\'t match ExperienceModelContentTypeSummaryRepresentation (at "' + path_contentTypes_item + '")\n';
|
|
709
709
|
message += referencepath_contentTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -759,7 +759,7 @@ function equals$4(existing, incoming) {
|
|
|
759
759
|
}
|
|
760
760
|
const ingest$4 = function ExperienceModelContentTypeCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
761
761
|
if (process.env.NODE_ENV !== 'production') {
|
|
762
|
-
const validateError = validate$
|
|
762
|
+
const validateError = validate$c(input);
|
|
763
763
|
if (validateError !== null) {
|
|
764
764
|
throw validateError;
|
|
765
765
|
}
|
|
@@ -927,7 +927,7 @@ const getContentTypesAdapterFactory = (luvio) => function ExperienceType__getCon
|
|
|
927
927
|
|
|
928
928
|
const TTL$3 = 3600000;
|
|
929
929
|
const VERSION$3 = "fb0265f1d37480d0821fd97a29a0f9c2";
|
|
930
|
-
function validate$
|
|
930
|
+
function validate$b(obj, path = 'ExperienceModelContentTypeDetailRepresentation') {
|
|
931
931
|
const v_error = (() => {
|
|
932
932
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
933
933
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1016,7 +1016,7 @@ function equals$3(existing, incoming) {
|
|
|
1016
1016
|
}
|
|
1017
1017
|
const ingest$3 = function ExperienceModelContentTypeDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1018
1018
|
if (process.env.NODE_ENV !== 'production') {
|
|
1019
|
-
const validateError = validate$
|
|
1019
|
+
const validateError = validate$b(input);
|
|
1020
1020
|
if (validateError !== null) {
|
|
1021
1021
|
throw validateError;
|
|
1022
1022
|
}
|
|
@@ -1178,7 +1178,7 @@ const getContentTypeAdapterFactory = (luvio) => function ExperienceType__getCont
|
|
|
1178
1178
|
buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
|
|
1179
1179
|
};
|
|
1180
1180
|
|
|
1181
|
-
function validate$
|
|
1181
|
+
function validate$a(obj, path = 'ExperienceModelPropertyTypeSummaryRepresentation') {
|
|
1182
1182
|
const v_error = (() => {
|
|
1183
1183
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1184
1184
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1225,7 +1225,7 @@ function validate$9(obj, path = 'ExperienceModelPropertyTypeSummaryRepresentatio
|
|
|
1225
1225
|
|
|
1226
1226
|
const TTL$2 = 3600000;
|
|
1227
1227
|
const VERSION$2 = "172e544645942d550fc1f07812bb85b6";
|
|
1228
|
-
function validate$
|
|
1228
|
+
function validate$9(obj, path = 'ExperienceModelPropertyTypeCollectionRepresentation') {
|
|
1229
1229
|
const v_error = (() => {
|
|
1230
1230
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1231
1231
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1264,7 +1264,7 @@ function validate$8(obj, path = 'ExperienceModelPropertyTypeCollectionRepresenta
|
|
|
1264
1264
|
for (let i = 0; i < obj_propertyTypes.length; i++) {
|
|
1265
1265
|
const obj_propertyTypes_item = obj_propertyTypes[i];
|
|
1266
1266
|
const path_propertyTypes_item = path_propertyTypes + '[' + i + ']';
|
|
1267
|
-
const referencepath_propertyTypes_itemValidationError = validate$
|
|
1267
|
+
const referencepath_propertyTypes_itemValidationError = validate$a(obj_propertyTypes_item, path_propertyTypes_item);
|
|
1268
1268
|
if (referencepath_propertyTypes_itemValidationError !== null) {
|
|
1269
1269
|
let message = 'Object doesn\'t match ExperienceModelPropertyTypeSummaryRepresentation (at "' + path_propertyTypes_item + '")\n';
|
|
1270
1270
|
message += referencepath_propertyTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1294,7 +1294,7 @@ function equals$2(existing, incoming) {
|
|
|
1294
1294
|
}
|
|
1295
1295
|
const ingest$2 = function ExperienceModelPropertyTypeCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1296
1296
|
if (process.env.NODE_ENV !== 'production') {
|
|
1297
|
-
const validateError = validate$
|
|
1297
|
+
const validateError = validate$9(input);
|
|
1298
1298
|
if (validateError !== null) {
|
|
1299
1299
|
throw validateError;
|
|
1300
1300
|
}
|
|
@@ -1459,7 +1459,7 @@ const getPropertyTypesAdapterFactory = (luvio) => function ExperienceType__getPr
|
|
|
1459
1459
|
|
|
1460
1460
|
const TTL$1 = 3600000;
|
|
1461
1461
|
const VERSION$1 = "56f77a37a5711b32738bafbcb3eed520";
|
|
1462
|
-
function validate$
|
|
1462
|
+
function validate$8(obj, path = 'ExperienceModelPropertyTypeDetailRepresentation') {
|
|
1463
1463
|
const v_error = (() => {
|
|
1464
1464
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1465
1465
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1546,7 +1546,7 @@ function equals$1(existing, incoming) {
|
|
|
1546
1546
|
}
|
|
1547
1547
|
const ingest$1 = function ExperienceModelPropertyTypeDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1548
1548
|
if (process.env.NODE_ENV !== 'production') {
|
|
1549
|
-
const validateError = validate$
|
|
1549
|
+
const validateError = validate$8(input);
|
|
1550
1550
|
if (validateError !== null) {
|
|
1551
1551
|
throw validateError;
|
|
1552
1552
|
}
|
|
@@ -1708,7 +1708,7 @@ const getPropertyTypeAdapterFactory = (luvio) => function ExperienceType__getPro
|
|
|
1708
1708
|
buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
|
|
1709
1709
|
};
|
|
1710
1710
|
|
|
1711
|
-
function validate$
|
|
1711
|
+
function validate$7(obj, path = 'ExperienceModelDesignConfigInputRepresentation') {
|
|
1712
1712
|
const v_error = (() => {
|
|
1713
1713
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1714
1714
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1724,7 +1724,7 @@ function validate$6(obj, path = 'ExperienceModelDesignConfigInputRepresentation'
|
|
|
1724
1724
|
return v_error === undefined ? null : v_error;
|
|
1725
1725
|
}
|
|
1726
1726
|
|
|
1727
|
-
function validate$
|
|
1727
|
+
function validate$6(obj, path = 'ExperienceModelRenditionConfigInputRepresentation') {
|
|
1728
1728
|
const v_error = (() => {
|
|
1729
1729
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1730
1730
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1740,6 +1740,27 @@ function validate$5(obj, path = 'ExperienceModelRenditionConfigInputRepresentati
|
|
|
1740
1740
|
return v_error === undefined ? null : v_error;
|
|
1741
1741
|
}
|
|
1742
1742
|
|
|
1743
|
+
function validate$5(obj, path = 'ExperienceModelFilterConfigInputRepresentation') {
|
|
1744
|
+
const v_error = (() => {
|
|
1745
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1746
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1747
|
+
}
|
|
1748
|
+
const obj_propertyNames = obj.propertyNames;
|
|
1749
|
+
const path_propertyNames = path + '.propertyNames';
|
|
1750
|
+
if (!ArrayIsArray(obj_propertyNames)) {
|
|
1751
|
+
return new TypeError('Expected "array" but received "' + typeof obj_propertyNames + '" (at "' + path_propertyNames + '")');
|
|
1752
|
+
}
|
|
1753
|
+
for (let i = 0; i < obj_propertyNames.length; i++) {
|
|
1754
|
+
const obj_propertyNames_item = obj_propertyNames[i];
|
|
1755
|
+
const path_propertyNames_item = path_propertyNames + '[' + i + ']';
|
|
1756
|
+
if (typeof obj_propertyNames_item !== 'string') {
|
|
1757
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyNames_item + '" (at "' + path_propertyNames_item + '")');
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
})();
|
|
1761
|
+
return v_error === undefined ? null : v_error;
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1743
1764
|
function validate$4(obj, path = 'ExperienceModelSchemaConfigInputRepresentation') {
|
|
1744
1765
|
const v_error = (() => {
|
|
1745
1766
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1748,15 +1769,11 @@ function validate$4(obj, path = 'ExperienceModelSchemaConfigInputRepresentation'
|
|
|
1748
1769
|
if (obj.filterConfig !== undefined) {
|
|
1749
1770
|
const obj_filterConfig = obj.filterConfig;
|
|
1750
1771
|
const path_filterConfig = path + '.filterConfig';
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
const path_filterConfig_item = path_filterConfig + '[' + i + ']';
|
|
1757
|
-
if (typeof obj_filterConfig_item !== 'string') {
|
|
1758
|
-
return new TypeError('Expected "string" but received "' + typeof obj_filterConfig_item + '" (at "' + path_filterConfig_item + '")');
|
|
1759
|
-
}
|
|
1772
|
+
const referencepath_filterConfigValidationError = validate$5(obj_filterConfig, path_filterConfig);
|
|
1773
|
+
if (referencepath_filterConfigValidationError !== null) {
|
|
1774
|
+
let message = 'Object doesn\'t match ExperienceModelFilterConfigInputRepresentation (at "' + path_filterConfig + '")\n';
|
|
1775
|
+
message += referencepath_filterConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1776
|
+
return new TypeError(message);
|
|
1760
1777
|
}
|
|
1761
1778
|
}
|
|
1762
1779
|
if (obj.subSchemaDefinitions !== undefined) {
|
|
@@ -1783,7 +1800,7 @@ function validate$3(obj, path = 'ExperienceModelTypesConfigInputRepresentation')
|
|
|
1783
1800
|
if (obj.designConfig !== undefined) {
|
|
1784
1801
|
const obj_designConfig = obj.designConfig;
|
|
1785
1802
|
const path_designConfig = path + '.designConfig';
|
|
1786
|
-
const referencepath_designConfigValidationError = validate$
|
|
1803
|
+
const referencepath_designConfigValidationError = validate$7(obj_designConfig, path_designConfig);
|
|
1787
1804
|
if (referencepath_designConfigValidationError !== null) {
|
|
1788
1805
|
let message = 'Object doesn\'t match ExperienceModelDesignConfigInputRepresentation (at "' + path_designConfig + '")\n';
|
|
1789
1806
|
message += referencepath_designConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1793,7 +1810,7 @@ function validate$3(obj, path = 'ExperienceModelTypesConfigInputRepresentation')
|
|
|
1793
1810
|
if (obj.renditionConfig !== undefined) {
|
|
1794
1811
|
const obj_renditionConfig = obj.renditionConfig;
|
|
1795
1812
|
const path_renditionConfig = path + '.renditionConfig';
|
|
1796
|
-
const referencepath_renditionConfigValidationError = validate$
|
|
1813
|
+
const referencepath_renditionConfigValidationError = validate$6(obj_renditionConfig, path_renditionConfig);
|
|
1797
1814
|
if (referencepath_renditionConfigValidationError !== null) {
|
|
1798
1815
|
let message = 'Object doesn\'t match ExperienceModelRenditionConfigInputRepresentation (at "' + path_renditionConfig + '")\n';
|
|
1799
1816
|
message += referencepath_renditionConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1997,7 +2014,7 @@ function select(luvio, params) {
|
|
|
1997
2014
|
return select$1();
|
|
1998
2015
|
}
|
|
1999
2016
|
function keyBuilder$1(luvio, params) {
|
|
2000
|
-
return keyPrefix + '::ExperienceModelTypesCollectionRepresentation:(' + 'language:' + params.body.language + '::' + '[' + params.body.typeConfigs.map(element => { var _a, _b, _c, _d, _e, _f, _g, _h; return 'typeConfigs.descriptor:' + element.descriptor + '::' + (((_a = element.designConfig) === null || _a === void 0 ? void 0 : _a.target) === undefined ? 'typeConfigs.designConfig.target' : 'typeConfigs.designConfig.target:' + ((_b = element.designConfig) === null || _b === void 0 ? void 0 : _b.target)) + '::' + (((_c = element.renditionConfig) === null || _c === void 0 ? void 0 : _c.target) === undefined ? 'typeConfigs.renditionConfig.target' : 'typeConfigs.renditionConfig.target:' + ((_d = element.renditionConfig) === null || _d === void 0 ? void 0 : _d.target)) + '::' + (((_e = element.schemaConfig) === null || _e === void 0 ? void 0 : _e.filterConfig) === undefined ? 'typeConfigs.schemaConfig.filterConfig' : 'typeConfigs.schemaConfig.filterConfig:' + ((
|
|
2017
|
+
return keyPrefix + '::ExperienceModelTypesCollectionRepresentation:(' + 'language:' + params.body.language + '::' + '[' + params.body.typeConfigs.map(element => { var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k; return 'typeConfigs.descriptor:' + element.descriptor + '::' + (((_a = element.designConfig) === null || _a === void 0 ? void 0 : _a.target) === undefined ? 'typeConfigs.designConfig.target' : 'typeConfigs.designConfig.target:' + ((_b = element.designConfig) === null || _b === void 0 ? void 0 : _b.target)) + '::' + (((_c = element.renditionConfig) === null || _c === void 0 ? void 0 : _c.target) === undefined ? 'typeConfigs.renditionConfig.target' : 'typeConfigs.renditionConfig.target:' + ((_d = element.renditionConfig) === null || _d === void 0 ? void 0 : _d.target)) + '::' + (((_f = (_e = element.schemaConfig) === null || _e === void 0 ? void 0 : _e.filterConfig) === null || _f === void 0 ? void 0 : _f.propertyNames) === undefined ? 'typeConfigs.schemaConfig.filterConfig.propertyNames' : 'typeConfigs.schemaConfig.filterConfig.propertyNames:' + ((_h = (_g = element.schemaConfig) === null || _g === void 0 ? void 0 : _g.filterConfig) === null || _h === void 0 ? void 0 : _h.propertyNames)) + '::' + (((_j = element.schemaConfig) === null || _j === void 0 ? void 0 : _j.subSchemaDefinitions) === undefined ? 'typeConfigs.schemaConfig.subSchemaDefinitions' : 'typeConfigs.schemaConfig.subSchemaDefinitions:' + ((_k = element.schemaConfig) === null || _k === void 0 ? void 0 : _k.subSchemaDefinitions)) + '::' + (element.sourceDescriptor === undefined ? 'typeConfigs.sourceDescriptor' : 'typeConfigs.sourceDescriptor:' + element.sourceDescriptor); }).join(',') + ']' + ')';
|
|
2001
2018
|
}
|
|
2002
2019
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
2003
2020
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
package/dist/es/es2018/types/src/generated/types/ExperienceModelSchemaConfigInputRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ExperienceModelFilterConfigInputRepresentation as ExperienceModelFilterConfigInputRepresentation_ExperienceModelFilterConfigInputRepresentation } from './ExperienceModelFilterConfigInputRepresentation';
|
|
1
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "778e400ab1efc3dd0ccd9f38bcdd8865";
|
|
3
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
5
|
export declare const RepresentationType: string;
|
|
5
6
|
export declare function normalize(input: ExperienceModelSchemaConfigInputRepresentation, existing: ExperienceModelSchemaConfigInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExperienceModelSchemaConfigInputRepresentationNormalized;
|
|
@@ -14,8 +15,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
15
|
* (none)
|
|
15
16
|
*/
|
|
16
17
|
export interface ExperienceModelSchemaConfigInputRepresentationNormalized {
|
|
17
|
-
|
|
18
|
-
filterConfig?: Array<string>;
|
|
18
|
+
filterConfig?: ExperienceModelFilterConfigInputRepresentation_ExperienceModelFilterConfigInputRepresentation;
|
|
19
19
|
/** Boolean property if sub-schema should be included */
|
|
20
20
|
subSchemaDefinitions?: boolean;
|
|
21
21
|
}
|
|
@@ -26,6 +26,6 @@ export interface ExperienceModelSchemaConfigInputRepresentationNormalized {
|
|
|
26
26
|
* (none)
|
|
27
27
|
*/
|
|
28
28
|
export interface ExperienceModelSchemaConfigInputRepresentation {
|
|
29
|
-
filterConfig?:
|
|
29
|
+
filterConfig?: ExperienceModelFilterConfigInputRepresentation_ExperienceModelFilterConfigInputRepresentation;
|
|
30
30
|
subSchemaDefinitions?: boolean;
|
|
31
31
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-experience-model",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.270.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "APIs to read and query all the 'types' in the Unified Experience Model",
|
|
6
6
|
"main": "dist/es/es2018/experience-model.js",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"test:unit": "jest"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
47
|
+
"@salesforce/lds-bindings": "^1.270.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
51
|
-
"@salesforce/lds-karma": "^1.
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.270.0",
|
|
51
|
+
"@salesforce/lds-karma": "^1.270.0"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -92,7 +92,7 @@ function createLink(ref) {
|
|
|
92
92
|
|
|
93
93
|
const TTL$6 = 3600000;
|
|
94
94
|
const VERSION$6 = "5a3f5e1d42d8f0aa089e888ddac06972";
|
|
95
|
-
function validate$
|
|
95
|
+
function validate$g(obj, path = 'ExperienceModelBlockTypeDetailRepresentation') {
|
|
96
96
|
const v_error = (() => {
|
|
97
97
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
98
98
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -197,7 +197,7 @@ function equals$6(existing, incoming) {
|
|
|
197
197
|
}
|
|
198
198
|
const ingest$6 = function ExperienceModelBlockTypeDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
199
199
|
if (process.env.NODE_ENV !== 'production') {
|
|
200
|
-
const validateError = validate$
|
|
200
|
+
const validateError = validate$g(input);
|
|
201
201
|
if (validateError !== null) {
|
|
202
202
|
throw validateError;
|
|
203
203
|
}
|
|
@@ -359,7 +359,7 @@ const getBlockTypeAdapterFactory = (luvio) => function ExperienceType__getBlockT
|
|
|
359
359
|
buildCachedSnapshotCachePolicy$6, buildNetworkSnapshotCachePolicy$6);
|
|
360
360
|
};
|
|
361
361
|
|
|
362
|
-
function validate$
|
|
362
|
+
function validate$f(obj, path = 'ExperienceModelBlockTypeSummaryRepresentation') {
|
|
363
363
|
const v_error = (() => {
|
|
364
364
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
365
365
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -418,7 +418,7 @@ function validate$e(obj, path = 'ExperienceModelBlockTypeSummaryRepresentation')
|
|
|
418
418
|
|
|
419
419
|
const TTL$5 = 3600000;
|
|
420
420
|
const VERSION$5 = "c4cd880e972cdf9faaa6db963fe35b31";
|
|
421
|
-
function validate$
|
|
421
|
+
function validate$e(obj, path = 'ExperienceModelBlockTypeCollectionRepresentation') {
|
|
422
422
|
const v_error = (() => {
|
|
423
423
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
424
424
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -431,7 +431,7 @@ function validate$d(obj, path = 'ExperienceModelBlockTypeCollectionRepresentatio
|
|
|
431
431
|
for (let i = 0; i < obj_blockTypes.length; i++) {
|
|
432
432
|
const obj_blockTypes_item = obj_blockTypes[i];
|
|
433
433
|
const path_blockTypes_item = path_blockTypes + '[' + i + ']';
|
|
434
|
-
const referencepath_blockTypes_itemValidationError = validate$
|
|
434
|
+
const referencepath_blockTypes_itemValidationError = validate$f(obj_blockTypes_item, path_blockTypes_item);
|
|
435
435
|
if (referencepath_blockTypes_itemValidationError !== null) {
|
|
436
436
|
let message = 'Object doesn\'t match ExperienceModelBlockTypeSummaryRepresentation (at "' + path_blockTypes_item + '")\n';
|
|
437
437
|
message += referencepath_blockTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -485,7 +485,7 @@ function equals$5(existing, incoming) {
|
|
|
485
485
|
}
|
|
486
486
|
const ingest$5 = function ExperienceModelBlockTypeCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
487
487
|
if (process.env.NODE_ENV !== 'production') {
|
|
488
|
-
const validateError = validate$
|
|
488
|
+
const validateError = validate$e(input);
|
|
489
489
|
if (validateError !== null) {
|
|
490
490
|
throw validateError;
|
|
491
491
|
}
|
|
@@ -653,7 +653,7 @@ const getBlockTypesAdapterFactory = (luvio) => function ExperienceType__getBlock
|
|
|
653
653
|
|
|
654
654
|
const TTL$4 = 3600000;
|
|
655
655
|
const VERSION$4 = "fb0265f1d37480d0821fd97a29a0f9c2";
|
|
656
|
-
function validate$
|
|
656
|
+
function validate$d(obj, path = 'ExperienceModelContentTypeDetailRepresentation') {
|
|
657
657
|
const v_error = (() => {
|
|
658
658
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
659
659
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -742,7 +742,7 @@ function equals$4(existing, incoming) {
|
|
|
742
742
|
}
|
|
743
743
|
const ingest$4 = function ExperienceModelContentTypeDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
744
744
|
if (process.env.NODE_ENV !== 'production') {
|
|
745
|
-
const validateError = validate$
|
|
745
|
+
const validateError = validate$d(input);
|
|
746
746
|
if (validateError !== null) {
|
|
747
747
|
throw validateError;
|
|
748
748
|
}
|
|
@@ -904,7 +904,7 @@ const getContentTypeAdapterFactory = (luvio) => function ExperienceType__getCont
|
|
|
904
904
|
buildCachedSnapshotCachePolicy$4, buildNetworkSnapshotCachePolicy$4);
|
|
905
905
|
};
|
|
906
906
|
|
|
907
|
-
function validate$
|
|
907
|
+
function validate$c(obj, path = 'ExperienceModelContentTypeSummaryRepresentation') {
|
|
908
908
|
const v_error = (() => {
|
|
909
909
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
910
910
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -953,7 +953,7 @@ function validate$b(obj, path = 'ExperienceModelContentTypeSummaryRepresentation
|
|
|
953
953
|
|
|
954
954
|
const TTL$3 = 3600000;
|
|
955
955
|
const VERSION$3 = "30f1f19149230f10ac9197e0d9769c88";
|
|
956
|
-
function validate$
|
|
956
|
+
function validate$b(obj, path = 'ExperienceModelContentTypeCollectionRepresentation') {
|
|
957
957
|
const v_error = (() => {
|
|
958
958
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
959
959
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -966,7 +966,7 @@ function validate$a(obj, path = 'ExperienceModelContentTypeCollectionRepresentat
|
|
|
966
966
|
for (let i = 0; i < obj_contentTypes.length; i++) {
|
|
967
967
|
const obj_contentTypes_item = obj_contentTypes[i];
|
|
968
968
|
const path_contentTypes_item = path_contentTypes + '[' + i + ']';
|
|
969
|
-
const referencepath_contentTypes_itemValidationError = validate$
|
|
969
|
+
const referencepath_contentTypes_itemValidationError = validate$c(obj_contentTypes_item, path_contentTypes_item);
|
|
970
970
|
if (referencepath_contentTypes_itemValidationError !== null) {
|
|
971
971
|
let message = 'Object doesn\'t match ExperienceModelContentTypeSummaryRepresentation (at "' + path_contentTypes_item + '")\n';
|
|
972
972
|
message += referencepath_contentTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1022,7 +1022,7 @@ function equals$3(existing, incoming) {
|
|
|
1022
1022
|
}
|
|
1023
1023
|
const ingest$3 = function ExperienceModelContentTypeCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1024
1024
|
if (process.env.NODE_ENV !== 'production') {
|
|
1025
|
-
const validateError = validate$
|
|
1025
|
+
const validateError = validate$b(input);
|
|
1026
1026
|
if (validateError !== null) {
|
|
1027
1027
|
throw validateError;
|
|
1028
1028
|
}
|
|
@@ -1190,7 +1190,7 @@ const getContentTypesAdapterFactory = (luvio) => function ExperienceType__getCon
|
|
|
1190
1190
|
|
|
1191
1191
|
const TTL$2 = 3600000;
|
|
1192
1192
|
const VERSION$2 = "56f77a37a5711b32738bafbcb3eed520";
|
|
1193
|
-
function validate$
|
|
1193
|
+
function validate$a(obj, path = 'ExperienceModelPropertyTypeDetailRepresentation') {
|
|
1194
1194
|
const v_error = (() => {
|
|
1195
1195
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1196
1196
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1277,7 +1277,7 @@ function equals$2(existing, incoming) {
|
|
|
1277
1277
|
}
|
|
1278
1278
|
const ingest$2 = function ExperienceModelPropertyTypeDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1279
1279
|
if (process.env.NODE_ENV !== 'production') {
|
|
1280
|
-
const validateError = validate$
|
|
1280
|
+
const validateError = validate$a(input);
|
|
1281
1281
|
if (validateError !== null) {
|
|
1282
1282
|
throw validateError;
|
|
1283
1283
|
}
|
|
@@ -1439,7 +1439,7 @@ const getPropertyTypeAdapterFactory = (luvio) => function ExperienceType__getPro
|
|
|
1439
1439
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
1440
1440
|
};
|
|
1441
1441
|
|
|
1442
|
-
function validate$
|
|
1442
|
+
function validate$9(obj, path = 'ExperienceModelPropertyTypeSummaryRepresentation') {
|
|
1443
1443
|
const v_error = (() => {
|
|
1444
1444
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1445
1445
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1486,7 +1486,7 @@ function validate$8(obj, path = 'ExperienceModelPropertyTypeSummaryRepresentatio
|
|
|
1486
1486
|
|
|
1487
1487
|
const TTL$1 = 3600000;
|
|
1488
1488
|
const VERSION$1 = "172e544645942d550fc1f07812bb85b6";
|
|
1489
|
-
function validate$
|
|
1489
|
+
function validate$8(obj, path = 'ExperienceModelPropertyTypeCollectionRepresentation') {
|
|
1490
1490
|
const v_error = (() => {
|
|
1491
1491
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1492
1492
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1525,7 +1525,7 @@ function validate$7(obj, path = 'ExperienceModelPropertyTypeCollectionRepresenta
|
|
|
1525
1525
|
for (let i = 0; i < obj_propertyTypes.length; i++) {
|
|
1526
1526
|
const obj_propertyTypes_item = obj_propertyTypes[i];
|
|
1527
1527
|
const path_propertyTypes_item = path_propertyTypes + '[' + i + ']';
|
|
1528
|
-
const referencepath_propertyTypes_itemValidationError = validate$
|
|
1528
|
+
const referencepath_propertyTypes_itemValidationError = validate$9(obj_propertyTypes_item, path_propertyTypes_item);
|
|
1529
1529
|
if (referencepath_propertyTypes_itemValidationError !== null) {
|
|
1530
1530
|
let message = 'Object doesn\'t match ExperienceModelPropertyTypeSummaryRepresentation (at "' + path_propertyTypes_item + '")\n';
|
|
1531
1531
|
message += referencepath_propertyTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1555,7 +1555,7 @@ function equals$1(existing, incoming) {
|
|
|
1555
1555
|
}
|
|
1556
1556
|
const ingest$1 = function ExperienceModelPropertyTypeCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1557
1557
|
if (process.env.NODE_ENV !== 'production') {
|
|
1558
|
-
const validateError = validate$
|
|
1558
|
+
const validateError = validate$8(input);
|
|
1559
1559
|
if (validateError !== null) {
|
|
1560
1560
|
throw validateError;
|
|
1561
1561
|
}
|
|
@@ -1718,7 +1718,7 @@ const getPropertyTypesAdapterFactory = (luvio) => function ExperienceType__getPr
|
|
|
1718
1718
|
buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
|
|
1719
1719
|
};
|
|
1720
1720
|
|
|
1721
|
-
function validate$
|
|
1721
|
+
function validate$7(obj, path = 'ExperienceModelDesignConfigInputRepresentation') {
|
|
1722
1722
|
const v_error = (() => {
|
|
1723
1723
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1724
1724
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1734,7 +1734,7 @@ function validate$6(obj, path = 'ExperienceModelDesignConfigInputRepresentation'
|
|
|
1734
1734
|
return v_error === undefined ? null : v_error;
|
|
1735
1735
|
}
|
|
1736
1736
|
|
|
1737
|
-
function validate$
|
|
1737
|
+
function validate$6(obj, path = 'ExperienceModelRenditionConfigInputRepresentation') {
|
|
1738
1738
|
const v_error = (() => {
|
|
1739
1739
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1740
1740
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1750,6 +1750,27 @@ function validate$5(obj, path = 'ExperienceModelRenditionConfigInputRepresentati
|
|
|
1750
1750
|
return v_error === undefined ? null : v_error;
|
|
1751
1751
|
}
|
|
1752
1752
|
|
|
1753
|
+
function validate$5(obj, path = 'ExperienceModelFilterConfigInputRepresentation') {
|
|
1754
|
+
const v_error = (() => {
|
|
1755
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1756
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1757
|
+
}
|
|
1758
|
+
const obj_propertyNames = obj.propertyNames;
|
|
1759
|
+
const path_propertyNames = path + '.propertyNames';
|
|
1760
|
+
if (!ArrayIsArray(obj_propertyNames)) {
|
|
1761
|
+
return new TypeError('Expected "array" but received "' + typeof obj_propertyNames + '" (at "' + path_propertyNames + '")');
|
|
1762
|
+
}
|
|
1763
|
+
for (let i = 0; i < obj_propertyNames.length; i++) {
|
|
1764
|
+
const obj_propertyNames_item = obj_propertyNames[i];
|
|
1765
|
+
const path_propertyNames_item = path_propertyNames + '[' + i + ']';
|
|
1766
|
+
if (typeof obj_propertyNames_item !== 'string') {
|
|
1767
|
+
return new TypeError('Expected "string" but received "' + typeof obj_propertyNames_item + '" (at "' + path_propertyNames_item + '")');
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1770
|
+
})();
|
|
1771
|
+
return v_error === undefined ? null : v_error;
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1753
1774
|
function validate$4(obj, path = 'ExperienceModelSchemaConfigInputRepresentation') {
|
|
1754
1775
|
const v_error = (() => {
|
|
1755
1776
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1758,15 +1779,11 @@ function validate$4(obj, path = 'ExperienceModelSchemaConfigInputRepresentation'
|
|
|
1758
1779
|
if (obj.filterConfig !== undefined) {
|
|
1759
1780
|
const obj_filterConfig = obj.filterConfig;
|
|
1760
1781
|
const path_filterConfig = path + '.filterConfig';
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
const path_filterConfig_item = path_filterConfig + '[' + i + ']';
|
|
1767
|
-
if (typeof obj_filterConfig_item !== 'string') {
|
|
1768
|
-
return new TypeError('Expected "string" but received "' + typeof obj_filterConfig_item + '" (at "' + path_filterConfig_item + '")');
|
|
1769
|
-
}
|
|
1782
|
+
const referencepath_filterConfigValidationError = validate$5(obj_filterConfig, path_filterConfig);
|
|
1783
|
+
if (referencepath_filterConfigValidationError !== null) {
|
|
1784
|
+
let message = 'Object doesn\'t match ExperienceModelFilterConfigInputRepresentation (at "' + path_filterConfig + '")\n';
|
|
1785
|
+
message += referencepath_filterConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1786
|
+
return new TypeError(message);
|
|
1770
1787
|
}
|
|
1771
1788
|
}
|
|
1772
1789
|
if (obj.subSchemaDefinitions !== undefined) {
|
|
@@ -1793,7 +1810,7 @@ function validate$3(obj, path = 'ExperienceModelTypesConfigInputRepresentation')
|
|
|
1793
1810
|
if (obj.designConfig !== undefined) {
|
|
1794
1811
|
const obj_designConfig = obj.designConfig;
|
|
1795
1812
|
const path_designConfig = path + '.designConfig';
|
|
1796
|
-
const referencepath_designConfigValidationError = validate$
|
|
1813
|
+
const referencepath_designConfigValidationError = validate$7(obj_designConfig, path_designConfig);
|
|
1797
1814
|
if (referencepath_designConfigValidationError !== null) {
|
|
1798
1815
|
let message = 'Object doesn\'t match ExperienceModelDesignConfigInputRepresentation (at "' + path_designConfig + '")\n';
|
|
1799
1816
|
message += referencepath_designConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1803,7 +1820,7 @@ function validate$3(obj, path = 'ExperienceModelTypesConfigInputRepresentation')
|
|
|
1803
1820
|
if (obj.renditionConfig !== undefined) {
|
|
1804
1821
|
const obj_renditionConfig = obj.renditionConfig;
|
|
1805
1822
|
const path_renditionConfig = path + '.renditionConfig';
|
|
1806
|
-
const referencepath_renditionConfigValidationError = validate$
|
|
1823
|
+
const referencepath_renditionConfigValidationError = validate$6(obj_renditionConfig, path_renditionConfig);
|
|
1807
1824
|
if (referencepath_renditionConfigValidationError !== null) {
|
|
1808
1825
|
let message = 'Object doesn\'t match ExperienceModelRenditionConfigInputRepresentation (at "' + path_renditionConfig + '")\n';
|
|
1809
1826
|
message += referencepath_renditionConfigValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2007,7 +2024,7 @@ function select(luvio, params) {
|
|
|
2007
2024
|
return select$1();
|
|
2008
2025
|
}
|
|
2009
2026
|
function keyBuilder$1(luvio, params) {
|
|
2010
|
-
return keyPrefix + '::ExperienceModelTypesCollectionRepresentation:(' + 'language:' + params.body.language + '::' + '[' + params.body.typeConfigs.map(element => { var _a, _b, _c, _d, _e, _f, _g, _h; return 'typeConfigs.descriptor:' + element.descriptor + '::' + (((_a = element.designConfig) === null || _a === void 0 ? void 0 : _a.target) === undefined ? 'typeConfigs.designConfig.target' : 'typeConfigs.designConfig.target:' + ((_b = element.designConfig) === null || _b === void 0 ? void 0 : _b.target)) + '::' + (((_c = element.renditionConfig) === null || _c === void 0 ? void 0 : _c.target) === undefined ? 'typeConfigs.renditionConfig.target' : 'typeConfigs.renditionConfig.target:' + ((_d = element.renditionConfig) === null || _d === void 0 ? void 0 : _d.target)) + '::' + (((_e = element.schemaConfig) === null || _e === void 0 ? void 0 : _e.filterConfig) === undefined ? 'typeConfigs.schemaConfig.filterConfig' : 'typeConfigs.schemaConfig.filterConfig:' + ((
|
|
2027
|
+
return keyPrefix + '::ExperienceModelTypesCollectionRepresentation:(' + 'language:' + params.body.language + '::' + '[' + params.body.typeConfigs.map(element => { var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k; return 'typeConfigs.descriptor:' + element.descriptor + '::' + (((_a = element.designConfig) === null || _a === void 0 ? void 0 : _a.target) === undefined ? 'typeConfigs.designConfig.target' : 'typeConfigs.designConfig.target:' + ((_b = element.designConfig) === null || _b === void 0 ? void 0 : _b.target)) + '::' + (((_c = element.renditionConfig) === null || _c === void 0 ? void 0 : _c.target) === undefined ? 'typeConfigs.renditionConfig.target' : 'typeConfigs.renditionConfig.target:' + ((_d = element.renditionConfig) === null || _d === void 0 ? void 0 : _d.target)) + '::' + (((_f = (_e = element.schemaConfig) === null || _e === void 0 ? void 0 : _e.filterConfig) === null || _f === void 0 ? void 0 : _f.propertyNames) === undefined ? 'typeConfigs.schemaConfig.filterConfig.propertyNames' : 'typeConfigs.schemaConfig.filterConfig.propertyNames:' + ((_h = (_g = element.schemaConfig) === null || _g === void 0 ? void 0 : _g.filterConfig) === null || _h === void 0 ? void 0 : _h.propertyNames)) + '::' + (((_j = element.schemaConfig) === null || _j === void 0 ? void 0 : _j.subSchemaDefinitions) === undefined ? 'typeConfigs.schemaConfig.subSchemaDefinitions' : 'typeConfigs.schemaConfig.subSchemaDefinitions:' + ((_k = element.schemaConfig) === null || _k === void 0 ? void 0 : _k.subSchemaDefinitions)) + '::' + (element.sourceDescriptor === undefined ? 'typeConfigs.sourceDescriptor' : 'typeConfigs.sourceDescriptor:' + element.sourceDescriptor); }).join(',') + ']' + ')';
|
|
2011
2028
|
}
|
|
2012
2029
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
2013
2030
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
@@ -2242,4 +2259,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2242
2259
|
});
|
|
2243
2260
|
|
|
2244
2261
|
export { getBlockType, getBlockType_imperative, getBlockTypes, getBlockTypes_imperative, getContentType, getContentType_imperative, getContentTypes, getContentTypes_imperative, getPropertyType, getPropertyType_imperative, getPropertyTypes, getPropertyTypes_imperative, getTypes, getTypes_imperative };
|
|
2245
|
-
// version: 1.
|
|
2262
|
+
// version: 1.270.0-533e91908
|
package/src/raml/api.raml
CHANGED
|
@@ -419,9 +419,7 @@ types:
|
|
|
419
419
|
properties:
|
|
420
420
|
filterConfig:
|
|
421
421
|
description: Filter configuration for schema
|
|
422
|
-
type:
|
|
423
|
-
items:
|
|
424
|
-
type: string
|
|
422
|
+
type: ExperienceModelFilterConfigInputRepresentation
|
|
425
423
|
required: false # TODO waiting on W-8253396
|
|
426
424
|
subSchemaDefinitions:
|
|
427
425
|
description: Boolean property if sub-schema should be included
|