@salesforce/lds-adapters-cms-authoring 1.289.0 → 1.291.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.
|
@@ -651,7 +651,7 @@ function equals$B(existing, incoming) {
|
|
|
651
651
|
return true;
|
|
652
652
|
}
|
|
653
653
|
|
|
654
|
-
const TTL$
|
|
654
|
+
const TTL$x = 100;
|
|
655
655
|
const VERSION$A = "f7e3c655efe77a7c9968ade15a6029b1";
|
|
656
656
|
function validate$18(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
657
657
|
const v_error = (() => {
|
|
@@ -841,14 +841,14 @@ function validate$18(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
|
841
841
|
return v_error === undefined ? null : v_error;
|
|
842
842
|
}
|
|
843
843
|
const RepresentationType$x = 'ManagedContentDeploymentRepresentation';
|
|
844
|
-
function keyBuilder$
|
|
844
|
+
function keyBuilder$14(luvio, config) {
|
|
845
845
|
return keyPrefix + '::' + RepresentationType$x + ':' + config.id;
|
|
846
846
|
}
|
|
847
|
-
function keyBuilderFromType$
|
|
847
|
+
function keyBuilderFromType$h(luvio, object) {
|
|
848
848
|
const keyParams = {
|
|
849
849
|
id: object.deploymentId
|
|
850
850
|
};
|
|
851
|
-
return keyBuilder$
|
|
851
|
+
return keyBuilder$14(luvio, keyParams);
|
|
852
852
|
}
|
|
853
853
|
function normalize$x(input, existing, path, luvio, store, timestamp) {
|
|
854
854
|
return input;
|
|
@@ -958,14 +958,14 @@ const ingest$x = function ManagedContentDeploymentRepresentationIngest(input, pa
|
|
|
958
958
|
throw validateError;
|
|
959
959
|
}
|
|
960
960
|
}
|
|
961
|
-
const key = keyBuilderFromType$
|
|
962
|
-
const ttlToUse = TTL$
|
|
961
|
+
const key = keyBuilderFromType$h(luvio, input);
|
|
962
|
+
const ttlToUse = TTL$x;
|
|
963
963
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "CMSAuthoring", VERSION$A, RepresentationType$x, equals$A);
|
|
964
964
|
return createLink(key);
|
|
965
965
|
};
|
|
966
966
|
function getTypeCacheKeys$x(rootKeySet, luvio, input, fullPathFactory) {
|
|
967
967
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
968
|
-
const rootKey = keyBuilderFromType$
|
|
968
|
+
const rootKey = keyBuilderFromType$h(luvio, input);
|
|
969
969
|
rootKeySet.set(rootKey, {
|
|
970
970
|
namespace: keyPrefix,
|
|
971
971
|
representationName: RepresentationType$x,
|
|
@@ -973,7 +973,7 @@ function getTypeCacheKeys$x(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
973
973
|
});
|
|
974
974
|
}
|
|
975
975
|
|
|
976
|
-
const TTL$
|
|
976
|
+
const TTL$w = 100;
|
|
977
977
|
const VERSION$z = "b2c15aa80814ecd854e68bf635879e35";
|
|
978
978
|
function validate$17(obj, path = 'ManagedContentDeploymentCollectionRepresentation') {
|
|
979
979
|
const v_error = (() => {
|
|
@@ -1135,7 +1135,7 @@ const ingest$w = function ManagedContentDeploymentCollectionRepresentationIngest
|
|
|
1135
1135
|
}
|
|
1136
1136
|
}
|
|
1137
1137
|
const key = path.fullPath;
|
|
1138
|
-
const ttlToUse = TTL$
|
|
1138
|
+
const ttlToUse = TTL$w;
|
|
1139
1139
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "CMSAuthoring", VERSION$z, RepresentationType$w, equals$z);
|
|
1140
1140
|
return createLink(key);
|
|
1141
1141
|
};
|
|
@@ -1156,15 +1156,15 @@ function getTypeCacheKeys$w(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1156
1156
|
function select$1d(luvio, params) {
|
|
1157
1157
|
return select$1e();
|
|
1158
1158
|
}
|
|
1159
|
-
function keyBuilder$
|
|
1159
|
+
function keyBuilder$13(luvio, params) {
|
|
1160
1160
|
return keyPrefix + '::ManagedContentDeploymentCollectionRepresentation:(' + 'contentSpaceId:' + params.queryParams.contentSpaceId + ',' + 'deploymentId:' + params.queryParams.deploymentId + ',' + 'deploymentStatus:' + params.queryParams.deploymentStatus + ',' + 'deploymentType:' + params.queryParams.deploymentType + ',' + 'managedContentVersionId:' + params.queryParams.managedContentVersionId + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'variantIds:' + params.queryParams.variantIds + ')';
|
|
1161
1161
|
}
|
|
1162
1162
|
function getResponseCacheKeys$H(storeKeyMap, luvio, resourceParams, response) {
|
|
1163
|
-
getTypeCacheKeys$w(storeKeyMap, luvio, response, () => keyBuilder$
|
|
1163
|
+
getTypeCacheKeys$w(storeKeyMap, luvio, response, () => keyBuilder$13(luvio, resourceParams));
|
|
1164
1164
|
}
|
|
1165
1165
|
function ingestSuccess$H(luvio, resourceParams, response, snapshotRefresh) {
|
|
1166
1166
|
const { body } = response;
|
|
1167
|
-
const key = keyBuilder$
|
|
1167
|
+
const key = keyBuilder$13(luvio, resourceParams);
|
|
1168
1168
|
luvio.storeIngest(key, ingest$w, body);
|
|
1169
1169
|
const snapshot = luvio.storeLookup({
|
|
1170
1170
|
recordId: key,
|
|
@@ -1180,10 +1180,10 @@ function ingestSuccess$H(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1180
1180
|
return snapshot;
|
|
1181
1181
|
}
|
|
1182
1182
|
function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
1183
|
-
const key = keyBuilder$
|
|
1183
|
+
const key = keyBuilder$13(luvio, params);
|
|
1184
1184
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
1185
1185
|
const storeMetadataParams = {
|
|
1186
|
-
ttl: TTL$
|
|
1186
|
+
ttl: TTL$w,
|
|
1187
1187
|
namespace: keyPrefix,
|
|
1188
1188
|
version: VERSION$z,
|
|
1189
1189
|
representationName: RepresentationType$w
|
|
@@ -1194,7 +1194,7 @@ function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
|
1194
1194
|
function createResourceRequest$H(config) {
|
|
1195
1195
|
const headers = {};
|
|
1196
1196
|
return {
|
|
1197
|
-
baseUri: '/services/data/
|
|
1197
|
+
baseUri: '/services/data/v62.0',
|
|
1198
1198
|
basePath: '/cms/deployments',
|
|
1199
1199
|
method: 'get',
|
|
1200
1200
|
body: null,
|
|
@@ -1224,9 +1224,9 @@ const getDeployments_ConfigPropertyMetadata = [
|
|
|
1224
1224
|
];
|
|
1225
1225
|
const getDeployments_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$H, getDeployments_ConfigPropertyMetadata);
|
|
1226
1226
|
const createResourceParams$H = /*#__PURE__*/ createResourceParams$I(getDeployments_ConfigPropertyMetadata);
|
|
1227
|
-
function keyBuilder$
|
|
1227
|
+
function keyBuilder$12(luvio, config) {
|
|
1228
1228
|
const resourceParams = createResourceParams$H(config);
|
|
1229
|
-
return keyBuilder$
|
|
1229
|
+
return keyBuilder$13(luvio, resourceParams);
|
|
1230
1230
|
}
|
|
1231
1231
|
function typeCheckConfig$H(untrustedConfig) {
|
|
1232
1232
|
const config = {};
|
|
@@ -1290,7 +1290,7 @@ function buildNetworkSnapshotCachePolicy$o(context, coercedAdapterRequestContext
|
|
|
1290
1290
|
function buildCachedSnapshotCachePolicy$o(context, storeLookup) {
|
|
1291
1291
|
const { luvio, config } = context;
|
|
1292
1292
|
const selector = {
|
|
1293
|
-
recordId: keyBuilder$
|
|
1293
|
+
recordId: keyBuilder$12(luvio, config),
|
|
1294
1294
|
node: adapterFragment$o(luvio, config),
|
|
1295
1295
|
variables: {},
|
|
1296
1296
|
};
|
|
@@ -1402,7 +1402,7 @@ function getResponseCacheKeys$G(storeKeyMap, luvio, resourceParams, response) {
|
|
|
1402
1402
|
}
|
|
1403
1403
|
function ingestSuccess$G(luvio, resourceParams, response) {
|
|
1404
1404
|
const { body } = response;
|
|
1405
|
-
const key = keyBuilderFromType$
|
|
1405
|
+
const key = keyBuilderFromType$h(luvio, body);
|
|
1406
1406
|
luvio.storeIngest(key, ingest$x, body);
|
|
1407
1407
|
const snapshot = luvio.storeLookup({
|
|
1408
1408
|
recordId: key,
|
|
@@ -1420,7 +1420,7 @@ function ingestSuccess$G(luvio, resourceParams, response) {
|
|
|
1420
1420
|
function createResourceRequest$G(config) {
|
|
1421
1421
|
const headers = {};
|
|
1422
1422
|
return {
|
|
1423
|
-
baseUri: '/services/data/
|
|
1423
|
+
baseUri: '/services/data/v62.0',
|
|
1424
1424
|
basePath: '/cms/deployments',
|
|
1425
1425
|
method: 'post',
|
|
1426
1426
|
body: config.body,
|
|
@@ -1620,7 +1620,7 @@ function equals$x(existing, incoming) {
|
|
|
1620
1620
|
return true;
|
|
1621
1621
|
}
|
|
1622
1622
|
|
|
1623
|
-
const TTL$
|
|
1623
|
+
const TTL$v = 100;
|
|
1624
1624
|
const VERSION$w = "9c2de7843d4d4e7784d56c7f83c58f0e";
|
|
1625
1625
|
function validate$13(obj, path = 'ManagedContentV2JobDetailRepresentation') {
|
|
1626
1626
|
const v_error = (() => {
|
|
@@ -1726,14 +1726,14 @@ function validate$13(obj, path = 'ManagedContentV2JobDetailRepresentation') {
|
|
|
1726
1726
|
return v_error === undefined ? null : v_error;
|
|
1727
1727
|
}
|
|
1728
1728
|
const RepresentationType$v = 'ManagedContentV2JobDetailRepresentation';
|
|
1729
|
-
function keyBuilder$
|
|
1729
|
+
function keyBuilder$11(luvio, config) {
|
|
1730
1730
|
return keyPrefix + '::' + RepresentationType$v + ':' + config.id;
|
|
1731
1731
|
}
|
|
1732
|
-
function keyBuilderFromType$
|
|
1732
|
+
function keyBuilderFromType$g(luvio, object) {
|
|
1733
1733
|
const keyParams = {
|
|
1734
1734
|
id: object.id
|
|
1735
1735
|
};
|
|
1736
|
-
return keyBuilder$
|
|
1736
|
+
return keyBuilder$11(luvio, keyParams);
|
|
1737
1737
|
}
|
|
1738
1738
|
function normalize$v(input, existing, path, luvio, store, timestamp) {
|
|
1739
1739
|
return input;
|
|
@@ -1853,14 +1853,14 @@ const ingest$v = function ManagedContentV2JobDetailRepresentationIngest(input, p
|
|
|
1853
1853
|
throw validateError;
|
|
1854
1854
|
}
|
|
1855
1855
|
}
|
|
1856
|
-
const key = keyBuilderFromType$
|
|
1857
|
-
const ttlToUse = TTL$
|
|
1856
|
+
const key = keyBuilderFromType$g(luvio, input);
|
|
1857
|
+
const ttlToUse = TTL$v;
|
|
1858
1858
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$v, "CMSAuthoring", VERSION$w, RepresentationType$v, equals$w);
|
|
1859
1859
|
return createLink(key);
|
|
1860
1860
|
};
|
|
1861
1861
|
function getTypeCacheKeys$v(rootKeySet, luvio, input, fullPathFactory) {
|
|
1862
1862
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
1863
|
-
const rootKey = keyBuilderFromType$
|
|
1863
|
+
const rootKey = keyBuilderFromType$g(luvio, input);
|
|
1864
1864
|
rootKeySet.set(rootKey, {
|
|
1865
1865
|
namespace: keyPrefix,
|
|
1866
1866
|
representationName: RepresentationType$v,
|
|
@@ -1868,7 +1868,7 @@ function getTypeCacheKeys$v(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1868
1868
|
});
|
|
1869
1869
|
}
|
|
1870
1870
|
|
|
1871
|
-
const TTL$
|
|
1871
|
+
const TTL$u = 100;
|
|
1872
1872
|
const VERSION$v = "75cfd71e168144693d36fa16f7d8f4d0";
|
|
1873
1873
|
function validate$12(obj, path = 'ManagedContentJobCollectionRepresentation') {
|
|
1874
1874
|
const v_error = (() => {
|
|
@@ -2030,7 +2030,7 @@ const ingest$u = function ManagedContentJobCollectionRepresentationIngest(input,
|
|
|
2030
2030
|
}
|
|
2031
2031
|
}
|
|
2032
2032
|
const key = path.fullPath;
|
|
2033
|
-
const ttlToUse = TTL$
|
|
2033
|
+
const ttlToUse = TTL$u;
|
|
2034
2034
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$u, "CMSAuthoring", VERSION$v, RepresentationType$u, equals$v);
|
|
2035
2035
|
return createLink(key);
|
|
2036
2036
|
};
|
|
@@ -2051,15 +2051,15 @@ function getTypeCacheKeys$u(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2051
2051
|
function select$17(luvio, params) {
|
|
2052
2052
|
return select$18();
|
|
2053
2053
|
}
|
|
2054
|
-
function keyBuilder
|
|
2054
|
+
function keyBuilder$10(luvio, params) {
|
|
2055
2055
|
return keyPrefix + '::ManagedContentJobCollectionRepresentation:(' + 'jobType:' + params.queryParams.jobType + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'contentSpaceId:' + params.urlParams.contentSpaceId + ')';
|
|
2056
2056
|
}
|
|
2057
2057
|
function getResponseCacheKeys$F(storeKeyMap, luvio, resourceParams, response) {
|
|
2058
|
-
getTypeCacheKeys$u(storeKeyMap, luvio, response, () => keyBuilder
|
|
2058
|
+
getTypeCacheKeys$u(storeKeyMap, luvio, response, () => keyBuilder$10(luvio, resourceParams));
|
|
2059
2059
|
}
|
|
2060
2060
|
function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
|
|
2061
2061
|
const { body } = response;
|
|
2062
|
-
const key = keyBuilder
|
|
2062
|
+
const key = keyBuilder$10(luvio, resourceParams);
|
|
2063
2063
|
luvio.storeIngest(key, ingest$u, body);
|
|
2064
2064
|
const snapshot = luvio.storeLookup({
|
|
2065
2065
|
recordId: key,
|
|
@@ -2075,10 +2075,10 @@ function ingestSuccess$F(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2075
2075
|
return snapshot;
|
|
2076
2076
|
}
|
|
2077
2077
|
function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
2078
|
-
const key = keyBuilder
|
|
2078
|
+
const key = keyBuilder$10(luvio, params);
|
|
2079
2079
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
2080
2080
|
const storeMetadataParams = {
|
|
2081
|
-
ttl: TTL$
|
|
2081
|
+
ttl: TTL$u,
|
|
2082
2082
|
namespace: keyPrefix,
|
|
2083
2083
|
version: VERSION$v,
|
|
2084
2084
|
representationName: RepresentationType$u
|
|
@@ -2089,7 +2089,7 @@ function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
|
2089
2089
|
function createResourceRequest$F(config) {
|
|
2090
2090
|
const headers = {};
|
|
2091
2091
|
return {
|
|
2092
|
-
baseUri: '/services/data/
|
|
2092
|
+
baseUri: '/services/data/v62.0',
|
|
2093
2093
|
basePath: '/cms/spaces/' + config.urlParams.contentSpaceId + '/jobs',
|
|
2094
2094
|
method: 'get',
|
|
2095
2095
|
body: null,
|
|
@@ -2109,9 +2109,9 @@ const getAllCMSJobsForSpace_ConfigPropertyMetadata = [
|
|
|
2109
2109
|
];
|
|
2110
2110
|
const getAllCMSJobsForSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$F, getAllCMSJobsForSpace_ConfigPropertyMetadata);
|
|
2111
2111
|
const createResourceParams$F = /*#__PURE__*/ createResourceParams$I(getAllCMSJobsForSpace_ConfigPropertyMetadata);
|
|
2112
|
-
function keyBuilder
|
|
2112
|
+
function keyBuilder$$(luvio, config) {
|
|
2113
2113
|
const resourceParams = createResourceParams$F(config);
|
|
2114
|
-
return keyBuilder
|
|
2114
|
+
return keyBuilder$10(luvio, resourceParams);
|
|
2115
2115
|
}
|
|
2116
2116
|
function typeCheckConfig$F(untrustedConfig) {
|
|
2117
2117
|
const config = {};
|
|
@@ -2169,7 +2169,7 @@ function buildNetworkSnapshotCachePolicy$n(context, coercedAdapterRequestContext
|
|
|
2169
2169
|
function buildCachedSnapshotCachePolicy$n(context, storeLookup) {
|
|
2170
2170
|
const { luvio, config } = context;
|
|
2171
2171
|
const selector = {
|
|
2172
|
-
recordId: keyBuilder
|
|
2172
|
+
recordId: keyBuilder$$(luvio, config),
|
|
2173
2173
|
node: adapterFragment$n(luvio, config),
|
|
2174
2174
|
variables: {},
|
|
2175
2175
|
};
|
|
@@ -2192,8 +2192,8 @@ const getAllCMSJobsForSpaceAdapterFactory = (luvio) => function CMSAuthoring__ge
|
|
|
2192
2192
|
function select$16(luvio, params) {
|
|
2193
2193
|
return select$19();
|
|
2194
2194
|
}
|
|
2195
|
-
function keyBuilder$
|
|
2196
|
-
return keyBuilder$
|
|
2195
|
+
function keyBuilder$_(luvio, params) {
|
|
2196
|
+
return keyBuilder$11(luvio, {
|
|
2197
2197
|
id: params.urlParams.jobId
|
|
2198
2198
|
});
|
|
2199
2199
|
}
|
|
@@ -2202,7 +2202,7 @@ function getResponseCacheKeys$E(storeKeyMap, luvio, resourceParams, response) {
|
|
|
2202
2202
|
}
|
|
2203
2203
|
function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
|
|
2204
2204
|
const { body } = response;
|
|
2205
|
-
const key = keyBuilder$
|
|
2205
|
+
const key = keyBuilder$_(luvio, resourceParams);
|
|
2206
2206
|
luvio.storeIngest(key, ingest$v, body);
|
|
2207
2207
|
const snapshot = luvio.storeLookup({
|
|
2208
2208
|
recordId: key,
|
|
@@ -2218,10 +2218,10 @@ function ingestSuccess$E(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2218
2218
|
return snapshot;
|
|
2219
2219
|
}
|
|
2220
2220
|
function ingestError$m(luvio, params, error, snapshotRefresh) {
|
|
2221
|
-
const key = keyBuilder$
|
|
2221
|
+
const key = keyBuilder$_(luvio, params);
|
|
2222
2222
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
2223
2223
|
const storeMetadataParams = {
|
|
2224
|
-
ttl: TTL$
|
|
2224
|
+
ttl: TTL$v,
|
|
2225
2225
|
namespace: keyPrefix,
|
|
2226
2226
|
version: VERSION$w,
|
|
2227
2227
|
representationName: RepresentationType$v
|
|
@@ -2232,7 +2232,7 @@ function ingestError$m(luvio, params, error, snapshotRefresh) {
|
|
|
2232
2232
|
function createResourceRequest$E(config) {
|
|
2233
2233
|
const headers = {};
|
|
2234
2234
|
return {
|
|
2235
|
-
baseUri: '/services/data/
|
|
2235
|
+
baseUri: '/services/data/v62.0',
|
|
2236
2236
|
basePath: '/cms/spaces/' + config.urlParams.contentSpaceId + '/jobs/' + config.urlParams.jobId + '',
|
|
2237
2237
|
method: 'get',
|
|
2238
2238
|
body: null,
|
|
@@ -2250,9 +2250,9 @@ const getCMSJobForSpace_ConfigPropertyMetadata = [
|
|
|
2250
2250
|
];
|
|
2251
2251
|
const getCMSJobForSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$E, getCMSJobForSpace_ConfigPropertyMetadata);
|
|
2252
2252
|
const createResourceParams$E = /*#__PURE__*/ createResourceParams$I(getCMSJobForSpace_ConfigPropertyMetadata);
|
|
2253
|
-
function keyBuilder$
|
|
2253
|
+
function keyBuilder$Z(luvio, config) {
|
|
2254
2254
|
const resourceParams = createResourceParams$E(config);
|
|
2255
|
-
return keyBuilder$
|
|
2255
|
+
return keyBuilder$_(luvio, resourceParams);
|
|
2256
2256
|
}
|
|
2257
2257
|
function typeCheckConfig$E(untrustedConfig) {
|
|
2258
2258
|
const config = {};
|
|
@@ -2310,7 +2310,7 @@ function buildNetworkSnapshotCachePolicy$m(context, coercedAdapterRequestContext
|
|
|
2310
2310
|
function buildCachedSnapshotCachePolicy$m(context, storeLookup) {
|
|
2311
2311
|
const { luvio, config } = context;
|
|
2312
2312
|
const selector = {
|
|
2313
|
-
recordId: keyBuilder$
|
|
2313
|
+
recordId: keyBuilder$Z(luvio, config),
|
|
2314
2314
|
node: adapterFragment$m(luvio, config),
|
|
2315
2315
|
variables: {},
|
|
2316
2316
|
};
|
|
@@ -2418,7 +2418,7 @@ function validate$11(obj, path = 'ManagedContentSpaceFolderItemV1Representation'
|
|
|
2418
2418
|
return v_error === undefined ? null : v_error;
|
|
2419
2419
|
}
|
|
2420
2420
|
|
|
2421
|
-
const TTL$
|
|
2421
|
+
const TTL$t = 100;
|
|
2422
2422
|
const VERSION$u = "df1370994ae2e57cdebc5f5125930e2d";
|
|
2423
2423
|
function validate$10(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepresentation') {
|
|
2424
2424
|
const v_error = (() => {
|
|
@@ -2500,7 +2500,7 @@ const ingest$t = function ManagedContentSpaceFolderItemV1CollectionRepresentatio
|
|
|
2500
2500
|
}
|
|
2501
2501
|
}
|
|
2502
2502
|
const key = path.fullPath;
|
|
2503
|
-
const ttlToUse = TTL$
|
|
2503
|
+
const ttlToUse = TTL$t;
|
|
2504
2504
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$t, "CMSAuthoring", VERSION$u, RepresentationType$t, equals$u);
|
|
2505
2505
|
return createLink(key);
|
|
2506
2506
|
};
|
|
@@ -2517,15 +2517,15 @@ function getTypeCacheKeys$t(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2517
2517
|
function select$14(luvio, params) {
|
|
2518
2518
|
return select$15();
|
|
2519
2519
|
}
|
|
2520
|
-
function keyBuilder$
|
|
2520
|
+
function keyBuilder$Y(luvio, params) {
|
|
2521
2521
|
return keyPrefix + '::ManagedContentSpaceFolderItemV1CollectionRepresentation:(' + 'contentTypeFilter:' + params.queryParams.contentTypeFilter + ',' + 'contentTypes:' + params.queryParams.contentTypes + ',' + 'filter:' + params.queryParams.filter + ',' + 'managedContentType:' + params.queryParams.managedContentType + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'queryTerm:' + params.queryParams.queryTerm + ',' + 'showPublishedOnly:' + params.queryParams.showPublishedOnly + ',' + 'sortBy:' + params.queryParams.sortBy + ',' + 'sortOrder:' + params.queryParams.sortOrder + ',' + 'folderId:' + params.urlParams.folderId + ')';
|
|
2522
2522
|
}
|
|
2523
2523
|
function getResponseCacheKeys$D(storeKeyMap, luvio, resourceParams, response) {
|
|
2524
|
-
getTypeCacheKeys$t(storeKeyMap, luvio, response, () => keyBuilder$
|
|
2524
|
+
getTypeCacheKeys$t(storeKeyMap, luvio, response, () => keyBuilder$Y(luvio, resourceParams));
|
|
2525
2525
|
}
|
|
2526
2526
|
function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
|
|
2527
2527
|
const { body } = response;
|
|
2528
|
-
const key = keyBuilder$
|
|
2528
|
+
const key = keyBuilder$Y(luvio, resourceParams);
|
|
2529
2529
|
luvio.storeIngest(key, ingest$t, body);
|
|
2530
2530
|
const snapshot = luvio.storeLookup({
|
|
2531
2531
|
recordId: key,
|
|
@@ -2541,10 +2541,10 @@ function ingestSuccess$D(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2541
2541
|
return snapshot;
|
|
2542
2542
|
}
|
|
2543
2543
|
function ingestError$l(luvio, params, error, snapshotRefresh) {
|
|
2544
|
-
const key = keyBuilder$
|
|
2544
|
+
const key = keyBuilder$Y(luvio, params);
|
|
2545
2545
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
2546
2546
|
const storeMetadataParams = {
|
|
2547
|
-
ttl: TTL$
|
|
2547
|
+
ttl: TTL$t,
|
|
2548
2548
|
namespace: keyPrefix,
|
|
2549
2549
|
version: VERSION$u,
|
|
2550
2550
|
representationName: RepresentationType$t
|
|
@@ -2555,7 +2555,7 @@ function ingestError$l(luvio, params, error, snapshotRefresh) {
|
|
|
2555
2555
|
function createResourceRequest$D(config) {
|
|
2556
2556
|
const headers = {};
|
|
2557
2557
|
return {
|
|
2558
|
-
baseUri: '/services/data/
|
|
2558
|
+
baseUri: '/services/data/v62.0',
|
|
2559
2559
|
basePath: '/cms/folders/' + config.urlParams.folderId + '/items',
|
|
2560
2560
|
method: 'get',
|
|
2561
2561
|
body: null,
|
|
@@ -2582,9 +2582,9 @@ const getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata = [
|
|
|
2582
2582
|
];
|
|
2583
2583
|
const getManagedContentSpaceFolderItemsV1_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$D, getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata);
|
|
2584
2584
|
const createResourceParams$D = /*#__PURE__*/ createResourceParams$I(getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata);
|
|
2585
|
-
function keyBuilder$
|
|
2585
|
+
function keyBuilder$X(luvio, config) {
|
|
2586
2586
|
const resourceParams = createResourceParams$D(config);
|
|
2587
|
-
return keyBuilder$
|
|
2587
|
+
return keyBuilder$Y(luvio, resourceParams);
|
|
2588
2588
|
}
|
|
2589
2589
|
function typeCheckConfig$D(untrustedConfig) {
|
|
2590
2590
|
const config = {};
|
|
@@ -2642,7 +2642,7 @@ function buildNetworkSnapshotCachePolicy$l(context, coercedAdapterRequestContext
|
|
|
2642
2642
|
function buildCachedSnapshotCachePolicy$l(context, storeLookup) {
|
|
2643
2643
|
const { luvio, config } = context;
|
|
2644
2644
|
const selector = {
|
|
2645
|
-
recordId: keyBuilder$
|
|
2645
|
+
recordId: keyBuilder$X(luvio, config),
|
|
2646
2646
|
node: adapterFragment$l(luvio, config),
|
|
2647
2647
|
variables: {},
|
|
2648
2648
|
};
|
|
@@ -2722,7 +2722,7 @@ function validate$_(obj, path = 'ManagedContentCollectionItemRepresentation') {
|
|
|
2722
2722
|
return v_error === undefined ? null : v_error;
|
|
2723
2723
|
}
|
|
2724
2724
|
|
|
2725
|
-
const TTL$
|
|
2725
|
+
const TTL$s = 100;
|
|
2726
2726
|
const VERSION$t = "eeea454f1268ece5c3e24c986688b876";
|
|
2727
2727
|
function validate$Z(obj, path = 'ManagedContentCollectionDetailRepresentation') {
|
|
2728
2728
|
const v_error = (() => {
|
|
@@ -2796,16 +2796,16 @@ function validate$Z(obj, path = 'ManagedContentCollectionDetailRepresentation')
|
|
|
2796
2796
|
return v_error === undefined ? null : v_error;
|
|
2797
2797
|
}
|
|
2798
2798
|
const RepresentationType$s = 'ManagedContentCollectionDetailRepresentation';
|
|
2799
|
-
function keyBuilder$
|
|
2799
|
+
function keyBuilder$W(luvio, config) {
|
|
2800
2800
|
return keyPrefix + '::' + RepresentationType$s + ':' + config.collection_key + ':' + config.language + ':' + config.version;
|
|
2801
2801
|
}
|
|
2802
|
-
function keyBuilderFromType$
|
|
2802
|
+
function keyBuilderFromType$f(luvio, object) {
|
|
2803
2803
|
const keyParams = {
|
|
2804
2804
|
collection_key: object.collectionKey,
|
|
2805
2805
|
language: object.language,
|
|
2806
2806
|
version: object.versionNumber
|
|
2807
2807
|
};
|
|
2808
|
-
return keyBuilder$
|
|
2808
|
+
return keyBuilder$W(luvio, keyParams);
|
|
2809
2809
|
}
|
|
2810
2810
|
function normalize$s(input, existing, path, luvio, store, timestamp) {
|
|
2811
2811
|
return input;
|
|
@@ -2831,14 +2831,14 @@ const ingest$s = function ManagedContentCollectionDetailRepresentationIngest(inp
|
|
|
2831
2831
|
throw validateError;
|
|
2832
2832
|
}
|
|
2833
2833
|
}
|
|
2834
|
-
const key = keyBuilderFromType$
|
|
2835
|
-
const ttlToUse = TTL$
|
|
2834
|
+
const key = keyBuilderFromType$f(luvio, input);
|
|
2835
|
+
const ttlToUse = TTL$s;
|
|
2836
2836
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$s, "CMSAuthoring", VERSION$t, RepresentationType$s, equals$t);
|
|
2837
2837
|
return createLink(key);
|
|
2838
2838
|
};
|
|
2839
2839
|
function getTypeCacheKeys$s(rootKeySet, luvio, input, fullPathFactory) {
|
|
2840
2840
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
2841
|
-
const rootKey = keyBuilderFromType$
|
|
2841
|
+
const rootKey = keyBuilderFromType$f(luvio, input);
|
|
2842
2842
|
rootKeySet.set(rootKey, {
|
|
2843
2843
|
namespace: keyPrefix,
|
|
2844
2844
|
representationName: RepresentationType$s,
|
|
@@ -2849,8 +2849,8 @@ function getTypeCacheKeys$s(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2849
2849
|
function select$12(luvio, params) {
|
|
2850
2850
|
return select$13();
|
|
2851
2851
|
}
|
|
2852
|
-
function keyBuilder$
|
|
2853
|
-
return keyBuilder$
|
|
2852
|
+
function keyBuilder$V(luvio, params) {
|
|
2853
|
+
return keyBuilder$W(luvio, {
|
|
2854
2854
|
collection_key: params.urlParams.collectionKeyOrId,
|
|
2855
2855
|
language: params.queryParams.language || '',
|
|
2856
2856
|
version: params.queryParams.version || ''
|
|
@@ -2861,7 +2861,7 @@ function getResponseCacheKeys$C(storeKeyMap, luvio, resourceParams, response) {
|
|
|
2861
2861
|
}
|
|
2862
2862
|
function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
|
|
2863
2863
|
const { body } = response;
|
|
2864
|
-
const key = keyBuilder$
|
|
2864
|
+
const key = keyBuilder$V(luvio, resourceParams);
|
|
2865
2865
|
luvio.storeIngest(key, ingest$s, body);
|
|
2866
2866
|
const snapshot = luvio.storeLookup({
|
|
2867
2867
|
recordId: key,
|
|
@@ -2877,10 +2877,10 @@ function ingestSuccess$C(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2877
2877
|
return snapshot;
|
|
2878
2878
|
}
|
|
2879
2879
|
function ingestError$k(luvio, params, error, snapshotRefresh) {
|
|
2880
|
-
const key = keyBuilder$
|
|
2880
|
+
const key = keyBuilder$V(luvio, params);
|
|
2881
2881
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
2882
2882
|
const storeMetadataParams = {
|
|
2883
|
-
ttl: TTL$
|
|
2883
|
+
ttl: TTL$s,
|
|
2884
2884
|
namespace: keyPrefix,
|
|
2885
2885
|
version: VERSION$t,
|
|
2886
2886
|
representationName: RepresentationType$s
|
|
@@ -2891,7 +2891,7 @@ function ingestError$k(luvio, params, error, snapshotRefresh) {
|
|
|
2891
2891
|
function createResourceRequest$C(config) {
|
|
2892
2892
|
const headers = {};
|
|
2893
2893
|
return {
|
|
2894
|
-
baseUri: '/services/data/
|
|
2894
|
+
baseUri: '/services/data/v62.0',
|
|
2895
2895
|
basePath: '/connect/cms/collections/' + config.urlParams.collectionKeyOrId + '',
|
|
2896
2896
|
method: 'get',
|
|
2897
2897
|
body: null,
|
|
@@ -2925,9 +2925,9 @@ const getCollectionItems_ConfigPropertyMetadata = [
|
|
|
2925
2925
|
];
|
|
2926
2926
|
const getCollectionItems_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$C, getCollectionItems_ConfigPropertyMetadata);
|
|
2927
2927
|
const createResourceParams$C = /*#__PURE__*/ createResourceParams$I(getCollectionItems_ConfigPropertyMetadata);
|
|
2928
|
-
function keyBuilder$
|
|
2928
|
+
function keyBuilder$U(luvio, config) {
|
|
2929
2929
|
const resourceParams = createResourceParams$C(config);
|
|
2930
|
-
return keyBuilder$
|
|
2930
|
+
return keyBuilder$V(luvio, resourceParams);
|
|
2931
2931
|
}
|
|
2932
2932
|
function typeCheckConfig$C(untrustedConfig) {
|
|
2933
2933
|
const config = {};
|
|
@@ -2985,7 +2985,7 @@ function buildNetworkSnapshotCachePolicy$k(context, coercedAdapterRequestContext
|
|
|
2985
2985
|
function buildCachedSnapshotCachePolicy$k(context, storeLookup) {
|
|
2986
2986
|
const { luvio, config } = context;
|
|
2987
2987
|
const selector = {
|
|
2988
|
-
recordId: keyBuilder$
|
|
2988
|
+
recordId: keyBuilder$U(luvio, config),
|
|
2989
2989
|
node: adapterFragment$k(luvio, config),
|
|
2990
2990
|
variables: {},
|
|
2991
2991
|
};
|
|
@@ -3075,7 +3075,7 @@ function validate$Y(obj, path = 'ManagedContentTranslationV2RequestInputRep') {
|
|
|
3075
3075
|
return v_error === undefined ? null : v_error;
|
|
3076
3076
|
}
|
|
3077
3077
|
|
|
3078
|
-
const TTL$
|
|
3078
|
+
const TTL$r = 100;
|
|
3079
3079
|
const VERSION$s = "52e643b998d6763482c6d74542b38408";
|
|
3080
3080
|
function validate$X(obj, path = 'ManagedContentTranslationV2Representation') {
|
|
3081
3081
|
const v_error = (() => {
|
|
@@ -3235,14 +3235,14 @@ function validate$X(obj, path = 'ManagedContentTranslationV2Representation') {
|
|
|
3235
3235
|
return v_error === undefined ? null : v_error;
|
|
3236
3236
|
}
|
|
3237
3237
|
const RepresentationType$r = 'ManagedContentTranslationV2Representation';
|
|
3238
|
-
function keyBuilder$
|
|
3238
|
+
function keyBuilder$T(luvio, config) {
|
|
3239
3239
|
return keyPrefix + '::' + RepresentationType$r + ':' + config.id;
|
|
3240
3240
|
}
|
|
3241
|
-
function keyBuilderFromType$
|
|
3241
|
+
function keyBuilderFromType$e(luvio, object) {
|
|
3242
3242
|
const keyParams = {
|
|
3243
3243
|
id: object.id
|
|
3244
3244
|
};
|
|
3245
|
-
return keyBuilder$
|
|
3245
|
+
return keyBuilder$T(luvio, keyParams);
|
|
3246
3246
|
}
|
|
3247
3247
|
function normalize$r(input, existing, path, luvio, store, timestamp) {
|
|
3248
3248
|
return input;
|
|
@@ -3268,14 +3268,14 @@ const ingest$r = function ManagedContentTranslationV2RepresentationIngest(input,
|
|
|
3268
3268
|
throw validateError;
|
|
3269
3269
|
}
|
|
3270
3270
|
}
|
|
3271
|
-
const key = keyBuilderFromType$
|
|
3272
|
-
const ttlToUse = TTL$
|
|
3271
|
+
const key = keyBuilderFromType$e(luvio, input);
|
|
3272
|
+
const ttlToUse = TTL$r;
|
|
3273
3273
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$r, "CMSAuthoring", VERSION$s, RepresentationType$r, equals$s);
|
|
3274
3274
|
return createLink(key);
|
|
3275
3275
|
};
|
|
3276
3276
|
function getTypeCacheKeys$r(rootKeySet, luvio, input, fullPathFactory) {
|
|
3277
3277
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
3278
|
-
const rootKey = keyBuilderFromType$
|
|
3278
|
+
const rootKey = keyBuilderFromType$e(luvio, input);
|
|
3279
3279
|
rootKeySet.set(rootKey, {
|
|
3280
3280
|
namespace: keyPrefix,
|
|
3281
3281
|
representationName: RepresentationType$r,
|
|
@@ -3291,7 +3291,7 @@ function getResponseCacheKeys$B(storeKeyMap, luvio, resourceParams, response) {
|
|
|
3291
3291
|
}
|
|
3292
3292
|
function ingestSuccess$B(luvio, resourceParams, response) {
|
|
3293
3293
|
const { body } = response;
|
|
3294
|
-
const key = keyBuilderFromType$
|
|
3294
|
+
const key = keyBuilderFromType$e(luvio, body);
|
|
3295
3295
|
luvio.storeIngest(key, ingest$r, body);
|
|
3296
3296
|
const snapshot = luvio.storeLookup({
|
|
3297
3297
|
recordId: key,
|
|
@@ -3309,7 +3309,7 @@ function ingestSuccess$B(luvio, resourceParams, response) {
|
|
|
3309
3309
|
function createResourceRequest$B(config) {
|
|
3310
3310
|
const headers = {};
|
|
3311
3311
|
return {
|
|
3312
|
-
baseUri: '/services/data/
|
|
3312
|
+
baseUri: '/services/data/v62.0',
|
|
3313
3313
|
basePath: '/connect/cms/content/spaces/' + config.urlParams.contentSpaceId + '/translation',
|
|
3314
3314
|
method: 'post',
|
|
3315
3315
|
body: config.body,
|
|
@@ -3483,7 +3483,7 @@ function validate$T(obj, path = 'ManagedContentVariantStatusRepresentation') {
|
|
|
3483
3483
|
return v_error === undefined ? null : v_error;
|
|
3484
3484
|
}
|
|
3485
3485
|
|
|
3486
|
-
const TTL$
|
|
3486
|
+
const TTL$q = 100;
|
|
3487
3487
|
const VERSION$r = "32da7ab9bec2902e7f2b1d1e9aa618f1";
|
|
3488
3488
|
function validate$S(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
3489
3489
|
const v_error = (() => {
|
|
@@ -3688,16 +3688,16 @@ function validate$S(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
3688
3688
|
return v_error === undefined ? null : v_error;
|
|
3689
3689
|
}
|
|
3690
3690
|
const RepresentationType$q = 'ManagedContentDocumentRepresentation';
|
|
3691
|
-
function keyBuilder$
|
|
3691
|
+
function keyBuilder$S(luvio, config) {
|
|
3692
3692
|
return keyPrefix + '::' + RepresentationType$q + ':' + config.content_key + ':' + config.language + ':' + config.version;
|
|
3693
3693
|
}
|
|
3694
|
-
function keyBuilderFromType$
|
|
3694
|
+
function keyBuilderFromType$d(luvio, object) {
|
|
3695
3695
|
const keyParams = {
|
|
3696
3696
|
content_key: object.contentKey,
|
|
3697
3697
|
language: object.language,
|
|
3698
3698
|
version: object.version
|
|
3699
3699
|
};
|
|
3700
|
-
return keyBuilder$
|
|
3700
|
+
return keyBuilder$S(luvio, keyParams);
|
|
3701
3701
|
}
|
|
3702
3702
|
function normalize$q(input, existing, path, luvio, store, timestamp) {
|
|
3703
3703
|
return input;
|
|
@@ -3723,14 +3723,14 @@ const ingest$q = function ManagedContentDocumentRepresentationIngest(input, path
|
|
|
3723
3723
|
throw validateError;
|
|
3724
3724
|
}
|
|
3725
3725
|
}
|
|
3726
|
-
const key = keyBuilderFromType$
|
|
3727
|
-
const ttlToUse = TTL$
|
|
3726
|
+
const key = keyBuilderFromType$d(luvio, input);
|
|
3727
|
+
const ttlToUse = TTL$q;
|
|
3728
3728
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$q, "CMSAuthoring", VERSION$r, RepresentationType$q, equals$r);
|
|
3729
3729
|
return createLink(key);
|
|
3730
3730
|
};
|
|
3731
3731
|
function getTypeCacheKeys$q(rootKeySet, luvio, input, fullPathFactory) {
|
|
3732
3732
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
3733
|
-
const rootKey = keyBuilderFromType$
|
|
3733
|
+
const rootKey = keyBuilderFromType$d(luvio, input);
|
|
3734
3734
|
rootKeySet.set(rootKey, {
|
|
3735
3735
|
namespace: keyPrefix,
|
|
3736
3736
|
representationName: RepresentationType$q,
|
|
@@ -3746,7 +3746,7 @@ function getResponseCacheKeys$A(storeKeyMap, luvio, resourceParams, response) {
|
|
|
3746
3746
|
}
|
|
3747
3747
|
function ingestSuccess$A(luvio, resourceParams, response) {
|
|
3748
3748
|
const { body } = response;
|
|
3749
|
-
const key = keyBuilderFromType$
|
|
3749
|
+
const key = keyBuilderFromType$d(luvio, body);
|
|
3750
3750
|
luvio.storeIngest(key, ingest$q, body);
|
|
3751
3751
|
const snapshot = luvio.storeLookup({
|
|
3752
3752
|
recordId: key,
|
|
@@ -3764,7 +3764,7 @@ function ingestSuccess$A(luvio, resourceParams, response) {
|
|
|
3764
3764
|
function createResourceRequest$A(config) {
|
|
3765
3765
|
const headers = {};
|
|
3766
3766
|
return {
|
|
3767
|
-
baseUri: '/services/data/
|
|
3767
|
+
baseUri: '/services/data/v62.0',
|
|
3768
3768
|
basePath: '/connect/cms/contents',
|
|
3769
3769
|
method: 'post',
|
|
3770
3770
|
body: config.body,
|
|
@@ -3839,7 +3839,7 @@ const createManagedContentAdapterFactory = (luvio) => {
|
|
|
3839
3839
|
};
|
|
3840
3840
|
};
|
|
3841
3841
|
|
|
3842
|
-
const TTL$
|
|
3842
|
+
const TTL$p = 100;
|
|
3843
3843
|
const VERSION$q = "17d0c7553970a191d9ac970ac0cd8666";
|
|
3844
3844
|
function validate$R(obj, path = 'ManagedContentFileUploadRepresentation') {
|
|
3845
3845
|
const v_error = (() => {
|
|
@@ -3901,7 +3901,7 @@ const ingest$p = function ManagedContentFileUploadRepresentationIngest(input, pa
|
|
|
3901
3901
|
}
|
|
3902
3902
|
}
|
|
3903
3903
|
const key = path.fullPath;
|
|
3904
|
-
const ttlToUse = TTL$
|
|
3904
|
+
const ttlToUse = TTL$p;
|
|
3905
3905
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$p, "CMSAuthoring", VERSION$q, RepresentationType$p, equals$q);
|
|
3906
3906
|
return createLink(key);
|
|
3907
3907
|
};
|
|
@@ -3918,15 +3918,15 @@ function getTypeCacheKeys$p(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3918
3918
|
function select$Y(luvio, params) {
|
|
3919
3919
|
return select$Z();
|
|
3920
3920
|
}
|
|
3921
|
-
function keyBuilder$
|
|
3921
|
+
function keyBuilder$R(luvio, params) {
|
|
3922
3922
|
return keyPrefix + '::ManagedContentFileUploadRepresentation:(' + ')';
|
|
3923
3923
|
}
|
|
3924
3924
|
function getResponseCacheKeys$z(storeKeyMap, luvio, resourceParams, response) {
|
|
3925
|
-
getTypeCacheKeys$p(storeKeyMap, luvio, response, () => keyBuilder$
|
|
3925
|
+
getTypeCacheKeys$p(storeKeyMap, luvio, response, () => keyBuilder$R());
|
|
3926
3926
|
}
|
|
3927
3927
|
function ingestSuccess$y(luvio, resourceParams, response, snapshotRefresh) {
|
|
3928
3928
|
const { body } = response;
|
|
3929
|
-
const key = keyBuilder$
|
|
3929
|
+
const key = keyBuilder$R();
|
|
3930
3930
|
luvio.storeIngest(key, ingest$p, body);
|
|
3931
3931
|
const snapshot = luvio.storeLookup({
|
|
3932
3932
|
recordId: key,
|
|
@@ -3942,10 +3942,10 @@ function ingestSuccess$y(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
3942
3942
|
return snapshot;
|
|
3943
3943
|
}
|
|
3944
3944
|
function ingestError$j(luvio, params, error, snapshotRefresh) {
|
|
3945
|
-
const key = keyBuilder$
|
|
3945
|
+
const key = keyBuilder$R();
|
|
3946
3946
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
3947
3947
|
const storeMetadataParams = {
|
|
3948
|
-
ttl: TTL$
|
|
3948
|
+
ttl: TTL$p,
|
|
3949
3949
|
namespace: keyPrefix,
|
|
3950
3950
|
version: VERSION$q,
|
|
3951
3951
|
representationName: RepresentationType$p
|
|
@@ -3956,7 +3956,7 @@ function ingestError$j(luvio, params, error, snapshotRefresh) {
|
|
|
3956
3956
|
function createResourceRequest$z(config) {
|
|
3957
3957
|
const headers = {};
|
|
3958
3958
|
return {
|
|
3959
|
-
baseUri: '/services/data/
|
|
3959
|
+
baseUri: '/services/data/v62.0',
|
|
3960
3960
|
basePath: '/connect/cms/contents/file/upload',
|
|
3961
3961
|
method: 'get',
|
|
3962
3962
|
body: null,
|
|
@@ -3971,9 +3971,9 @@ const adapterName$z = 'getManagedContentFileUploadConfig';
|
|
|
3971
3971
|
const getManagedContentFileUploadConfig_ConfigPropertyMetadata = [];
|
|
3972
3972
|
const getManagedContentFileUploadConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$z, getManagedContentFileUploadConfig_ConfigPropertyMetadata);
|
|
3973
3973
|
const createResourceParams$z = /*#__PURE__*/ createResourceParams$I(getManagedContentFileUploadConfig_ConfigPropertyMetadata);
|
|
3974
|
-
function keyBuilder$
|
|
3974
|
+
function keyBuilder$Q(luvio, config) {
|
|
3975
3975
|
createResourceParams$z(config);
|
|
3976
|
-
return keyBuilder$
|
|
3976
|
+
return keyBuilder$R();
|
|
3977
3977
|
}
|
|
3978
3978
|
function typeCheckConfig$z(untrustedConfig) {
|
|
3979
3979
|
const config = {};
|
|
@@ -4030,7 +4030,7 @@ function buildNetworkSnapshotCachePolicy$j(context, coercedAdapterRequestContext
|
|
|
4030
4030
|
function buildCachedSnapshotCachePolicy$j(context, storeLookup) {
|
|
4031
4031
|
const { luvio, config } = context;
|
|
4032
4032
|
const selector = {
|
|
4033
|
-
recordId: keyBuilder$
|
|
4033
|
+
recordId: keyBuilder$Q(luvio, config),
|
|
4034
4034
|
node: adapterFragment$j(luvio, config),
|
|
4035
4035
|
variables: {},
|
|
4036
4036
|
};
|
|
@@ -4108,7 +4108,7 @@ function validate$Q(obj, path = 'ManagedContentPublishInputRepresentation') {
|
|
|
4108
4108
|
return v_error === undefined ? null : v_error;
|
|
4109
4109
|
}
|
|
4110
4110
|
|
|
4111
|
-
const TTL$
|
|
4111
|
+
const TTL$o = 100;
|
|
4112
4112
|
const VERSION$p = "789bce2e581ff7969982fbf2ffbfd9a5";
|
|
4113
4113
|
function validate$P(obj, path = 'ManagedContentPublishOutputRepresentation') {
|
|
4114
4114
|
const v_error = (() => {
|
|
@@ -4176,14 +4176,14 @@ function validate$P(obj, path = 'ManagedContentPublishOutputRepresentation') {
|
|
|
4176
4176
|
return v_error === undefined ? null : v_error;
|
|
4177
4177
|
}
|
|
4178
4178
|
const RepresentationType$o = 'ManagedContentPublishOutputRepresentation';
|
|
4179
|
-
function keyBuilder$
|
|
4179
|
+
function keyBuilder$P(luvio, config) {
|
|
4180
4180
|
return keyPrefix + '::' + RepresentationType$o + ':' + config.id;
|
|
4181
4181
|
}
|
|
4182
|
-
function keyBuilderFromType$
|
|
4182
|
+
function keyBuilderFromType$c(luvio, object) {
|
|
4183
4183
|
const keyParams = {
|
|
4184
4184
|
id: object.deploymentId
|
|
4185
4185
|
};
|
|
4186
|
-
return keyBuilder$
|
|
4186
|
+
return keyBuilder$P(luvio, keyParams);
|
|
4187
4187
|
}
|
|
4188
4188
|
function normalize$o(input, existing, path, luvio, store, timestamp) {
|
|
4189
4189
|
return input;
|
|
@@ -4209,14 +4209,14 @@ const ingest$o = function ManagedContentPublishOutputRepresentationIngest(input,
|
|
|
4209
4209
|
throw validateError;
|
|
4210
4210
|
}
|
|
4211
4211
|
}
|
|
4212
|
-
const key = keyBuilderFromType$
|
|
4213
|
-
const ttlToUse = TTL$
|
|
4212
|
+
const key = keyBuilderFromType$c(luvio, input);
|
|
4213
|
+
const ttlToUse = TTL$o;
|
|
4214
4214
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$o, "CMSAuthoring", VERSION$p, RepresentationType$o, equals$p);
|
|
4215
4215
|
return createLink(key);
|
|
4216
4216
|
};
|
|
4217
4217
|
function getTypeCacheKeys$o(rootKeySet, luvio, input, fullPathFactory) {
|
|
4218
4218
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
4219
|
-
const rootKey = keyBuilderFromType$
|
|
4219
|
+
const rootKey = keyBuilderFromType$c(luvio, input);
|
|
4220
4220
|
rootKeySet.set(rootKey, {
|
|
4221
4221
|
namespace: keyPrefix,
|
|
4222
4222
|
representationName: RepresentationType$o,
|
|
@@ -4232,7 +4232,7 @@ function getResponseCacheKeys$y(storeKeyMap, luvio, resourceParams, response) {
|
|
|
4232
4232
|
}
|
|
4233
4233
|
function ingestSuccess$x(luvio, resourceParams, response) {
|
|
4234
4234
|
const { body } = response;
|
|
4235
|
-
const key = keyBuilderFromType$
|
|
4235
|
+
const key = keyBuilderFromType$c(luvio, body);
|
|
4236
4236
|
luvio.storeIngest(key, ingest$o, body);
|
|
4237
4237
|
const snapshot = luvio.storeLookup({
|
|
4238
4238
|
recordId: key,
|
|
@@ -4250,7 +4250,7 @@ function ingestSuccess$x(luvio, resourceParams, response) {
|
|
|
4250
4250
|
function createResourceRequest$y(config) {
|
|
4251
4251
|
const headers = {};
|
|
4252
4252
|
return {
|
|
4253
|
-
baseUri: '/services/data/
|
|
4253
|
+
baseUri: '/services/data/v62.0',
|
|
4254
4254
|
basePath: '/connect/cms/contents/publish',
|
|
4255
4255
|
method: 'post',
|
|
4256
4256
|
body: config.body,
|
|
@@ -4362,7 +4362,7 @@ function validate$O(obj, path = 'ManagedContentUnpublishInputRepresentation') {
|
|
|
4362
4362
|
return v_error === undefined ? null : v_error;
|
|
4363
4363
|
}
|
|
4364
4364
|
|
|
4365
|
-
const TTL$
|
|
4365
|
+
const TTL$n = 100;
|
|
4366
4366
|
const VERSION$o = "2f473ff12e87a4fc2336695104ab8567";
|
|
4367
4367
|
function validate$N(obj, path = 'ManagedContentUnpublishOutputRepresentation') {
|
|
4368
4368
|
const v_error = (() => {
|
|
@@ -4430,14 +4430,14 @@ function validate$N(obj, path = 'ManagedContentUnpublishOutputRepresentation') {
|
|
|
4430
4430
|
return v_error === undefined ? null : v_error;
|
|
4431
4431
|
}
|
|
4432
4432
|
const RepresentationType$n = 'ManagedContentUnpublishOutputRepresentation';
|
|
4433
|
-
function keyBuilder$
|
|
4433
|
+
function keyBuilder$O(luvio, config) {
|
|
4434
4434
|
return keyPrefix + '::' + RepresentationType$n + ':' + config.id;
|
|
4435
4435
|
}
|
|
4436
|
-
function keyBuilderFromType$
|
|
4436
|
+
function keyBuilderFromType$b(luvio, object) {
|
|
4437
4437
|
const keyParams = {
|
|
4438
4438
|
id: object.deploymentId
|
|
4439
4439
|
};
|
|
4440
|
-
return keyBuilder$
|
|
4440
|
+
return keyBuilder$O(luvio, keyParams);
|
|
4441
4441
|
}
|
|
4442
4442
|
function normalize$n(input, existing, path, luvio, store, timestamp) {
|
|
4443
4443
|
return input;
|
|
@@ -4463,14 +4463,14 @@ const ingest$n = function ManagedContentUnpublishOutputRepresentationIngest(inpu
|
|
|
4463
4463
|
throw validateError;
|
|
4464
4464
|
}
|
|
4465
4465
|
}
|
|
4466
|
-
const key = keyBuilderFromType$
|
|
4467
|
-
const ttlToUse = TTL$
|
|
4466
|
+
const key = keyBuilderFromType$b(luvio, input);
|
|
4467
|
+
const ttlToUse = TTL$n;
|
|
4468
4468
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$n, "CMSAuthoring", VERSION$o, RepresentationType$n, equals$o);
|
|
4469
4469
|
return createLink(key);
|
|
4470
4470
|
};
|
|
4471
4471
|
function getTypeCacheKeys$n(rootKeySet, luvio, input, fullPathFactory) {
|
|
4472
4472
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
4473
|
-
const rootKey = keyBuilderFromType$
|
|
4473
|
+
const rootKey = keyBuilderFromType$b(luvio, input);
|
|
4474
4474
|
rootKeySet.set(rootKey, {
|
|
4475
4475
|
namespace: keyPrefix,
|
|
4476
4476
|
representationName: RepresentationType$n,
|
|
@@ -4486,7 +4486,7 @@ function getResponseCacheKeys$x(storeKeyMap, luvio, resourceParams, response) {
|
|
|
4486
4486
|
}
|
|
4487
4487
|
function ingestSuccess$w(luvio, resourceParams, response) {
|
|
4488
4488
|
const { body } = response;
|
|
4489
|
-
const key = keyBuilderFromType$
|
|
4489
|
+
const key = keyBuilderFromType$b(luvio, body);
|
|
4490
4490
|
luvio.storeIngest(key, ingest$n, body);
|
|
4491
4491
|
const snapshot = luvio.storeLookup({
|
|
4492
4492
|
recordId: key,
|
|
@@ -4504,7 +4504,7 @@ function ingestSuccess$w(luvio, resourceParams, response) {
|
|
|
4504
4504
|
function createResourceRequest$x(config) {
|
|
4505
4505
|
const headers = {};
|
|
4506
4506
|
return {
|
|
4507
|
-
baseUri: '/services/data/
|
|
4507
|
+
baseUri: '/services/data/v62.0',
|
|
4508
4508
|
basePath: '/connect/cms/contents/unpublish',
|
|
4509
4509
|
method: 'post',
|
|
4510
4510
|
body: config.body,
|
|
@@ -4619,7 +4619,7 @@ function validate$M(obj, path = 'ManagedContentVariantInputRepresentation') {
|
|
|
4619
4619
|
return v_error === undefined ? null : v_error;
|
|
4620
4620
|
}
|
|
4621
4621
|
|
|
4622
|
-
const TTL$
|
|
4622
|
+
const TTL$m = 3600000;
|
|
4623
4623
|
const VERSION$n = "7752c6a8bb6b113a02bfde83f39e5957";
|
|
4624
4624
|
function validate$L(obj, path = 'ManagedContentVariantRepresentation') {
|
|
4625
4625
|
const v_error = (() => {
|
|
@@ -4742,14 +4742,14 @@ function validate$L(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4742
4742
|
return v_error === undefined ? null : v_error;
|
|
4743
4743
|
}
|
|
4744
4744
|
const RepresentationType$m = 'ManagedContentVariantRepresentation';
|
|
4745
|
-
function keyBuilder$
|
|
4745
|
+
function keyBuilder$N(luvio, config) {
|
|
4746
4746
|
return keyPrefix + '::' + RepresentationType$m + ':' + config.id;
|
|
4747
4747
|
}
|
|
4748
|
-
function keyBuilderFromType$
|
|
4748
|
+
function keyBuilderFromType$a(luvio, object) {
|
|
4749
4749
|
const keyParams = {
|
|
4750
4750
|
id: object.managedContentVariantId
|
|
4751
4751
|
};
|
|
4752
|
-
return keyBuilder$
|
|
4752
|
+
return keyBuilder$N(luvio, keyParams);
|
|
4753
4753
|
}
|
|
4754
4754
|
function normalize$m(input, existing, path, luvio, store, timestamp) {
|
|
4755
4755
|
return input;
|
|
@@ -4775,14 +4775,14 @@ const ingest$m = function ManagedContentVariantRepresentationIngest(input, path,
|
|
|
4775
4775
|
throw validateError;
|
|
4776
4776
|
}
|
|
4777
4777
|
}
|
|
4778
|
-
const key = keyBuilderFromType$
|
|
4779
|
-
const ttlToUse = TTL$
|
|
4778
|
+
const key = keyBuilderFromType$a(luvio, input);
|
|
4779
|
+
const ttlToUse = TTL$m;
|
|
4780
4780
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$m, "CMSAuthoring", VERSION$n, RepresentationType$m, equals$n);
|
|
4781
4781
|
return createLink(key);
|
|
4782
4782
|
};
|
|
4783
4783
|
function getTypeCacheKeys$m(rootKeySet, luvio, input, fullPathFactory) {
|
|
4784
4784
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
4785
|
-
const rootKey = keyBuilderFromType$
|
|
4785
|
+
const rootKey = keyBuilderFromType$a(luvio, input);
|
|
4786
4786
|
rootKeySet.set(rootKey, {
|
|
4787
4787
|
namespace: keyPrefix,
|
|
4788
4788
|
representationName: RepresentationType$m,
|
|
@@ -4798,7 +4798,7 @@ function getResponseCacheKeys$w(storeKeyMap, luvio, resourceParams, response) {
|
|
|
4798
4798
|
}
|
|
4799
4799
|
function ingestSuccess$v(luvio, resourceParams, response) {
|
|
4800
4800
|
const { body } = response;
|
|
4801
|
-
const key = keyBuilderFromType$
|
|
4801
|
+
const key = keyBuilderFromType$a(luvio, body);
|
|
4802
4802
|
luvio.storeIngest(key, ingest$m, body);
|
|
4803
4803
|
const snapshot = luvio.storeLookup({
|
|
4804
4804
|
recordId: key,
|
|
@@ -4816,7 +4816,7 @@ function ingestSuccess$v(luvio, resourceParams, response) {
|
|
|
4816
4816
|
function createResourceRequest$w(config) {
|
|
4817
4817
|
const headers = {};
|
|
4818
4818
|
return {
|
|
4819
|
-
baseUri: '/services/data/
|
|
4819
|
+
baseUri: '/services/data/v62.0',
|
|
4820
4820
|
basePath: '/connect/cms/contents/variants',
|
|
4821
4821
|
method: 'post',
|
|
4822
4822
|
body: config.body,
|
|
@@ -4884,13 +4884,13 @@ const createManagedContentVariantAdapterFactory = (luvio) => {
|
|
|
4884
4884
|
};
|
|
4885
4885
|
};
|
|
4886
4886
|
|
|
4887
|
-
function keyBuilder$
|
|
4888
|
-
return keyBuilder$
|
|
4887
|
+
function keyBuilder$M(luvio, params) {
|
|
4888
|
+
return keyBuilder$N(luvio, {
|
|
4889
4889
|
id: params.urlParams.variantId
|
|
4890
4890
|
});
|
|
4891
4891
|
}
|
|
4892
4892
|
function getResponseCacheKeys$v(cacheKeyMap, luvio, resourceParams) {
|
|
4893
|
-
const key = keyBuilder$
|
|
4893
|
+
const key = keyBuilder$M(luvio, resourceParams);
|
|
4894
4894
|
cacheKeyMap.set(key, {
|
|
4895
4895
|
namespace: keyPrefix,
|
|
4896
4896
|
representationName: RepresentationType$m,
|
|
@@ -4898,13 +4898,13 @@ function getResponseCacheKeys$v(cacheKeyMap, luvio, resourceParams) {
|
|
|
4898
4898
|
});
|
|
4899
4899
|
}
|
|
4900
4900
|
function evictSuccess(luvio, resourceParams) {
|
|
4901
|
-
const key = keyBuilder$
|
|
4901
|
+
const key = keyBuilder$M(luvio, resourceParams);
|
|
4902
4902
|
luvio.storeEvict(key);
|
|
4903
4903
|
}
|
|
4904
4904
|
function createResourceRequest$v(config) {
|
|
4905
4905
|
const headers = {};
|
|
4906
4906
|
return {
|
|
4907
|
-
baseUri: '/services/data/
|
|
4907
|
+
baseUri: '/services/data/v62.0',
|
|
4908
4908
|
basePath: '/connect/cms/contents/variants/' + config.urlParams.variantId + '',
|
|
4909
4909
|
method: 'delete',
|
|
4910
4910
|
body: null,
|
|
@@ -4971,8 +4971,8 @@ const deleteManagedContentVariantAdapterFactory = (luvio) => {
|
|
|
4971
4971
|
function select$R(luvio, params) {
|
|
4972
4972
|
return select$T();
|
|
4973
4973
|
}
|
|
4974
|
-
function keyBuilder$
|
|
4975
|
-
return keyBuilder$
|
|
4974
|
+
function keyBuilder$L(luvio, params) {
|
|
4975
|
+
return keyBuilder$N(luvio, {
|
|
4976
4976
|
id: params.urlParams.variantId
|
|
4977
4977
|
});
|
|
4978
4978
|
}
|
|
@@ -4981,7 +4981,7 @@ function getResponseCacheKeys$u(storeKeyMap, luvio, resourceParams, response) {
|
|
|
4981
4981
|
}
|
|
4982
4982
|
function ingestSuccess$u(luvio, resourceParams, response, snapshotRefresh) {
|
|
4983
4983
|
const { body } = response;
|
|
4984
|
-
const key = keyBuilder$
|
|
4984
|
+
const key = keyBuilder$L(luvio, resourceParams);
|
|
4985
4985
|
luvio.storeIngest(key, ingest$m, body);
|
|
4986
4986
|
const snapshot = luvio.storeLookup({
|
|
4987
4987
|
recordId: key,
|
|
@@ -4997,10 +4997,10 @@ function ingestSuccess$u(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
4997
4997
|
return snapshot;
|
|
4998
4998
|
}
|
|
4999
4999
|
function ingestError$i(luvio, params, error, snapshotRefresh) {
|
|
5000
|
-
const key = keyBuilder$
|
|
5000
|
+
const key = keyBuilder$L(luvio, params);
|
|
5001
5001
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
5002
5002
|
const storeMetadataParams = {
|
|
5003
|
-
ttl: TTL$
|
|
5003
|
+
ttl: TTL$m,
|
|
5004
5004
|
namespace: keyPrefix,
|
|
5005
5005
|
version: VERSION$n,
|
|
5006
5006
|
representationName: RepresentationType$m
|
|
@@ -5011,7 +5011,7 @@ function ingestError$i(luvio, params, error, snapshotRefresh) {
|
|
|
5011
5011
|
function createResourceRequest$u(config) {
|
|
5012
5012
|
const headers = {};
|
|
5013
5013
|
return {
|
|
5014
|
-
baseUri: '/services/data/
|
|
5014
|
+
baseUri: '/services/data/v62.0',
|
|
5015
5015
|
basePath: '/connect/cms/contents/variants/' + config.urlParams.variantId + '',
|
|
5016
5016
|
method: 'get',
|
|
5017
5017
|
body: null,
|
|
@@ -5028,9 +5028,9 @@ const getManagedContentVariant_ConfigPropertyMetadata = [
|
|
|
5028
5028
|
];
|
|
5029
5029
|
const getManagedContentVariant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$u, getManagedContentVariant_ConfigPropertyMetadata);
|
|
5030
5030
|
const createResourceParams$u = /*#__PURE__*/ createResourceParams$I(getManagedContentVariant_ConfigPropertyMetadata);
|
|
5031
|
-
function keyBuilder$
|
|
5031
|
+
function keyBuilder$K(luvio, config) {
|
|
5032
5032
|
const resourceParams = createResourceParams$u(config);
|
|
5033
|
-
return keyBuilder$
|
|
5033
|
+
return keyBuilder$L(luvio, resourceParams);
|
|
5034
5034
|
}
|
|
5035
5035
|
function typeCheckConfig$u(untrustedConfig) {
|
|
5036
5036
|
const config = {};
|
|
@@ -5088,7 +5088,7 @@ function buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext
|
|
|
5088
5088
|
function buildCachedSnapshotCachePolicy$i(context, storeLookup) {
|
|
5089
5089
|
const { luvio, config } = context;
|
|
5090
5090
|
const selector = {
|
|
5091
|
-
recordId: keyBuilder$
|
|
5091
|
+
recordId: keyBuilder$K(luvio, config),
|
|
5092
5092
|
node: adapterFragment$i(luvio, config),
|
|
5093
5093
|
variables: {},
|
|
5094
5094
|
};
|
|
@@ -5153,7 +5153,7 @@ function getResponseCacheKeys$t(storeKeyMap, luvio, resourceParams, response) {
|
|
|
5153
5153
|
}
|
|
5154
5154
|
function ingestSuccess$t(luvio, resourceParams, response) {
|
|
5155
5155
|
const { body } = response;
|
|
5156
|
-
const key = keyBuilderFromType$
|
|
5156
|
+
const key = keyBuilderFromType$a(luvio, body);
|
|
5157
5157
|
luvio.storeIngest(key, ingest$m, body);
|
|
5158
5158
|
const snapshot = luvio.storeLookup({
|
|
5159
5159
|
recordId: key,
|
|
@@ -5171,7 +5171,7 @@ function ingestSuccess$t(luvio, resourceParams, response) {
|
|
|
5171
5171
|
function createResourceRequest$t(config) {
|
|
5172
5172
|
const headers = {};
|
|
5173
5173
|
return {
|
|
5174
|
-
baseUri: '/services/data/
|
|
5174
|
+
baseUri: '/services/data/v62.0',
|
|
5175
5175
|
basePath: '/connect/cms/contents/variants/' + config.urlParams.variantId + '',
|
|
5176
5176
|
method: 'put',
|
|
5177
5177
|
body: config.body,
|
|
@@ -5299,7 +5299,7 @@ function validate$J(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
5299
5299
|
return v_error === undefined ? null : v_error;
|
|
5300
5300
|
}
|
|
5301
5301
|
|
|
5302
|
-
const TTL$
|
|
5302
|
+
const TTL$l = 100;
|
|
5303
5303
|
const VERSION$m = "993f4fe3a5b12699f037079dbe30610b";
|
|
5304
5304
|
function validate$I(obj, path = 'ManagedContentVariantVersionCollectionRepresentation') {
|
|
5305
5305
|
const v_error = (() => {
|
|
@@ -5342,14 +5342,14 @@ function validate$I(obj, path = 'ManagedContentVariantVersionCollectionRepresent
|
|
|
5342
5342
|
return v_error === undefined ? null : v_error;
|
|
5343
5343
|
}
|
|
5344
5344
|
const RepresentationType$l = 'ManagedContentVariantVersionCollectionRepresentation';
|
|
5345
|
-
function keyBuilder$
|
|
5345
|
+
function keyBuilder$J(luvio, config) {
|
|
5346
5346
|
return keyPrefix + '::' + RepresentationType$l + ':' + config.variantId;
|
|
5347
5347
|
}
|
|
5348
|
-
function keyBuilderFromType$
|
|
5348
|
+
function keyBuilderFromType$9(luvio, object) {
|
|
5349
5349
|
const keyParams = {
|
|
5350
5350
|
variantId: object.managedContentVariantId
|
|
5351
5351
|
};
|
|
5352
|
-
return keyBuilder$
|
|
5352
|
+
return keyBuilder$J(luvio, keyParams);
|
|
5353
5353
|
}
|
|
5354
5354
|
function normalize$l(input, existing, path, luvio, store, timestamp) {
|
|
5355
5355
|
return input;
|
|
@@ -5375,14 +5375,14 @@ const ingest$l = function ManagedContentVariantVersionCollectionRepresentationIn
|
|
|
5375
5375
|
throw validateError;
|
|
5376
5376
|
}
|
|
5377
5377
|
}
|
|
5378
|
-
const key = keyBuilderFromType$
|
|
5379
|
-
const ttlToUse = TTL$
|
|
5378
|
+
const key = keyBuilderFromType$9(luvio, input);
|
|
5379
|
+
const ttlToUse = TTL$l;
|
|
5380
5380
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$l, "CMSAuthoring", VERSION$m, RepresentationType$l, equals$m);
|
|
5381
5381
|
return createLink(key);
|
|
5382
5382
|
};
|
|
5383
5383
|
function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
|
|
5384
5384
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
5385
|
-
const rootKey = keyBuilderFromType$
|
|
5385
|
+
const rootKey = keyBuilderFromType$9(luvio, input);
|
|
5386
5386
|
rootKeySet.set(rootKey, {
|
|
5387
5387
|
namespace: keyPrefix,
|
|
5388
5388
|
representationName: RepresentationType$l,
|
|
@@ -5393,8 +5393,8 @@ function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
5393
5393
|
function select$O(luvio, params) {
|
|
5394
5394
|
return select$P();
|
|
5395
5395
|
}
|
|
5396
|
-
function keyBuilder$
|
|
5397
|
-
return keyBuilder$
|
|
5396
|
+
function keyBuilder$I(luvio, params) {
|
|
5397
|
+
return keyBuilder$J(luvio, {
|
|
5398
5398
|
variantId: params.urlParams.variantId
|
|
5399
5399
|
});
|
|
5400
5400
|
}
|
|
@@ -5403,7 +5403,7 @@ function getResponseCacheKeys$s(storeKeyMap, luvio, resourceParams, response) {
|
|
|
5403
5403
|
}
|
|
5404
5404
|
function ingestSuccess$s(luvio, resourceParams, response, snapshotRefresh) {
|
|
5405
5405
|
const { body } = response;
|
|
5406
|
-
const key = keyBuilder$
|
|
5406
|
+
const key = keyBuilder$I(luvio, resourceParams);
|
|
5407
5407
|
luvio.storeIngest(key, ingest$l, body);
|
|
5408
5408
|
const snapshot = luvio.storeLookup({
|
|
5409
5409
|
recordId: key,
|
|
@@ -5419,10 +5419,10 @@ function ingestSuccess$s(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
5419
5419
|
return snapshot;
|
|
5420
5420
|
}
|
|
5421
5421
|
function ingestError$h(luvio, params, error, snapshotRefresh) {
|
|
5422
|
-
const key = keyBuilder$
|
|
5422
|
+
const key = keyBuilder$I(luvio, params);
|
|
5423
5423
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
5424
5424
|
const storeMetadataParams = {
|
|
5425
|
-
ttl: TTL$
|
|
5425
|
+
ttl: TTL$l,
|
|
5426
5426
|
namespace: keyPrefix,
|
|
5427
5427
|
version: VERSION$m,
|
|
5428
5428
|
representationName: RepresentationType$l
|
|
@@ -5433,7 +5433,7 @@ function ingestError$h(luvio, params, error, snapshotRefresh) {
|
|
|
5433
5433
|
function createResourceRequest$s(config) {
|
|
5434
5434
|
const headers = {};
|
|
5435
5435
|
return {
|
|
5436
|
-
baseUri: '/services/data/
|
|
5436
|
+
baseUri: '/services/data/v62.0',
|
|
5437
5437
|
basePath: '/connect/cms/contents/variants/' + config.urlParams.variantId + '/versions',
|
|
5438
5438
|
method: 'get',
|
|
5439
5439
|
body: null,
|
|
@@ -5453,9 +5453,9 @@ const getManagedContentVariantVersions_ConfigPropertyMetadata = [
|
|
|
5453
5453
|
];
|
|
5454
5454
|
const getManagedContentVariantVersions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$s, getManagedContentVariantVersions_ConfigPropertyMetadata);
|
|
5455
5455
|
const createResourceParams$s = /*#__PURE__*/ createResourceParams$I(getManagedContentVariantVersions_ConfigPropertyMetadata);
|
|
5456
|
-
function keyBuilder$
|
|
5456
|
+
function keyBuilder$H(luvio, config) {
|
|
5457
5457
|
const resourceParams = createResourceParams$s(config);
|
|
5458
|
-
return keyBuilder$
|
|
5458
|
+
return keyBuilder$I(luvio, resourceParams);
|
|
5459
5459
|
}
|
|
5460
5460
|
function typeCheckConfig$s(untrustedConfig) {
|
|
5461
5461
|
const config = {};
|
|
@@ -5513,7 +5513,7 @@ function buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext
|
|
|
5513
5513
|
function buildCachedSnapshotCachePolicy$h(context, storeLookup) {
|
|
5514
5514
|
const { luvio, config } = context;
|
|
5515
5515
|
const selector = {
|
|
5516
|
-
recordId: keyBuilder$
|
|
5516
|
+
recordId: keyBuilder$H(luvio, config),
|
|
5517
5517
|
node: adapterFragment$h(luvio, config),
|
|
5518
5518
|
variables: {},
|
|
5519
5519
|
};
|
|
@@ -5625,7 +5625,7 @@ function validate$E(obj, path = 'ManagedContentWebUrlInfoRepresentation') {
|
|
|
5625
5625
|
return v_error === undefined ? null : v_error;
|
|
5626
5626
|
}
|
|
5627
5627
|
|
|
5628
|
-
const TTL$
|
|
5628
|
+
const TTL$k = 100;
|
|
5629
5629
|
const VERSION$l = "e55a316362ca4e75b43fa6c9c1b8a065";
|
|
5630
5630
|
function validate$D(obj, path = 'ManagedContentWebUrlRepresentation') {
|
|
5631
5631
|
const v_error = (() => {
|
|
@@ -5679,14 +5679,14 @@ function validate$D(obj, path = 'ManagedContentWebUrlRepresentation') {
|
|
|
5679
5679
|
return v_error === undefined ? null : v_error;
|
|
5680
5680
|
}
|
|
5681
5681
|
const RepresentationType$k = 'ManagedContentWebUrlRepresentation';
|
|
5682
|
-
function keyBuilder$
|
|
5682
|
+
function keyBuilder$G(luvio, config) {
|
|
5683
5683
|
return keyPrefix + '::' + RepresentationType$k + ':' + config.managedContentWebUrlId;
|
|
5684
5684
|
}
|
|
5685
|
-
function keyBuilderFromType$
|
|
5685
|
+
function keyBuilderFromType$8(luvio, object) {
|
|
5686
5686
|
const keyParams = {
|
|
5687
5687
|
managedContentWebUrlId: object.id
|
|
5688
5688
|
};
|
|
5689
|
-
return keyBuilder$
|
|
5689
|
+
return keyBuilder$G(luvio, keyParams);
|
|
5690
5690
|
}
|
|
5691
5691
|
function normalize$k(input, existing, path, luvio, store, timestamp) {
|
|
5692
5692
|
return input;
|
|
@@ -5712,14 +5712,14 @@ const ingest$k = function ManagedContentWebUrlRepresentationIngest(input, path,
|
|
|
5712
5712
|
throw validateError;
|
|
5713
5713
|
}
|
|
5714
5714
|
}
|
|
5715
|
-
const key = keyBuilderFromType$
|
|
5716
|
-
const ttlToUse = TTL$
|
|
5715
|
+
const key = keyBuilderFromType$8(luvio, input);
|
|
5716
|
+
const ttlToUse = TTL$k;
|
|
5717
5717
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "CMSAuthoring", VERSION$l, RepresentationType$k, equals$l);
|
|
5718
5718
|
return createLink(key);
|
|
5719
5719
|
};
|
|
5720
5720
|
function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
|
|
5721
5721
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
5722
|
-
const rootKey = keyBuilderFromType$
|
|
5722
|
+
const rootKey = keyBuilderFromType$8(luvio, input);
|
|
5723
5723
|
rootKeySet.set(rootKey, {
|
|
5724
5724
|
namespace: keyPrefix,
|
|
5725
5725
|
representationName: RepresentationType$k,
|
|
@@ -5735,7 +5735,7 @@ function getResponseCacheKeys$r(storeKeyMap, luvio, resourceParams, response) {
|
|
|
5735
5735
|
}
|
|
5736
5736
|
function ingestSuccess$r(luvio, resourceParams, response) {
|
|
5737
5737
|
const { body } = response;
|
|
5738
|
-
const key = keyBuilderFromType$
|
|
5738
|
+
const key = keyBuilderFromType$8(luvio, body);
|
|
5739
5739
|
luvio.storeIngest(key, ingest$k, body);
|
|
5740
5740
|
const snapshot = luvio.storeLookup({
|
|
5741
5741
|
recordId: key,
|
|
@@ -5753,7 +5753,7 @@ function ingestSuccess$r(luvio, resourceParams, response) {
|
|
|
5753
5753
|
function createResourceRequest$r(config) {
|
|
5754
5754
|
const headers = {};
|
|
5755
5755
|
return {
|
|
5756
|
-
baseUri: '/services/data/
|
|
5756
|
+
baseUri: '/services/data/v62.0',
|
|
5757
5757
|
basePath: '/connect/cms/contents/web-urls/' + config.urlParams.managedContentWebUrlId + '',
|
|
5758
5758
|
method: 'patch',
|
|
5759
5759
|
body: config.body,
|
|
@@ -5828,8 +5828,8 @@ const updateManagedContentWebUrlAdapterFactory = (luvio) => {
|
|
|
5828
5828
|
function select$L(luvio, params) {
|
|
5829
5829
|
return select$$();
|
|
5830
5830
|
}
|
|
5831
|
-
function keyBuilder$
|
|
5832
|
-
return keyBuilder$
|
|
5831
|
+
function keyBuilder$F(luvio, params) {
|
|
5832
|
+
return keyBuilder$S(luvio, {
|
|
5833
5833
|
content_key: params.urlParams.contentKeyOrId,
|
|
5834
5834
|
language: params.queryParams.language || '',
|
|
5835
5835
|
version: params.queryParams.version || ''
|
|
@@ -5840,7 +5840,7 @@ function getResponseCacheKeys$q(storeKeyMap, luvio, resourceParams, response) {
|
|
|
5840
5840
|
}
|
|
5841
5841
|
function ingestSuccess$q(luvio, resourceParams, response, snapshotRefresh) {
|
|
5842
5842
|
const { body } = response;
|
|
5843
|
-
const key = keyBuilder$
|
|
5843
|
+
const key = keyBuilder$F(luvio, resourceParams);
|
|
5844
5844
|
luvio.storeIngest(key, ingest$q, body);
|
|
5845
5845
|
const snapshot = luvio.storeLookup({
|
|
5846
5846
|
recordId: key,
|
|
@@ -5856,10 +5856,10 @@ function ingestSuccess$q(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
5856
5856
|
return snapshot;
|
|
5857
5857
|
}
|
|
5858
5858
|
function ingestError$g(luvio, params, error, snapshotRefresh) {
|
|
5859
|
-
const key = keyBuilder$
|
|
5859
|
+
const key = keyBuilder$F(luvio, params);
|
|
5860
5860
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
5861
5861
|
const storeMetadataParams = {
|
|
5862
|
-
ttl: TTL$
|
|
5862
|
+
ttl: TTL$q,
|
|
5863
5863
|
namespace: keyPrefix,
|
|
5864
5864
|
version: VERSION$r,
|
|
5865
5865
|
representationName: RepresentationType$q
|
|
@@ -5870,7 +5870,7 @@ function ingestError$g(luvio, params, error, snapshotRefresh) {
|
|
|
5870
5870
|
function createResourceRequest$q(config) {
|
|
5871
5871
|
const headers = {};
|
|
5872
5872
|
return {
|
|
5873
|
-
baseUri: '/services/data/
|
|
5873
|
+
baseUri: '/services/data/v62.0',
|
|
5874
5874
|
basePath: '/connect/cms/contents/' + config.urlParams.contentKeyOrId + '',
|
|
5875
5875
|
method: 'get',
|
|
5876
5876
|
body: null,
|
|
@@ -5941,9 +5941,9 @@ const getManagedContent_ConfigPropertyMetadata = [
|
|
|
5941
5941
|
];
|
|
5942
5942
|
const getManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$q, getManagedContent_ConfigPropertyMetadata);
|
|
5943
5943
|
const createResourceParams$q = /*#__PURE__*/ createResourceParams$I(getManagedContent_ConfigPropertyMetadata);
|
|
5944
|
-
function keyBuilder$
|
|
5944
|
+
function keyBuilder$E(luvio, config) {
|
|
5945
5945
|
const resourceParams = createResourceParams$q(config);
|
|
5946
|
-
return keyBuilder$
|
|
5946
|
+
return keyBuilder$F(luvio, resourceParams);
|
|
5947
5947
|
}
|
|
5948
5948
|
function typeCheckConfig$q(untrustedConfig) {
|
|
5949
5949
|
const config = {};
|
|
@@ -6001,7 +6001,7 @@ function buildNetworkSnapshotCachePolicy$g(context, coercedAdapterRequestContext
|
|
|
6001
6001
|
function buildCachedSnapshotCachePolicy$g(context, storeLookup) {
|
|
6002
6002
|
const { luvio, config } = context;
|
|
6003
6003
|
const selector = {
|
|
6004
|
-
recordId: keyBuilder$
|
|
6004
|
+
recordId: keyBuilder$E(luvio, config),
|
|
6005
6005
|
node: adapterFragment$g(luvio, config),
|
|
6006
6006
|
variables: {},
|
|
6007
6007
|
};
|
|
@@ -6109,7 +6109,7 @@ function validate$A(obj, path = 'ManagedContentClonedVariantRepresentation') {
|
|
|
6109
6109
|
return v_error === undefined ? null : v_error;
|
|
6110
6110
|
}
|
|
6111
6111
|
|
|
6112
|
-
const TTL$
|
|
6112
|
+
const TTL$j = 100;
|
|
6113
6113
|
const VERSION$k = "7066162a0da609712a7a7b3fa365ed68";
|
|
6114
6114
|
function validate$z(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
6115
6115
|
const v_error = (() => {
|
|
@@ -6318,14 +6318,14 @@ function validate$z(obj, path = 'ManagedContentDocumentCloneRepresentation') {
|
|
|
6318
6318
|
return v_error === undefined ? null : v_error;
|
|
6319
6319
|
}
|
|
6320
6320
|
const RepresentationType$j = 'ManagedContentDocumentCloneRepresentation';
|
|
6321
|
-
function keyBuilder$
|
|
6321
|
+
function keyBuilder$D(luvio, config) {
|
|
6322
6322
|
return keyPrefix + '::' + RepresentationType$j + ':' + config.id;
|
|
6323
6323
|
}
|
|
6324
|
-
function keyBuilderFromType$
|
|
6324
|
+
function keyBuilderFromType$7(luvio, object) {
|
|
6325
6325
|
const keyParams = {
|
|
6326
6326
|
id: object.contentKey
|
|
6327
6327
|
};
|
|
6328
|
-
return keyBuilder$
|
|
6328
|
+
return keyBuilder$D(luvio, keyParams);
|
|
6329
6329
|
}
|
|
6330
6330
|
function normalize$j(input, existing, path, luvio, store, timestamp) {
|
|
6331
6331
|
return input;
|
|
@@ -6351,14 +6351,14 @@ const ingest$j = function ManagedContentDocumentCloneRepresentationIngest(input,
|
|
|
6351
6351
|
throw validateError;
|
|
6352
6352
|
}
|
|
6353
6353
|
}
|
|
6354
|
-
const key = keyBuilderFromType$
|
|
6355
|
-
const ttlToUse = TTL$
|
|
6354
|
+
const key = keyBuilderFromType$7(luvio, input);
|
|
6355
|
+
const ttlToUse = TTL$j;
|
|
6356
6356
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "CMSAuthoring", VERSION$k, RepresentationType$j, equals$k);
|
|
6357
6357
|
return createLink(key);
|
|
6358
6358
|
};
|
|
6359
6359
|
function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
|
|
6360
6360
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
6361
|
-
const rootKey = keyBuilderFromType$
|
|
6361
|
+
const rootKey = keyBuilderFromType$7(luvio, input);
|
|
6362
6362
|
rootKeySet.set(rootKey, {
|
|
6363
6363
|
namespace: keyPrefix,
|
|
6364
6364
|
representationName: RepresentationType$j,
|
|
@@ -6374,7 +6374,7 @@ function getResponseCacheKeys$p(storeKeyMap, luvio, resourceParams, response) {
|
|
|
6374
6374
|
}
|
|
6375
6375
|
function ingestSuccess$p(luvio, resourceParams, response) {
|
|
6376
6376
|
const { body } = response;
|
|
6377
|
-
const key = keyBuilderFromType$
|
|
6377
|
+
const key = keyBuilderFromType$7(luvio, body);
|
|
6378
6378
|
luvio.storeIngest(key, ingest$j, body);
|
|
6379
6379
|
const snapshot = luvio.storeLookup({
|
|
6380
6380
|
recordId: key,
|
|
@@ -6392,7 +6392,7 @@ function ingestSuccess$p(luvio, resourceParams, response) {
|
|
|
6392
6392
|
function createResourceRequest$p(config) {
|
|
6393
6393
|
const headers = {};
|
|
6394
6394
|
return {
|
|
6395
|
-
baseUri: '/services/data/
|
|
6395
|
+
baseUri: '/services/data/v62.0',
|
|
6396
6396
|
basePath: '/connect/cms/contents/' + config.urlParams.contentKeyOrId + '/clone',
|
|
6397
6397
|
method: 'post',
|
|
6398
6398
|
body: config.body,
|
|
@@ -6460,7 +6460,7 @@ const cloneManagedContentDocumentAdapterFactory = (luvio) => {
|
|
|
6460
6460
|
};
|
|
6461
6461
|
};
|
|
6462
6462
|
|
|
6463
|
-
const TTL$
|
|
6463
|
+
const TTL$i = 1000;
|
|
6464
6464
|
const VERSION$j = "98edee4f058ced93570a7b0ce2293672";
|
|
6465
6465
|
function validate$y(obj, path = 'ManagedContentRenditionRepresentation') {
|
|
6466
6466
|
const v_error = (() => {
|
|
@@ -6539,7 +6539,7 @@ const ingest$i = function ManagedContentRenditionRepresentationIngest(input, pat
|
|
|
6539
6539
|
}
|
|
6540
6540
|
}
|
|
6541
6541
|
const key = path.fullPath;
|
|
6542
|
-
const ttlToUse = TTL$
|
|
6542
|
+
const ttlToUse = TTL$i;
|
|
6543
6543
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "CMSAuthoring", VERSION$j, RepresentationType$i, equals$j);
|
|
6544
6544
|
return createLink(key);
|
|
6545
6545
|
};
|
|
@@ -6556,15 +6556,15 @@ function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6556
6556
|
function select$H(luvio, params) {
|
|
6557
6557
|
return select$I();
|
|
6558
6558
|
}
|
|
6559
|
-
function keyBuilder$
|
|
6559
|
+
function keyBuilder$C(luvio, params) {
|
|
6560
6560
|
return keyPrefix + '::ManagedContentRenditionRepresentation:(' + 'channelIdOrApiName:' + params.queryParams.channelIdOrApiName + ',' + 'language:' + params.queryParams.language + ',' + 'version:' + params.queryParams.version + ',' + 'contentKeyOrId:' + params.urlParams.contentKeyOrId + ',' + 'renditionType:' + params.urlParams.renditionType + ')';
|
|
6561
6561
|
}
|
|
6562
6562
|
function getResponseCacheKeys$o(storeKeyMap, luvio, resourceParams, response) {
|
|
6563
|
-
getTypeCacheKeys$i(storeKeyMap, luvio, response, () => keyBuilder$
|
|
6563
|
+
getTypeCacheKeys$i(storeKeyMap, luvio, response, () => keyBuilder$C(luvio, resourceParams));
|
|
6564
6564
|
}
|
|
6565
6565
|
function ingestSuccess$o(luvio, resourceParams, response, snapshotRefresh) {
|
|
6566
6566
|
const { body } = response;
|
|
6567
|
-
const key = keyBuilder$
|
|
6567
|
+
const key = keyBuilder$C(luvio, resourceParams);
|
|
6568
6568
|
luvio.storeIngest(key, ingest$i, body);
|
|
6569
6569
|
const snapshot = luvio.storeLookup({
|
|
6570
6570
|
recordId: key,
|
|
@@ -6580,10 +6580,10 @@ function ingestSuccess$o(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
6580
6580
|
return snapshot;
|
|
6581
6581
|
}
|
|
6582
6582
|
function ingestError$f(luvio, params, error, snapshotRefresh) {
|
|
6583
|
-
const key = keyBuilder$
|
|
6583
|
+
const key = keyBuilder$C(luvio, params);
|
|
6584
6584
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
6585
6585
|
const storeMetadataParams = {
|
|
6586
|
-
ttl: TTL$
|
|
6586
|
+
ttl: TTL$i,
|
|
6587
6587
|
namespace: keyPrefix,
|
|
6588
6588
|
version: VERSION$j,
|
|
6589
6589
|
representationName: RepresentationType$i
|
|
@@ -6594,7 +6594,7 @@ function ingestError$f(luvio, params, error, snapshotRefresh) {
|
|
|
6594
6594
|
function createResourceRequest$o(config) {
|
|
6595
6595
|
const headers = {};
|
|
6596
6596
|
return {
|
|
6597
|
-
baseUri: '/services/data/
|
|
6597
|
+
baseUri: '/services/data/v62.0',
|
|
6598
6598
|
basePath: '/connect/cms/contents/' + config.urlParams.contentKeyOrId + '/renditions/' + config.urlParams.renditionType + '',
|
|
6599
6599
|
method: 'get',
|
|
6600
6600
|
body: null,
|
|
@@ -6615,9 +6615,9 @@ const getManagedContentVariantRendition_ConfigPropertyMetadata = [
|
|
|
6615
6615
|
];
|
|
6616
6616
|
const getManagedContentVariantRendition_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$o, getManagedContentVariantRendition_ConfigPropertyMetadata);
|
|
6617
6617
|
const createResourceParams$o = /*#__PURE__*/ createResourceParams$I(getManagedContentVariantRendition_ConfigPropertyMetadata);
|
|
6618
|
-
function keyBuilder$
|
|
6618
|
+
function keyBuilder$B(luvio, config) {
|
|
6619
6619
|
const resourceParams = createResourceParams$o(config);
|
|
6620
|
-
return keyBuilder$
|
|
6620
|
+
return keyBuilder$C(luvio, resourceParams);
|
|
6621
6621
|
}
|
|
6622
6622
|
function typeCheckConfig$o(untrustedConfig) {
|
|
6623
6623
|
const config = {};
|
|
@@ -6675,7 +6675,7 @@ function buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext
|
|
|
6675
6675
|
function buildCachedSnapshotCachePolicy$f(context, storeLookup) {
|
|
6676
6676
|
const { luvio, config } = context;
|
|
6677
6677
|
const selector = {
|
|
6678
|
-
recordId: keyBuilder$
|
|
6678
|
+
recordId: keyBuilder$B(luvio, config),
|
|
6679
6679
|
node: adapterFragment$f(luvio, config),
|
|
6680
6680
|
variables: {},
|
|
6681
6681
|
};
|
|
@@ -6714,7 +6714,7 @@ function validate$x(obj, path = 'ManagedContentTaxonomyPathFragmentRepresentatio
|
|
|
6714
6714
|
return v_error === undefined ? null : v_error;
|
|
6715
6715
|
}
|
|
6716
6716
|
|
|
6717
|
-
const TTL$
|
|
6717
|
+
const TTL$h = 100;
|
|
6718
6718
|
const VERSION$i = "861a01549e9c8877564cf9109fe8af72";
|
|
6719
6719
|
function validate$w(obj, path = 'ManagedContentTaxonomyPathRepresentation') {
|
|
6720
6720
|
const v_error = (() => {
|
|
@@ -6778,7 +6778,7 @@ const ingest$h = function ManagedContentTaxonomyPathRepresentationIngest(input,
|
|
|
6778
6778
|
}
|
|
6779
6779
|
}
|
|
6780
6780
|
const key = path.fullPath;
|
|
6781
|
-
const ttlToUse = TTL$
|
|
6781
|
+
const ttlToUse = TTL$h;
|
|
6782
6782
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "CMSAuthoring", VERSION$i, RepresentationType$h, equals$i);
|
|
6783
6783
|
return createLink(key);
|
|
6784
6784
|
};
|
|
@@ -6792,7 +6792,8 @@ function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
6792
6792
|
});
|
|
6793
6793
|
}
|
|
6794
6794
|
|
|
6795
|
-
const
|
|
6795
|
+
const TTL$g = 100;
|
|
6796
|
+
const VERSION$h = "ac799a7cee04dda27b43cff95ee1aee5";
|
|
6796
6797
|
function validate$v(obj, path = 'ManagedContentTaxonomyTermRepresentation') {
|
|
6797
6798
|
const v_error = (() => {
|
|
6798
6799
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -6824,6 +6825,15 @@ function validate$v(obj, path = 'ManagedContentTaxonomyTermRepresentation') {
|
|
|
6824
6825
|
return v_error === undefined ? null : v_error;
|
|
6825
6826
|
}
|
|
6826
6827
|
const RepresentationType$g = 'ManagedContentTaxonomyTermRepresentation';
|
|
6828
|
+
function keyBuilder$A(luvio, config) {
|
|
6829
|
+
return keyPrefix + '::' + RepresentationType$g + ':' + config.id;
|
|
6830
|
+
}
|
|
6831
|
+
function keyBuilderFromType$6(luvio, object) {
|
|
6832
|
+
const keyParams = {
|
|
6833
|
+
id: object.id
|
|
6834
|
+
};
|
|
6835
|
+
return keyBuilder$A(luvio, keyParams);
|
|
6836
|
+
}
|
|
6827
6837
|
function normalize$g(input, existing, path, luvio, store, timestamp) {
|
|
6828
6838
|
const input_pathsFromRoot = input.pathsFromRoot;
|
|
6829
6839
|
const input_pathsFromRoot_id = path.fullPath + '__pathsFromRoot';
|
|
@@ -6896,14 +6906,14 @@ const ingest$g = function ManagedContentTaxonomyTermRepresentationIngest(input,
|
|
|
6896
6906
|
throw validateError;
|
|
6897
6907
|
}
|
|
6898
6908
|
}
|
|
6899
|
-
const key =
|
|
6900
|
-
const ttlToUse =
|
|
6909
|
+
const key = keyBuilderFromType$6(luvio, input);
|
|
6910
|
+
const ttlToUse = TTL$g;
|
|
6901
6911
|
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "CMSAuthoring", VERSION$h, RepresentationType$g, equals$h);
|
|
6902
6912
|
return createLink(key);
|
|
6903
6913
|
};
|
|
6904
6914
|
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
6905
6915
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
6906
|
-
const rootKey =
|
|
6916
|
+
const rootKey = keyBuilderFromType$6(luvio, input);
|
|
6907
6917
|
rootKeySet.set(rootKey, {
|
|
6908
6918
|
namespace: keyPrefix,
|
|
6909
6919
|
representationName: RepresentationType$g,
|
|
@@ -7086,7 +7096,7 @@ function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7086
7096
|
});
|
|
7087
7097
|
const input_taxonomyTerms_length = input.taxonomyTerms.length;
|
|
7088
7098
|
for (let i = 0; i < input_taxonomyTerms_length; i++) {
|
|
7089
|
-
getTypeCacheKeys$g(rootKeySet, luvio, input.taxonomyTerms[i]
|
|
7099
|
+
getTypeCacheKeys$g(rootKeySet, luvio, input.taxonomyTerms[i]);
|
|
7090
7100
|
}
|
|
7091
7101
|
}
|
|
7092
7102
|
|
|
@@ -7133,7 +7143,7 @@ function ingestError$e(luvio, params, error, snapshotRefresh) {
|
|
|
7133
7143
|
function createResourceRequest$n(config) {
|
|
7134
7144
|
const headers = {};
|
|
7135
7145
|
return {
|
|
7136
|
-
baseUri: '/services/data/
|
|
7146
|
+
baseUri: '/services/data/v62.0',
|
|
7137
7147
|
basePath: '/connect/cms/contents/' + config.urlParams.contentKeyOrId + '/taxonomy-terms',
|
|
7138
7148
|
method: 'get',
|
|
7139
7149
|
body: null,
|
|
@@ -7256,7 +7266,7 @@ function ingestSuccess$m(luvio, resourceParams, response) {
|
|
|
7256
7266
|
function createResourceRequest$m(config) {
|
|
7257
7267
|
const headers = {};
|
|
7258
7268
|
return {
|
|
7259
|
-
baseUri: '/services/data/
|
|
7269
|
+
baseUri: '/services/data/v62.0',
|
|
7260
7270
|
basePath: '/connect/cms/contents/' + config.urlParams.contentKeyOrId + '/taxonomy-terms',
|
|
7261
7271
|
method: 'patch',
|
|
7262
7272
|
body: config.body,
|
|
@@ -7429,7 +7439,7 @@ function ingestError$d(luvio, params, error, snapshotRefresh) {
|
|
|
7429
7439
|
function createResourceRequest$l(config) {
|
|
7430
7440
|
const headers = {};
|
|
7431
7441
|
return {
|
|
7432
|
-
baseUri: '/services/data/
|
|
7442
|
+
baseUri: '/services/data/v62.0',
|
|
7433
7443
|
basePath: '/connect/cms/contents/' + config.urlParams.contentKeyOrId + '/web-urls',
|
|
7434
7444
|
method: 'get',
|
|
7435
7445
|
body: null,
|
|
@@ -7781,7 +7791,7 @@ function ingestError$c(luvio, params, error, snapshotRefresh) {
|
|
|
7781
7791
|
function createResourceRequest$k(config) {
|
|
7782
7792
|
const headers = {};
|
|
7783
7793
|
return {
|
|
7784
|
-
baseUri: '/services/data/
|
|
7794
|
+
baseUri: '/services/data/v62.0',
|
|
7785
7795
|
basePath: '/connect/cms/contents/' + config.urlParams.contentKeyOrId + '/referenced-by',
|
|
7786
7796
|
method: 'get',
|
|
7787
7797
|
body: null,
|
|
@@ -8115,7 +8125,7 @@ function ingestError$b(luvio, params, error, snapshotRefresh) {
|
|
|
8115
8125
|
function createResourceRequest$j(config) {
|
|
8116
8126
|
const headers = {};
|
|
8117
8127
|
return {
|
|
8118
|
-
baseUri: '/services/data/
|
|
8128
|
+
baseUri: '/services/data/v62.0',
|
|
8119
8129
|
basePath: '/connect/cms/contents/' + config.urlParams.contentKeyOrId + '/variants/references',
|
|
8120
8130
|
method: 'get',
|
|
8121
8131
|
body: null,
|
|
@@ -8334,7 +8344,7 @@ function ingestSuccess$i(luvio, resourceParams, response) {
|
|
|
8334
8344
|
function createResourceRequest$i(config) {
|
|
8335
8345
|
const headers = {};
|
|
8336
8346
|
return {
|
|
8337
|
-
baseUri: '/services/data/
|
|
8347
|
+
baseUri: '/services/data/v62.0',
|
|
8338
8348
|
basePath: '/connect/cms/folders',
|
|
8339
8349
|
method: 'post',
|
|
8340
8350
|
body: config.body,
|
|
@@ -8530,7 +8540,7 @@ function ingestError$a(luvio, params, error, snapshotRefresh) {
|
|
|
8530
8540
|
function createResourceRequest$h(config) {
|
|
8531
8541
|
const headers = {};
|
|
8532
8542
|
return {
|
|
8533
|
-
baseUri: '/services/data/
|
|
8543
|
+
baseUri: '/services/data/v62.0',
|
|
8534
8544
|
basePath: '/connect/cms/folders/' + config.urlParams.folderId + '',
|
|
8535
8545
|
method: 'get',
|
|
8536
8546
|
body: null,
|
|
@@ -8888,7 +8898,7 @@ function ingestError$9(luvio, params, error, snapshotRefresh) {
|
|
|
8888
8898
|
function createResourceRequest$g(config) {
|
|
8889
8899
|
const headers = {};
|
|
8890
8900
|
return {
|
|
8891
|
-
baseUri: '/services/data/
|
|
8901
|
+
baseUri: '/services/data/v62.0',
|
|
8892
8902
|
basePath: '/connect/cms/folders/' + config.urlParams.folderId + '/items',
|
|
8893
8903
|
method: 'get',
|
|
8894
8904
|
body: null,
|
|
@@ -9123,7 +9133,7 @@ function ingestError$8(luvio, params, error, snapshotRefresh) {
|
|
|
9123
9133
|
function createResourceRequest$f(config) {
|
|
9124
9134
|
const headers = {};
|
|
9125
9135
|
return {
|
|
9126
|
-
baseUri: '/services/data/
|
|
9136
|
+
baseUri: '/services/data/v62.0',
|
|
9127
9137
|
basePath: '/connect/cms/folders/' + config.urlParams.folderId + '/share-targets',
|
|
9128
9138
|
method: 'get',
|
|
9129
9139
|
body: null,
|
|
@@ -9368,7 +9378,7 @@ function ingestError$7(luvio, params, error, snapshotRefresh) {
|
|
|
9368
9378
|
function createResourceRequest$e(config) {
|
|
9369
9379
|
const headers = {};
|
|
9370
9380
|
return {
|
|
9371
|
-
baseUri: '/services/data/
|
|
9381
|
+
baseUri: '/services/data/v62.0',
|
|
9372
9382
|
basePath: '/connect/cms/folders/' + config.urlParams.folderId + '/shares',
|
|
9373
9383
|
method: 'get',
|
|
9374
9384
|
body: null,
|
|
@@ -9505,7 +9515,7 @@ function ingestSuccess$d(luvio, resourceParams, response) {
|
|
|
9505
9515
|
function createResourceRequest$d(config) {
|
|
9506
9516
|
const headers = {};
|
|
9507
9517
|
return {
|
|
9508
|
-
baseUri: '/services/data/
|
|
9518
|
+
baseUri: '/services/data/v62.0',
|
|
9509
9519
|
basePath: '/connect/cms/folders/' + config.urlParams.folderId + '/shares',
|
|
9510
9520
|
method: 'patch',
|
|
9511
9521
|
body: config.body,
|
|
@@ -9762,7 +9772,7 @@ function ingestError$6(luvio, params, error, snapshotRefresh) {
|
|
|
9762
9772
|
function createResourceRequest$c(config) {
|
|
9763
9773
|
const headers = {};
|
|
9764
9774
|
return {
|
|
9765
|
-
baseUri: '/services/data/
|
|
9775
|
+
baseUri: '/services/data/v62.0',
|
|
9766
9776
|
basePath: '/connect/cms/items/search',
|
|
9767
9777
|
method: 'get',
|
|
9768
9778
|
body: null,
|
|
@@ -9873,7 +9883,7 @@ function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
|
|
|
9873
9883
|
}
|
|
9874
9884
|
function ingestSuccess$b(luvio, resourceParams, response) {
|
|
9875
9885
|
const { body } = response;
|
|
9876
|
-
const key = keyBuilderFromType$
|
|
9886
|
+
const key = keyBuilderFromType$h(luvio, body);
|
|
9877
9887
|
luvio.storeIngest(key, ingest$x, body);
|
|
9878
9888
|
const snapshot = luvio.storeLookup({
|
|
9879
9889
|
recordId: key,
|
|
@@ -9891,7 +9901,7 @@ function ingestSuccess$b(luvio, resourceParams, response) {
|
|
|
9891
9901
|
function createResourceRequest$b(config) {
|
|
9892
9902
|
const headers = {};
|
|
9893
9903
|
return {
|
|
9894
|
-
baseUri: '/services/data/
|
|
9904
|
+
baseUri: '/services/data/v62.0',
|
|
9895
9905
|
basePath: '/connect/cms/schedules',
|
|
9896
9906
|
method: 'post',
|
|
9897
9907
|
body: config.body,
|
|
@@ -9971,7 +9981,7 @@ function getResponseCacheKeys$a(storeKeyMap, luvio, resourceParams, response) {
|
|
|
9971
9981
|
}
|
|
9972
9982
|
function ingestSuccess$a(luvio, resourceParams, response) {
|
|
9973
9983
|
const { body } = response;
|
|
9974
|
-
const key = keyBuilderFromType$
|
|
9984
|
+
const key = keyBuilderFromType$h(luvio, body);
|
|
9975
9985
|
luvio.storeIngest(key, ingest$x, body);
|
|
9976
9986
|
const snapshot = luvio.storeLookup({
|
|
9977
9987
|
recordId: key,
|
|
@@ -9989,7 +9999,7 @@ function ingestSuccess$a(luvio, resourceParams, response) {
|
|
|
9989
9999
|
function createResourceRequest$a(config) {
|
|
9990
10000
|
const headers = {};
|
|
9991
10001
|
return {
|
|
9992
|
-
baseUri: '/services/data/
|
|
10002
|
+
baseUri: '/services/data/v62.0',
|
|
9993
10003
|
basePath: '/connect/cms/schedules/' + config.urlParams.deploymentId + '',
|
|
9994
10004
|
method: 'patch',
|
|
9995
10005
|
body: null,
|
|
@@ -10399,7 +10409,7 @@ function ingestError$5(luvio, params, error, snapshotRefresh) {
|
|
|
10399
10409
|
function createResourceRequest$9(config) {
|
|
10400
10410
|
const headers = {};
|
|
10401
10411
|
return {
|
|
10402
|
-
baseUri: '/services/data/
|
|
10412
|
+
baseUri: '/services/data/v62.0',
|
|
10403
10413
|
basePath: '/connect/cms/spaces',
|
|
10404
10414
|
method: 'get',
|
|
10405
10415
|
body: null,
|
|
@@ -10541,7 +10551,7 @@ function ingestError$4(luvio, params, error, snapshotRefresh) {
|
|
|
10541
10551
|
function createResourceRequest$8(config) {
|
|
10542
10552
|
const headers = {};
|
|
10543
10553
|
return {
|
|
10544
|
-
baseUri: '/services/data/
|
|
10554
|
+
baseUri: '/services/data/v62.0',
|
|
10545
10555
|
basePath: '/connect/cms/spaces/' + config.urlParams.contentSpaceId + '',
|
|
10546
10556
|
method: 'get',
|
|
10547
10557
|
body: null,
|
|
@@ -10757,7 +10767,7 @@ function ingestSuccess$7(luvio, resourceParams, response) {
|
|
|
10757
10767
|
function createResourceRequest$7(config) {
|
|
10758
10768
|
const headers = {};
|
|
10759
10769
|
return {
|
|
10760
|
-
baseUri: '/services/data/
|
|
10770
|
+
baseUri: '/services/data/v62.0',
|
|
10761
10771
|
basePath: '/connect/cms/spaces/' + config.urlParams.contentSpaceId + '',
|
|
10762
10772
|
method: 'patch',
|
|
10763
10773
|
body: config.body,
|
|
@@ -10985,7 +10995,7 @@ function ingestError$3(luvio, params, error, snapshotRefresh) {
|
|
|
10985
10995
|
function createResourceRequest$6(config) {
|
|
10986
10996
|
const headers = {};
|
|
10987
10997
|
return {
|
|
10988
|
-
baseUri: '/services/data/
|
|
10998
|
+
baseUri: '/services/data/v62.0',
|
|
10989
10999
|
basePath: '/connect/cms/spaces/' + config.urlParams.contentSpaceId + '/orchestrator-config',
|
|
10990
11000
|
method: 'get',
|
|
10991
11001
|
body: null,
|
|
@@ -11129,7 +11139,7 @@ function ingestSuccess$5(luvio, resourceParams, response) {
|
|
|
11129
11139
|
function createResourceRequest$5(config) {
|
|
11130
11140
|
const headers = {};
|
|
11131
11141
|
return {
|
|
11132
|
-
baseUri: '/services/data/
|
|
11142
|
+
baseUri: '/services/data/v62.0',
|
|
11133
11143
|
basePath: '/connect/cms/spaces/' + config.urlParams.contentSpaceId + '/orchestrator-config',
|
|
11134
11144
|
method: 'put',
|
|
11135
11145
|
body: config.body,
|
|
@@ -11334,7 +11344,7 @@ function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
|
11334
11344
|
function createResourceRequest$4(config) {
|
|
11335
11345
|
const headers = {};
|
|
11336
11346
|
return {
|
|
11337
|
-
baseUri: '/services/data/
|
|
11347
|
+
baseUri: '/services/data/v62.0',
|
|
11338
11348
|
basePath: '/connect/cms/spaces/' + config.urlParams.contentSpaceId + '/content-types',
|
|
11339
11349
|
method: 'get',
|
|
11340
11350
|
body: null,
|
|
@@ -11714,7 +11724,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
11714
11724
|
function createResourceRequest$3(config) {
|
|
11715
11725
|
const headers = {};
|
|
11716
11726
|
return {
|
|
11717
|
-
baseUri: '/services/data/
|
|
11727
|
+
baseUri: '/services/data/v62.0',
|
|
11718
11728
|
basePath: '/connect/cms/spaces/' + config.urlParams.contentSpaceId + '/contents/export',
|
|
11719
11729
|
method: 'post',
|
|
11720
11730
|
body: config.body,
|
|
@@ -11834,7 +11844,7 @@ function ingestSuccess$2(luvio, resourceParams, response) {
|
|
|
11834
11844
|
function createResourceRequest$2(config) {
|
|
11835
11845
|
const headers = {};
|
|
11836
11846
|
return {
|
|
11837
|
-
baseUri: '/services/data/
|
|
11847
|
+
baseUri: '/services/data/v62.0',
|
|
11838
11848
|
basePath: '/connect/cms/spaces/' + config.urlParams.contentSpaceId + '/contents/import',
|
|
11839
11849
|
method: 'post',
|
|
11840
11850
|
body: config.body,
|
|
@@ -12152,7 +12162,7 @@ function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
|
12152
12162
|
function createResourceRequest$1(config) {
|
|
12153
12163
|
const headers = {};
|
|
12154
12164
|
return {
|
|
12155
|
-
baseUri: '/services/data/
|
|
12165
|
+
baseUri: '/services/data/v62.0',
|
|
12156
12166
|
basePath: '/connect/cms/spaces/' + config.urlParams.contentSpaceId + '/preview-endpoints',
|
|
12157
12167
|
method: 'get',
|
|
12158
12168
|
body: null,
|
|
@@ -12255,7 +12265,7 @@ function select(luvio, params) {
|
|
|
12255
12265
|
return select$$();
|
|
12256
12266
|
}
|
|
12257
12267
|
function keyBuilder$1(luvio, params) {
|
|
12258
|
-
return keyBuilder$
|
|
12268
|
+
return keyBuilder$S(luvio, {
|
|
12259
12269
|
content_key: params.urlParams.contentKeyOrId,
|
|
12260
12270
|
language: params.queryParams.language || '',
|
|
12261
12271
|
version: params.queryParams.version || ''
|
|
@@ -12285,7 +12295,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
12285
12295
|
const key = keyBuilder$1(luvio, params);
|
|
12286
12296
|
const errorSnapshot = luvio.errorSnapshot(error, snapshotRefresh);
|
|
12287
12297
|
const storeMetadataParams = {
|
|
12288
|
-
ttl: TTL$
|
|
12298
|
+
ttl: TTL$q,
|
|
12289
12299
|
namespace: keyPrefix,
|
|
12290
12300
|
version: VERSION$r,
|
|
12291
12301
|
representationName: RepresentationType$q
|
|
@@ -12296,7 +12306,7 @@ function ingestError(luvio, params, error, snapshotRefresh) {
|
|
|
12296
12306
|
function createResourceRequest(config) {
|
|
12297
12307
|
const headers = {};
|
|
12298
12308
|
return {
|
|
12299
|
-
baseUri: '/services/data/
|
|
12309
|
+
baseUri: '/services/data/v62.0',
|
|
12300
12310
|
basePath: '/connect/sites/' + config.urlParams.siteId + '/cms/contents/' + config.urlParams.contentKeyOrId + '',
|
|
12301
12311
|
method: 'get',
|
|
12302
12312
|
body: null,
|