@salesforce/lds-adapters-cms-authoring 1.213.0 → 1.213.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/cms-authoring.js +276 -922
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/adapters/createDeployment.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/createManagedContent.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/createManagedContentExportV2Job.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/createManagedContentImportV2Job.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/createManagedContentVariant.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/createTranslationV2Job.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/deleteManagedContentVariant.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getAllCMSJobsForSpace.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getCMSJobForSpace.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getCollectionItems.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getDeploymentById.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getManagedContent.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getManagedContentByFolderId.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getManagedContentPreviews.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getManagedContentReferencedBy.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getManagedContentSpace.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getManagedContentSpaceFolderItemsV1.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getManagedContentSpaceOrchestratorConfig.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getManagedContentSpaces.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getManagedContentTypesForMixin.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getManagedContentVariant.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getManagedContentVariantReferences.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getManagedContentVariantRendition.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getManagedContentVariantVersions.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/getSearchResults.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/patchManagedContentSpace.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/publishManagedContent.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/putManagedContentSpaceOrchestratorConfig.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/replaceManagedContentVariant.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/unpublishManagedContent.d.ts +3 -2
- package/package.json +1 -1
- package/sfdc/index.js +278 -924
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey, deepFreeze, typeCheckScalars, StoreKeyMap, typeCheckArrayOfScalars } from '@luvio/engine';
|
|
7
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, buildNetworkSnapshotCachePolicy as buildNetworkSnapshotCachePolicy$i, typeCheckScalars, StoreKeyMap, typeCheckArrayOfScalars } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
10
|
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
@@ -48,6 +48,24 @@ const snapshotRefreshOptions = {
|
|
|
48
48
|
},
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
|
+
function generateParamConfigMetadata(name, required, coerceFn) {
|
|
52
|
+
return {
|
|
53
|
+
name,
|
|
54
|
+
required,
|
|
55
|
+
coerceFn,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function buildAdapterValidationConfig(displayName, paramsMeta) {
|
|
59
|
+
const required = paramsMeta.filter(p => p.required).map(p => p.name);
|
|
60
|
+
const optional = paramsMeta.filter(p => !p.required).map(p => p.name);
|
|
61
|
+
return {
|
|
62
|
+
displayName,
|
|
63
|
+
parameters: {
|
|
64
|
+
required,
|
|
65
|
+
optional,
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
}
|
|
51
69
|
const keyPrefix = 'CMSAuthoring';
|
|
52
70
|
|
|
53
71
|
const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
@@ -348,26 +366,8 @@ const ingest$m = function ManagedContentDeploymentRepresentationIngest(input, pa
|
|
|
348
366
|
}
|
|
349
367
|
}
|
|
350
368
|
const key = keyBuilderFromType$b(luvio, input);
|
|
351
|
-
const existingRecord = store.readEntry(key);
|
|
352
369
|
const ttlToUse = TTL$m;
|
|
353
|
-
|
|
354
|
-
fullPath: key,
|
|
355
|
-
parent: path.parent,
|
|
356
|
-
propertyName: path.propertyName,
|
|
357
|
-
ttl: ttlToUse
|
|
358
|
-
});
|
|
359
|
-
if (existingRecord === undefined || equals$q(existingRecord, incomingRecord) === false) {
|
|
360
|
-
luvio.storePublish(key, incomingRecord);
|
|
361
|
-
}
|
|
362
|
-
{
|
|
363
|
-
const storeMetadataParams = {
|
|
364
|
-
ttl: ttlToUse,
|
|
365
|
-
namespace: "CMSAuthoring",
|
|
366
|
-
version: VERSION$q,
|
|
367
|
-
representationName: RepresentationType$m,
|
|
368
|
-
};
|
|
369
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
370
|
-
}
|
|
370
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$m, "CMSAuthoring", VERSION$q, RepresentationType$m, equals$q);
|
|
371
371
|
return createLink(key);
|
|
372
372
|
};
|
|
373
373
|
function getTypeCacheKeys$m(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -475,7 +475,7 @@ function normalize$l(input, existing, path, luvio, store, timestamp) {
|
|
|
475
475
|
existing: existing,
|
|
476
476
|
},
|
|
477
477
|
ttl: path.ttl
|
|
478
|
-
}, luvio, store);
|
|
478
|
+
}, luvio, store, timestamp);
|
|
479
479
|
}
|
|
480
480
|
return input;
|
|
481
481
|
}
|
|
@@ -542,26 +542,8 @@ const ingest$l = function ManagedContentDeploymentCollectionRepresentationIngest
|
|
|
542
542
|
}
|
|
543
543
|
}
|
|
544
544
|
const key = path.fullPath;
|
|
545
|
-
const existingRecord = store.readEntry(key);
|
|
546
545
|
const ttlToUse = TTL$l;
|
|
547
|
-
|
|
548
|
-
fullPath: key,
|
|
549
|
-
parent: path.parent,
|
|
550
|
-
propertyName: path.propertyName,
|
|
551
|
-
ttl: ttlToUse
|
|
552
|
-
}, luvio, store);
|
|
553
|
-
if (existingRecord === undefined || equals$p(existingRecord, incomingRecord) === false) {
|
|
554
|
-
luvio.storePublish(key, incomingRecord);
|
|
555
|
-
}
|
|
556
|
-
{
|
|
557
|
-
const storeMetadataParams = {
|
|
558
|
-
ttl: ttlToUse,
|
|
559
|
-
namespace: "CMSAuthoring",
|
|
560
|
-
version: VERSION$p,
|
|
561
|
-
representationName: RepresentationType$l,
|
|
562
|
-
};
|
|
563
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
564
|
-
}
|
|
546
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$l, "CMSAuthoring", VERSION$p, RepresentationType$l, equals$p);
|
|
565
547
|
return createLink(key);
|
|
566
548
|
};
|
|
567
549
|
function getTypeCacheKeys$l(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -630,13 +612,17 @@ function createResourceRequest$t(config) {
|
|
|
630
612
|
};
|
|
631
613
|
}
|
|
632
614
|
|
|
633
|
-
const
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
615
|
+
const adapterName$t = 'getDeploymentById';
|
|
616
|
+
const getDeploymentById_ConfigPropertyMetadata = [
|
|
617
|
+
generateParamConfigMetadata('contentSpaceId', false),
|
|
618
|
+
generateParamConfigMetadata('deploymentId', false),
|
|
619
|
+
generateParamConfigMetadata('deploymentStatus', false),
|
|
620
|
+
generateParamConfigMetadata('deploymentType', false),
|
|
621
|
+
generateParamConfigMetadata('managedContentVersionId', false),
|
|
622
|
+
generateParamConfigMetadata('page', false),
|
|
623
|
+
generateParamConfigMetadata('pageSize', false),
|
|
624
|
+
];
|
|
625
|
+
const getDeploymentById_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$t, getDeploymentById_ConfigPropertyMetadata);
|
|
640
626
|
function createResourceParams$t(config) {
|
|
641
627
|
const resourceParams = {
|
|
642
628
|
queryParams: {
|
|
@@ -708,21 +694,7 @@ function buildNetworkSnapshot$t(luvio, config, options) {
|
|
|
708
694
|
});
|
|
709
695
|
}
|
|
710
696
|
function buildNetworkSnapshotCachePolicy$h(context, coercedAdapterRequestContext) {
|
|
711
|
-
|
|
712
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
713
|
-
const dispatchOptions = {
|
|
714
|
-
resourceRequestContext: {
|
|
715
|
-
requestCorrelator,
|
|
716
|
-
luvioRequestMethod: undefined,
|
|
717
|
-
},
|
|
718
|
-
eventObservers
|
|
719
|
-
};
|
|
720
|
-
if (networkPriority !== 'normal') {
|
|
721
|
-
dispatchOptions.overrides = {
|
|
722
|
-
priority: networkPriority
|
|
723
|
-
};
|
|
724
|
-
}
|
|
725
|
-
return buildNetworkSnapshot$t(luvio, config, dispatchOptions);
|
|
697
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$t, undefined, false);
|
|
726
698
|
}
|
|
727
699
|
function buildCachedSnapshotCachePolicy$h(context, storeLookup) {
|
|
728
700
|
const { luvio, config } = context;
|
|
@@ -868,13 +840,11 @@ function createResourceRequest$s(config) {
|
|
|
868
840
|
};
|
|
869
841
|
}
|
|
870
842
|
|
|
871
|
-
const
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
}
|
|
877
|
-
};
|
|
843
|
+
const adapterName$s = 'createDeployment';
|
|
844
|
+
const createDeployment_ConfigPropertyMetadata = [
|
|
845
|
+
generateParamConfigMetadata('DeploymentInput', true),
|
|
846
|
+
];
|
|
847
|
+
const createDeployment_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$s, createDeployment_ConfigPropertyMetadata);
|
|
878
848
|
function createResourceParams$s(config) {
|
|
879
849
|
const resourceParams = {
|
|
880
850
|
body: {
|
|
@@ -1300,26 +1270,8 @@ const ingest$k = function ManagedContentV2JobDetailRepresentationIngest(input, p
|
|
|
1300
1270
|
}
|
|
1301
1271
|
}
|
|
1302
1272
|
const key = keyBuilderFromType$a(luvio, input);
|
|
1303
|
-
const existingRecord = store.readEntry(key);
|
|
1304
1273
|
const ttlToUse = TTL$k;
|
|
1305
|
-
|
|
1306
|
-
fullPath: key,
|
|
1307
|
-
parent: path.parent,
|
|
1308
|
-
propertyName: path.propertyName,
|
|
1309
|
-
ttl: ttlToUse
|
|
1310
|
-
});
|
|
1311
|
-
if (existingRecord === undefined || equals$m(existingRecord, incomingRecord) === false) {
|
|
1312
|
-
luvio.storePublish(key, incomingRecord);
|
|
1313
|
-
}
|
|
1314
|
-
{
|
|
1315
|
-
const storeMetadataParams = {
|
|
1316
|
-
ttl: ttlToUse,
|
|
1317
|
-
namespace: "CMSAuthoring",
|
|
1318
|
-
version: VERSION$m,
|
|
1319
|
-
representationName: RepresentationType$k,
|
|
1320
|
-
};
|
|
1321
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
1322
|
-
}
|
|
1274
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$k, "CMSAuthoring", VERSION$m, RepresentationType$k, equals$m);
|
|
1323
1275
|
return createLink(key);
|
|
1324
1276
|
};
|
|
1325
1277
|
function getTypeCacheKeys$k(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1427,7 +1379,7 @@ function normalize$j(input, existing, path, luvio, store, timestamp) {
|
|
|
1427
1379
|
existing: existing,
|
|
1428
1380
|
},
|
|
1429
1381
|
ttl: path.ttl
|
|
1430
|
-
}, luvio, store);
|
|
1382
|
+
}, luvio, store, timestamp);
|
|
1431
1383
|
}
|
|
1432
1384
|
return input;
|
|
1433
1385
|
}
|
|
@@ -1494,26 +1446,8 @@ const ingest$j = function ManagedContentJobCollectionRepresentationIngest(input,
|
|
|
1494
1446
|
}
|
|
1495
1447
|
}
|
|
1496
1448
|
const key = path.fullPath;
|
|
1497
|
-
const existingRecord = store.readEntry(key);
|
|
1498
1449
|
const ttlToUse = TTL$j;
|
|
1499
|
-
|
|
1500
|
-
fullPath: key,
|
|
1501
|
-
parent: path.parent,
|
|
1502
|
-
propertyName: path.propertyName,
|
|
1503
|
-
ttl: ttlToUse
|
|
1504
|
-
}, luvio, store);
|
|
1505
|
-
if (existingRecord === undefined || equals$l(existingRecord, incomingRecord) === false) {
|
|
1506
|
-
luvio.storePublish(key, incomingRecord);
|
|
1507
|
-
}
|
|
1508
|
-
{
|
|
1509
|
-
const storeMetadataParams = {
|
|
1510
|
-
ttl: ttlToUse,
|
|
1511
|
-
namespace: "CMSAuthoring",
|
|
1512
|
-
version: VERSION$l,
|
|
1513
|
-
representationName: RepresentationType$j,
|
|
1514
|
-
};
|
|
1515
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
1516
|
-
}
|
|
1450
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$j, "CMSAuthoring", VERSION$l, RepresentationType$j, equals$l);
|
|
1517
1451
|
return createLink(key);
|
|
1518
1452
|
};
|
|
1519
1453
|
function getTypeCacheKeys$j(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1582,13 +1516,14 @@ function createResourceRequest$r(config) {
|
|
|
1582
1516
|
};
|
|
1583
1517
|
}
|
|
1584
1518
|
|
|
1585
|
-
const
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1519
|
+
const adapterName$r = 'getAllCMSJobsForSpace';
|
|
1520
|
+
const getAllCMSJobsForSpace_ConfigPropertyMetadata = [
|
|
1521
|
+
generateParamConfigMetadata('contentSpaceId', true),
|
|
1522
|
+
generateParamConfigMetadata('jobType', false),
|
|
1523
|
+
generateParamConfigMetadata('page', false),
|
|
1524
|
+
generateParamConfigMetadata('pageSize', false),
|
|
1525
|
+
];
|
|
1526
|
+
const getAllCMSJobsForSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$r, getAllCMSJobsForSpace_ConfigPropertyMetadata);
|
|
1592
1527
|
function createResourceParams$r(config) {
|
|
1593
1528
|
const resourceParams = {
|
|
1594
1529
|
urlParams: {
|
|
@@ -1660,21 +1595,7 @@ function buildNetworkSnapshot$r(luvio, config, options) {
|
|
|
1660
1595
|
});
|
|
1661
1596
|
}
|
|
1662
1597
|
function buildNetworkSnapshotCachePolicy$g(context, coercedAdapterRequestContext) {
|
|
1663
|
-
|
|
1664
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
1665
|
-
const dispatchOptions = {
|
|
1666
|
-
resourceRequestContext: {
|
|
1667
|
-
requestCorrelator,
|
|
1668
|
-
luvioRequestMethod: undefined,
|
|
1669
|
-
},
|
|
1670
|
-
eventObservers
|
|
1671
|
-
};
|
|
1672
|
-
if (networkPriority !== 'normal') {
|
|
1673
|
-
dispatchOptions.overrides = {
|
|
1674
|
-
priority: networkPriority
|
|
1675
|
-
};
|
|
1676
|
-
}
|
|
1677
|
-
return buildNetworkSnapshot$r(luvio, config, dispatchOptions);
|
|
1598
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$r, undefined, false);
|
|
1678
1599
|
}
|
|
1679
1600
|
function buildCachedSnapshotCachePolicy$g(context, storeLookup) {
|
|
1680
1601
|
const { luvio, config } = context;
|
|
@@ -1753,13 +1674,12 @@ function createResourceRequest$q(config) {
|
|
|
1753
1674
|
};
|
|
1754
1675
|
}
|
|
1755
1676
|
|
|
1756
|
-
const
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
};
|
|
1677
|
+
const adapterName$q = 'getCMSJobForSpace';
|
|
1678
|
+
const getCMSJobForSpace_ConfigPropertyMetadata = [
|
|
1679
|
+
generateParamConfigMetadata('contentSpaceId', true),
|
|
1680
|
+
generateParamConfigMetadata('jobId', true),
|
|
1681
|
+
];
|
|
1682
|
+
const getCMSJobForSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$q, getCMSJobForSpace_ConfigPropertyMetadata);
|
|
1763
1683
|
function createResourceParams$q(config) {
|
|
1764
1684
|
const resourceParams = {
|
|
1765
1685
|
urlParams: {
|
|
@@ -1826,21 +1746,7 @@ function buildNetworkSnapshot$q(luvio, config, options) {
|
|
|
1826
1746
|
});
|
|
1827
1747
|
}
|
|
1828
1748
|
function buildNetworkSnapshotCachePolicy$f(context, coercedAdapterRequestContext) {
|
|
1829
|
-
|
|
1830
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
1831
|
-
const dispatchOptions = {
|
|
1832
|
-
resourceRequestContext: {
|
|
1833
|
-
requestCorrelator,
|
|
1834
|
-
luvioRequestMethod: undefined,
|
|
1835
|
-
},
|
|
1836
|
-
eventObservers
|
|
1837
|
-
};
|
|
1838
|
-
if (networkPriority !== 'normal') {
|
|
1839
|
-
dispatchOptions.overrides = {
|
|
1840
|
-
priority: networkPriority
|
|
1841
|
-
};
|
|
1842
|
-
}
|
|
1843
|
-
return buildNetworkSnapshot$q(luvio, config, dispatchOptions);
|
|
1749
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$q, undefined, false);
|
|
1844
1750
|
}
|
|
1845
1751
|
function buildCachedSnapshotCachePolicy$f(context, storeLookup) {
|
|
1846
1752
|
const { luvio, config } = context;
|
|
@@ -2035,26 +1941,8 @@ const ingest$i = function ManagedContentSpaceFolderItemV1CollectionRepresentatio
|
|
|
2035
1941
|
}
|
|
2036
1942
|
}
|
|
2037
1943
|
const key = path.fullPath;
|
|
2038
|
-
const existingRecord = store.readEntry(key);
|
|
2039
1944
|
const ttlToUse = TTL$i;
|
|
2040
|
-
|
|
2041
|
-
fullPath: key,
|
|
2042
|
-
parent: path.parent,
|
|
2043
|
-
propertyName: path.propertyName,
|
|
2044
|
-
ttl: ttlToUse
|
|
2045
|
-
});
|
|
2046
|
-
if (existingRecord === undefined || equals$k(existingRecord, incomingRecord) === false) {
|
|
2047
|
-
luvio.storePublish(key, incomingRecord);
|
|
2048
|
-
}
|
|
2049
|
-
{
|
|
2050
|
-
const storeMetadataParams = {
|
|
2051
|
-
ttl: ttlToUse,
|
|
2052
|
-
namespace: "CMSAuthoring",
|
|
2053
|
-
version: VERSION$k,
|
|
2054
|
-
representationName: RepresentationType$i,
|
|
2055
|
-
};
|
|
2056
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
2057
|
-
}
|
|
1945
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$i, "CMSAuthoring", VERSION$k, RepresentationType$i, equals$k);
|
|
2058
1946
|
return createLink(key);
|
|
2059
1947
|
};
|
|
2060
1948
|
function getTypeCacheKeys$i(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2119,13 +2007,21 @@ function createResourceRequest$p(config) {
|
|
|
2119
2007
|
};
|
|
2120
2008
|
}
|
|
2121
2009
|
|
|
2122
|
-
const
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2010
|
+
const adapterName$p = 'getManagedContentSpaceFolderItemsV1';
|
|
2011
|
+
const getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata = [
|
|
2012
|
+
generateParamConfigMetadata('folderId', true),
|
|
2013
|
+
generateParamConfigMetadata('contentTypeFilter', false),
|
|
2014
|
+
generateParamConfigMetadata('contentTypes', false),
|
|
2015
|
+
generateParamConfigMetadata('filter', false),
|
|
2016
|
+
generateParamConfigMetadata('managedContentType', false),
|
|
2017
|
+
generateParamConfigMetadata('page', false),
|
|
2018
|
+
generateParamConfigMetadata('pageSize', false),
|
|
2019
|
+
generateParamConfigMetadata('queryTerm', false),
|
|
2020
|
+
generateParamConfigMetadata('showPublishedOnly', false),
|
|
2021
|
+
generateParamConfigMetadata('sortBy', false),
|
|
2022
|
+
generateParamConfigMetadata('sortOrder', false),
|
|
2023
|
+
];
|
|
2024
|
+
const getManagedContentSpaceFolderItemsV1_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$p, getManagedContentSpaceFolderItemsV1_ConfigPropertyMetadata);
|
|
2129
2025
|
function createResourceParams$p(config) {
|
|
2130
2026
|
const resourceParams = {
|
|
2131
2027
|
urlParams: {
|
|
@@ -2206,21 +2102,7 @@ function buildNetworkSnapshot$p(luvio, config, options) {
|
|
|
2206
2102
|
});
|
|
2207
2103
|
}
|
|
2208
2104
|
function buildNetworkSnapshotCachePolicy$e(context, coercedAdapterRequestContext) {
|
|
2209
|
-
|
|
2210
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
2211
|
-
const dispatchOptions = {
|
|
2212
|
-
resourceRequestContext: {
|
|
2213
|
-
requestCorrelator,
|
|
2214
|
-
luvioRequestMethod: undefined,
|
|
2215
|
-
},
|
|
2216
|
-
eventObservers
|
|
2217
|
-
};
|
|
2218
|
-
if (networkPriority !== 'normal') {
|
|
2219
|
-
dispatchOptions.overrides = {
|
|
2220
|
-
priority: networkPriority
|
|
2221
|
-
};
|
|
2222
|
-
}
|
|
2223
|
-
return buildNetworkSnapshot$p(luvio, config, dispatchOptions);
|
|
2105
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$p, undefined, false);
|
|
2224
2106
|
}
|
|
2225
2107
|
function buildCachedSnapshotCachePolicy$e(context, storeLookup) {
|
|
2226
2108
|
const { luvio, config } = context;
|
|
@@ -2476,26 +2358,8 @@ const ingest$h = function ManagedContentCollectionDetailRepresentationIngest(inp
|
|
|
2476
2358
|
}
|
|
2477
2359
|
}
|
|
2478
2360
|
const key = keyBuilderFromType$9(luvio, input);
|
|
2479
|
-
const existingRecord = store.readEntry(key);
|
|
2480
2361
|
const ttlToUse = TTL$h;
|
|
2481
|
-
|
|
2482
|
-
fullPath: key,
|
|
2483
|
-
parent: path.parent,
|
|
2484
|
-
propertyName: path.propertyName,
|
|
2485
|
-
ttl: ttlToUse
|
|
2486
|
-
});
|
|
2487
|
-
if (existingRecord === undefined || equals$i(existingRecord, incomingRecord) === false) {
|
|
2488
|
-
luvio.storePublish(key, incomingRecord);
|
|
2489
|
-
}
|
|
2490
|
-
{
|
|
2491
|
-
const storeMetadataParams = {
|
|
2492
|
-
ttl: ttlToUse,
|
|
2493
|
-
namespace: "CMSAuthoring",
|
|
2494
|
-
version: VERSION$i,
|
|
2495
|
-
representationName: RepresentationType$h,
|
|
2496
|
-
};
|
|
2497
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
2498
|
-
}
|
|
2362
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$h, "CMSAuthoring", VERSION$i, RepresentationType$h, equals$i);
|
|
2499
2363
|
return createLink(key);
|
|
2500
2364
|
};
|
|
2501
2365
|
function getTypeCacheKeys$h(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2579,13 +2443,13 @@ function onFetchResponseSuccess$f(luvio, config, resourceParams, response) {
|
|
|
2579
2443
|
return onFetchResponseSuccess$e(luvio, config, updatedResourceParams, response);
|
|
2580
2444
|
}
|
|
2581
2445
|
|
|
2582
|
-
const
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2446
|
+
const adapterName$o = 'getCollectionItems';
|
|
2447
|
+
const getCollectionItems_ConfigPropertyMetadata = [
|
|
2448
|
+
generateParamConfigMetadata('collectionKeyOrId', true),
|
|
2449
|
+
generateParamConfigMetadata('language', false),
|
|
2450
|
+
generateParamConfigMetadata('version', false),
|
|
2451
|
+
];
|
|
2452
|
+
const getCollectionItems_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$o, getCollectionItems_ConfigPropertyMetadata);
|
|
2589
2453
|
function createResourceParams$o(config) {
|
|
2590
2454
|
const resourceParams = {
|
|
2591
2455
|
urlParams: {
|
|
@@ -2656,21 +2520,7 @@ function buildNetworkSnapshot$o(luvio, config, options) {
|
|
|
2656
2520
|
});
|
|
2657
2521
|
}
|
|
2658
2522
|
function buildNetworkSnapshotCachePolicy$d(context, coercedAdapterRequestContext) {
|
|
2659
|
-
|
|
2660
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
2661
|
-
const dispatchOptions = {
|
|
2662
|
-
resourceRequestContext: {
|
|
2663
|
-
requestCorrelator,
|
|
2664
|
-
luvioRequestMethod: undefined,
|
|
2665
|
-
},
|
|
2666
|
-
eventObservers
|
|
2667
|
-
};
|
|
2668
|
-
if (networkPriority !== 'normal') {
|
|
2669
|
-
dispatchOptions.overrides = {
|
|
2670
|
-
priority: networkPriority
|
|
2671
|
-
};
|
|
2672
|
-
}
|
|
2673
|
-
return buildNetworkSnapshot$o(luvio, config, dispatchOptions);
|
|
2523
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$o, undefined, false);
|
|
2674
2524
|
}
|
|
2675
2525
|
function buildCachedSnapshotCachePolicy$d(context, storeLookup) {
|
|
2676
2526
|
const { luvio, config } = context;
|
|
@@ -2959,26 +2809,8 @@ const ingest$g = function ManagedContentTranslationV2RepresentationIngest(input,
|
|
|
2959
2809
|
}
|
|
2960
2810
|
}
|
|
2961
2811
|
const key = keyBuilderFromType$8(luvio, input);
|
|
2962
|
-
const existingRecord = store.readEntry(key);
|
|
2963
2812
|
const ttlToUse = TTL$g;
|
|
2964
|
-
|
|
2965
|
-
fullPath: key,
|
|
2966
|
-
parent: path.parent,
|
|
2967
|
-
propertyName: path.propertyName,
|
|
2968
|
-
ttl: ttlToUse
|
|
2969
|
-
});
|
|
2970
|
-
if (existingRecord === undefined || equals$h(existingRecord, incomingRecord) === false) {
|
|
2971
|
-
luvio.storePublish(key, incomingRecord);
|
|
2972
|
-
}
|
|
2973
|
-
{
|
|
2974
|
-
const storeMetadataParams = {
|
|
2975
|
-
ttl: ttlToUse,
|
|
2976
|
-
namespace: "CMSAuthoring",
|
|
2977
|
-
version: VERSION$h,
|
|
2978
|
-
representationName: RepresentationType$g,
|
|
2979
|
-
};
|
|
2980
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
2981
|
-
}
|
|
2813
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$g, "CMSAuthoring", VERSION$h, RepresentationType$g, equals$h);
|
|
2982
2814
|
return createLink(key);
|
|
2983
2815
|
};
|
|
2984
2816
|
function getTypeCacheKeys$g(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3028,13 +2860,12 @@ function createResourceRequest$n(config) {
|
|
|
3028
2860
|
};
|
|
3029
2861
|
}
|
|
3030
2862
|
|
|
3031
|
-
const
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
|
|
3037
|
-
};
|
|
2863
|
+
const adapterName$n = 'createTranslationV2Job';
|
|
2864
|
+
const createTranslationV2Job_ConfigPropertyMetadata = [
|
|
2865
|
+
generateParamConfigMetadata('contentSpaceId', true),
|
|
2866
|
+
generateParamConfigMetadata('translationV2Request', true),
|
|
2867
|
+
];
|
|
2868
|
+
const createTranslationV2Job_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, createTranslationV2Job_ConfigPropertyMetadata);
|
|
3038
2869
|
function createResourceParams$n(config) {
|
|
3039
2870
|
const resourceParams = {
|
|
3040
2871
|
urlParams: {
|
|
@@ -3530,26 +3361,8 @@ const ingest$f = function ManagedContentDocumentRepresentationIngest(input, path
|
|
|
3530
3361
|
}
|
|
3531
3362
|
}
|
|
3532
3363
|
const key = keyBuilderFromType$7(luvio, input);
|
|
3533
|
-
const existingRecord = store.readEntry(key);
|
|
3534
3364
|
const ttlToUse = TTL$f;
|
|
3535
|
-
|
|
3536
|
-
fullPath: key,
|
|
3537
|
-
parent: path.parent,
|
|
3538
|
-
propertyName: path.propertyName,
|
|
3539
|
-
ttl: ttlToUse
|
|
3540
|
-
});
|
|
3541
|
-
if (existingRecord === undefined || equals$g(existingRecord, incomingRecord) === false) {
|
|
3542
|
-
luvio.storePublish(key, incomingRecord);
|
|
3543
|
-
}
|
|
3544
|
-
{
|
|
3545
|
-
const storeMetadataParams = {
|
|
3546
|
-
ttl: ttlToUse,
|
|
3547
|
-
namespace: "CMSAuthoring",
|
|
3548
|
-
version: VERSION$g,
|
|
3549
|
-
representationName: RepresentationType$f,
|
|
3550
|
-
};
|
|
3551
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
3552
|
-
}
|
|
3365
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$f, "CMSAuthoring", VERSION$g, RepresentationType$f, equals$g);
|
|
3553
3366
|
return createLink(key);
|
|
3554
3367
|
};
|
|
3555
3368
|
function getTypeCacheKeys$f(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3606,13 +3419,11 @@ function ingestSuccess$l(luvio, resourceParams, response) {
|
|
|
3606
3419
|
return ingestSuccess$m(luvio, resourceParams, response);
|
|
3607
3420
|
}
|
|
3608
3421
|
|
|
3609
|
-
const
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
}
|
|
3615
|
-
};
|
|
3422
|
+
const adapterName$m = 'createManagedContent';
|
|
3423
|
+
const createManagedContent_ConfigPropertyMetadata = [
|
|
3424
|
+
generateParamConfigMetadata('ManagedContentInputParam', true),
|
|
3425
|
+
];
|
|
3426
|
+
const createManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$m, createManagedContent_ConfigPropertyMetadata);
|
|
3616
3427
|
function createResourceParams$m(config) {
|
|
3617
3428
|
const resourceParams = {
|
|
3618
3429
|
body: {
|
|
@@ -3825,26 +3636,8 @@ const ingest$e = function ManagedContentPublishOutputRepresentationIngest(input,
|
|
|
3825
3636
|
}
|
|
3826
3637
|
}
|
|
3827
3638
|
const key = keyBuilderFromType$6(luvio, input);
|
|
3828
|
-
const existingRecord = store.readEntry(key);
|
|
3829
3639
|
const ttlToUse = TTL$e;
|
|
3830
|
-
|
|
3831
|
-
fullPath: key,
|
|
3832
|
-
parent: path.parent,
|
|
3833
|
-
propertyName: path.propertyName,
|
|
3834
|
-
ttl: ttlToUse
|
|
3835
|
-
});
|
|
3836
|
-
if (existingRecord === undefined || equals$f(existingRecord, incomingRecord) === false) {
|
|
3837
|
-
luvio.storePublish(key, incomingRecord);
|
|
3838
|
-
}
|
|
3839
|
-
{
|
|
3840
|
-
const storeMetadataParams = {
|
|
3841
|
-
ttl: ttlToUse,
|
|
3842
|
-
namespace: "CMSAuthoring",
|
|
3843
|
-
version: VERSION$f,
|
|
3844
|
-
representationName: RepresentationType$e,
|
|
3845
|
-
};
|
|
3846
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
3847
|
-
}
|
|
3640
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$e, "CMSAuthoring", VERSION$f, RepresentationType$e, equals$f);
|
|
3848
3641
|
return createLink(key);
|
|
3849
3642
|
};
|
|
3850
3643
|
function getTypeCacheKeys$e(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3894,13 +3687,11 @@ function createResourceRequest$l(config) {
|
|
|
3894
3687
|
};
|
|
3895
3688
|
}
|
|
3896
3689
|
|
|
3897
|
-
const
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
}
|
|
3903
|
-
};
|
|
3690
|
+
const adapterName$l = 'publishManagedContent';
|
|
3691
|
+
const publishManagedContent_ConfigPropertyMetadata = [
|
|
3692
|
+
generateParamConfigMetadata('publishInput', true),
|
|
3693
|
+
];
|
|
3694
|
+
const publishManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$l, publishManagedContent_ConfigPropertyMetadata);
|
|
3904
3695
|
function createResourceParams$l(config) {
|
|
3905
3696
|
const resourceParams = {
|
|
3906
3697
|
body: {
|
|
@@ -4106,26 +3897,8 @@ const ingest$d = function ManagedContentUnpublishOutputRepresentationIngest(inpu
|
|
|
4106
3897
|
}
|
|
4107
3898
|
}
|
|
4108
3899
|
const key = keyBuilderFromType$5(luvio, input);
|
|
4109
|
-
const existingRecord = store.readEntry(key);
|
|
4110
3900
|
const ttlToUse = TTL$d;
|
|
4111
|
-
|
|
4112
|
-
fullPath: key,
|
|
4113
|
-
parent: path.parent,
|
|
4114
|
-
propertyName: path.propertyName,
|
|
4115
|
-
ttl: ttlToUse
|
|
4116
|
-
});
|
|
4117
|
-
if (existingRecord === undefined || equals$e(existingRecord, incomingRecord) === false) {
|
|
4118
|
-
luvio.storePublish(key, incomingRecord);
|
|
4119
|
-
}
|
|
4120
|
-
{
|
|
4121
|
-
const storeMetadataParams = {
|
|
4122
|
-
ttl: ttlToUse,
|
|
4123
|
-
namespace: "CMSAuthoring",
|
|
4124
|
-
version: VERSION$e,
|
|
4125
|
-
representationName: RepresentationType$d,
|
|
4126
|
-
};
|
|
4127
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
4128
|
-
}
|
|
3901
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$d, "CMSAuthoring", VERSION$e, RepresentationType$d, equals$e);
|
|
4129
3902
|
return createLink(key);
|
|
4130
3903
|
};
|
|
4131
3904
|
function getTypeCacheKeys$d(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4175,13 +3948,11 @@ function createResourceRequest$k(config) {
|
|
|
4175
3948
|
};
|
|
4176
3949
|
}
|
|
4177
3950
|
|
|
4178
|
-
const
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
}
|
|
4184
|
-
};
|
|
3951
|
+
const adapterName$k = 'unpublishManagedContent';
|
|
3952
|
+
const unpublishManagedContent_ConfigPropertyMetadata = [
|
|
3953
|
+
generateParamConfigMetadata('unpublishInput', true),
|
|
3954
|
+
];
|
|
3955
|
+
const unpublishManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$k, unpublishManagedContent_ConfigPropertyMetadata);
|
|
4185
3956
|
function createResourceParams$k(config) {
|
|
4186
3957
|
const resourceParams = {
|
|
4187
3958
|
body: {
|
|
@@ -4445,26 +4216,8 @@ const ingest$c = function ManagedContentVariantRepresentationIngest(input, path,
|
|
|
4445
4216
|
}
|
|
4446
4217
|
}
|
|
4447
4218
|
const key = keyBuilderFromType$4(luvio, input);
|
|
4448
|
-
const existingRecord = store.readEntry(key);
|
|
4449
4219
|
const ttlToUse = TTL$c;
|
|
4450
|
-
|
|
4451
|
-
fullPath: key,
|
|
4452
|
-
parent: path.parent,
|
|
4453
|
-
propertyName: path.propertyName,
|
|
4454
|
-
ttl: ttlToUse
|
|
4455
|
-
});
|
|
4456
|
-
if (existingRecord === undefined || equals$d(existingRecord, incomingRecord) === false) {
|
|
4457
|
-
luvio.storePublish(key, incomingRecord);
|
|
4458
|
-
}
|
|
4459
|
-
{
|
|
4460
|
-
const storeMetadataParams = {
|
|
4461
|
-
ttl: ttlToUse,
|
|
4462
|
-
namespace: "CMSAuthoring",
|
|
4463
|
-
version: VERSION$d,
|
|
4464
|
-
representationName: RepresentationType$c,
|
|
4465
|
-
};
|
|
4466
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
4467
|
-
}
|
|
4220
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$c, "CMSAuthoring", VERSION$d, RepresentationType$c, equals$d);
|
|
4468
4221
|
return createLink(key);
|
|
4469
4222
|
};
|
|
4470
4223
|
function getTypeCacheKeys$c(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -4514,13 +4267,11 @@ function createResourceRequest$j(config) {
|
|
|
4514
4267
|
};
|
|
4515
4268
|
}
|
|
4516
4269
|
|
|
4517
|
-
const
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
}
|
|
4523
|
-
};
|
|
4270
|
+
const adapterName$j = 'createManagedContentVariant';
|
|
4271
|
+
const createManagedContentVariant_ConfigPropertyMetadata = [
|
|
4272
|
+
generateParamConfigMetadata('managedContentVariantInputParam', true),
|
|
4273
|
+
];
|
|
4274
|
+
const createManagedContentVariant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$j, createManagedContentVariant_ConfigPropertyMetadata);
|
|
4524
4275
|
function createResourceParams$j(config) {
|
|
4525
4276
|
const resourceParams = {
|
|
4526
4277
|
body: {
|
|
@@ -4611,14 +4362,11 @@ function createResourceRequest$i(config) {
|
|
|
4611
4362
|
};
|
|
4612
4363
|
}
|
|
4613
4364
|
|
|
4614
|
-
const adapterName = 'deleteManagedContentVariant';
|
|
4615
|
-
const
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
optional: []
|
|
4620
|
-
}
|
|
4621
|
-
};
|
|
4365
|
+
const adapterName$i = 'deleteManagedContentVariant';
|
|
4366
|
+
const deleteManagedContentVariant_ConfigPropertyMetadata = [
|
|
4367
|
+
generateParamConfigMetadata('variantId', true),
|
|
4368
|
+
];
|
|
4369
|
+
const deleteManagedContentVariant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$i, deleteManagedContentVariant_ConfigPropertyMetadata);
|
|
4622
4370
|
function createResourceParams$i(config) {
|
|
4623
4371
|
const resourceParams = {
|
|
4624
4372
|
urlParams: {
|
|
@@ -4670,7 +4418,7 @@ const deleteManagedContentVariantAdapterFactory = (luvio) => {
|
|
|
4670
4418
|
const config = validateAdapterConfig$i(untrustedConfig, deleteManagedContentVariant_ConfigPropertyNames);
|
|
4671
4419
|
// Invalid or incomplete config
|
|
4672
4420
|
if (config === null) {
|
|
4673
|
-
throw new Error(`Invalid config for "${adapterName}"`);
|
|
4421
|
+
throw new Error(`Invalid config for "${adapterName$i}"`);
|
|
4674
4422
|
}
|
|
4675
4423
|
return buildNetworkSnapshot$i(luvio, config);
|
|
4676
4424
|
};
|
|
@@ -4730,13 +4478,11 @@ function createResourceRequest$h(config) {
|
|
|
4730
4478
|
};
|
|
4731
4479
|
}
|
|
4732
4480
|
|
|
4733
|
-
const
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
}
|
|
4739
|
-
};
|
|
4481
|
+
const adapterName$h = 'getManagedContentVariant';
|
|
4482
|
+
const getManagedContentVariant_ConfigPropertyMetadata = [
|
|
4483
|
+
generateParamConfigMetadata('variantId', true),
|
|
4484
|
+
];
|
|
4485
|
+
const getManagedContentVariant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$h, getManagedContentVariant_ConfigPropertyMetadata);
|
|
4740
4486
|
function createResourceParams$h(config) {
|
|
4741
4487
|
const resourceParams = {
|
|
4742
4488
|
urlParams: {
|
|
@@ -4802,21 +4548,7 @@ function buildNetworkSnapshot$h(luvio, config, options) {
|
|
|
4802
4548
|
});
|
|
4803
4549
|
}
|
|
4804
4550
|
function buildNetworkSnapshotCachePolicy$c(context, coercedAdapterRequestContext) {
|
|
4805
|
-
|
|
4806
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
4807
|
-
const dispatchOptions = {
|
|
4808
|
-
resourceRequestContext: {
|
|
4809
|
-
requestCorrelator,
|
|
4810
|
-
luvioRequestMethod: undefined,
|
|
4811
|
-
},
|
|
4812
|
-
eventObservers
|
|
4813
|
-
};
|
|
4814
|
-
if (networkPriority !== 'normal') {
|
|
4815
|
-
dispatchOptions.overrides = {
|
|
4816
|
-
priority: networkPriority
|
|
4817
|
-
};
|
|
4818
|
-
}
|
|
4819
|
-
return buildNetworkSnapshot$h(luvio, config, dispatchOptions);
|
|
4551
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$h, undefined, false);
|
|
4820
4552
|
}
|
|
4821
4553
|
function buildCachedSnapshotCachePolicy$c(context, storeLookup) {
|
|
4822
4554
|
const { luvio, config } = context;
|
|
@@ -4911,13 +4643,12 @@ function createResourceRequest$g(config) {
|
|
|
4911
4643
|
};
|
|
4912
4644
|
}
|
|
4913
4645
|
|
|
4914
|
-
const
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
};
|
|
4646
|
+
const adapterName$g = 'replaceManagedContentVariant';
|
|
4647
|
+
const replaceManagedContentVariant_ConfigPropertyMetadata = [
|
|
4648
|
+
generateParamConfigMetadata('variantId', true),
|
|
4649
|
+
generateParamConfigMetadata('ManagedContentVariantInputParam', true),
|
|
4650
|
+
];
|
|
4651
|
+
const replaceManagedContentVariant_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$g, replaceManagedContentVariant_ConfigPropertyMetadata);
|
|
4921
4652
|
function createResourceParams$g(config) {
|
|
4922
4653
|
const resourceParams = {
|
|
4923
4654
|
urlParams: {
|
|
@@ -5118,26 +4849,8 @@ const ingest$b = function ManagedContentVariantVersionCollectionRepresentationIn
|
|
|
5118
4849
|
}
|
|
5119
4850
|
}
|
|
5120
4851
|
const key = keyBuilderFromType$3(luvio, input);
|
|
5121
|
-
const existingRecord = store.readEntry(key);
|
|
5122
4852
|
const ttlToUse = TTL$b;
|
|
5123
|
-
|
|
5124
|
-
fullPath: key,
|
|
5125
|
-
parent: path.parent,
|
|
5126
|
-
propertyName: path.propertyName,
|
|
5127
|
-
ttl: ttlToUse
|
|
5128
|
-
});
|
|
5129
|
-
if (existingRecord === undefined || equals$c(existingRecord, incomingRecord) === false) {
|
|
5130
|
-
luvio.storePublish(key, incomingRecord);
|
|
5131
|
-
}
|
|
5132
|
-
{
|
|
5133
|
-
const storeMetadataParams = {
|
|
5134
|
-
ttl: ttlToUse,
|
|
5135
|
-
namespace: "CMSAuthoring",
|
|
5136
|
-
version: VERSION$c,
|
|
5137
|
-
representationName: RepresentationType$b,
|
|
5138
|
-
};
|
|
5139
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
5140
|
-
}
|
|
4853
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$b, "CMSAuthoring", VERSION$c, RepresentationType$b, equals$c);
|
|
5141
4854
|
return createLink(key);
|
|
5142
4855
|
};
|
|
5143
4856
|
function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5204,13 +4917,14 @@ function createResourceRequest$f(config) {
|
|
|
5204
4917
|
};
|
|
5205
4918
|
}
|
|
5206
4919
|
|
|
5207
|
-
const
|
|
5208
|
-
|
|
5209
|
-
|
|
5210
|
-
|
|
5211
|
-
|
|
5212
|
-
|
|
5213
|
-
|
|
4920
|
+
const adapterName$f = 'getManagedContentVariantVersions';
|
|
4921
|
+
const getManagedContentVariantVersions_ConfigPropertyMetadata = [
|
|
4922
|
+
generateParamConfigMetadata('variantId', true),
|
|
4923
|
+
generateParamConfigMetadata('page', false),
|
|
4924
|
+
generateParamConfigMetadata('pageSize', false),
|
|
4925
|
+
generateParamConfigMetadata('status', false),
|
|
4926
|
+
];
|
|
4927
|
+
const getManagedContentVariantVersions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$f, getManagedContentVariantVersions_ConfigPropertyMetadata);
|
|
5214
4928
|
function createResourceParams$f(config) {
|
|
5215
4929
|
const resourceParams = {
|
|
5216
4930
|
urlParams: {
|
|
@@ -5284,21 +4998,7 @@ function buildNetworkSnapshot$f(luvio, config, options) {
|
|
|
5284
4998
|
});
|
|
5285
4999
|
}
|
|
5286
5000
|
function buildNetworkSnapshotCachePolicy$b(context, coercedAdapterRequestContext) {
|
|
5287
|
-
|
|
5288
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
5289
|
-
const dispatchOptions = {
|
|
5290
|
-
resourceRequestContext: {
|
|
5291
|
-
requestCorrelator,
|
|
5292
|
-
luvioRequestMethod: undefined,
|
|
5293
|
-
},
|
|
5294
|
-
eventObservers
|
|
5295
|
-
};
|
|
5296
|
-
if (networkPriority !== 'normal') {
|
|
5297
|
-
dispatchOptions.overrides = {
|
|
5298
|
-
priority: networkPriority
|
|
5299
|
-
};
|
|
5300
|
-
}
|
|
5301
|
-
return buildNetworkSnapshot$f(luvio, config, dispatchOptions);
|
|
5001
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$f, undefined, false);
|
|
5302
5002
|
}
|
|
5303
5003
|
function buildCachedSnapshotCachePolicy$b(context, storeLookup) {
|
|
5304
5004
|
const { luvio, config } = context;
|
|
@@ -5431,13 +5131,13 @@ function onFetchResponseSuccess$b(luvio, config, resourceParams, response) {
|
|
|
5431
5131
|
return onFetchResponseSuccess$a(luvio, config, resourceParams, response);
|
|
5432
5132
|
}
|
|
5433
5133
|
|
|
5434
|
-
const
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5134
|
+
const adapterName$e = 'getManagedContent';
|
|
5135
|
+
const getManagedContent_ConfigPropertyMetadata = [
|
|
5136
|
+
generateParamConfigMetadata('contentKeyOrId', true),
|
|
5137
|
+
generateParamConfigMetadata('language', false),
|
|
5138
|
+
generateParamConfigMetadata('version', false),
|
|
5139
|
+
];
|
|
5140
|
+
const getManagedContent_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$e, getManagedContent_ConfigPropertyMetadata);
|
|
5441
5141
|
function createResourceParams$e(config) {
|
|
5442
5142
|
const resourceParams = {
|
|
5443
5143
|
urlParams: {
|
|
@@ -5508,21 +5208,7 @@ function buildNetworkSnapshot$e(luvio, config, options) {
|
|
|
5508
5208
|
});
|
|
5509
5209
|
}
|
|
5510
5210
|
function buildNetworkSnapshotCachePolicy$a(context, coercedAdapterRequestContext) {
|
|
5511
|
-
|
|
5512
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
5513
|
-
const dispatchOptions = {
|
|
5514
|
-
resourceRequestContext: {
|
|
5515
|
-
requestCorrelator,
|
|
5516
|
-
luvioRequestMethod: undefined,
|
|
5517
|
-
},
|
|
5518
|
-
eventObservers
|
|
5519
|
-
};
|
|
5520
|
-
if (networkPriority !== 'normal') {
|
|
5521
|
-
dispatchOptions.overrides = {
|
|
5522
|
-
priority: networkPriority
|
|
5523
|
-
};
|
|
5524
|
-
}
|
|
5525
|
-
return buildNetworkSnapshot$e(luvio, config, dispatchOptions);
|
|
5211
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$e, undefined, false);
|
|
5526
5212
|
}
|
|
5527
5213
|
function buildCachedSnapshotCachePolicy$a(context, storeLookup) {
|
|
5528
5214
|
const { luvio, config } = context;
|
|
@@ -5626,26 +5312,8 @@ const ingest$a = function ManagedContentRenditionRepresentationIngest(input, pat
|
|
|
5626
5312
|
}
|
|
5627
5313
|
}
|
|
5628
5314
|
const key = path.fullPath;
|
|
5629
|
-
const existingRecord = store.readEntry(key);
|
|
5630
5315
|
const ttlToUse = TTL$a;
|
|
5631
|
-
|
|
5632
|
-
fullPath: key,
|
|
5633
|
-
parent: path.parent,
|
|
5634
|
-
propertyName: path.propertyName,
|
|
5635
|
-
ttl: ttlToUse
|
|
5636
|
-
});
|
|
5637
|
-
if (existingRecord === undefined || equals$b(existingRecord, incomingRecord) === false) {
|
|
5638
|
-
luvio.storePublish(key, incomingRecord);
|
|
5639
|
-
}
|
|
5640
|
-
{
|
|
5641
|
-
const storeMetadataParams = {
|
|
5642
|
-
ttl: ttlToUse,
|
|
5643
|
-
namespace: "CMSAuthoring",
|
|
5644
|
-
version: VERSION$b,
|
|
5645
|
-
representationName: RepresentationType$a,
|
|
5646
|
-
};
|
|
5647
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
5648
|
-
}
|
|
5316
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$a, "CMSAuthoring", VERSION$b, RepresentationType$a, equals$b);
|
|
5649
5317
|
return createLink(key);
|
|
5650
5318
|
};
|
|
5651
5319
|
function getTypeCacheKeys$a(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -5710,13 +5378,15 @@ function createResourceRequest$d(config) {
|
|
|
5710
5378
|
};
|
|
5711
5379
|
}
|
|
5712
5380
|
|
|
5713
|
-
const
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5381
|
+
const adapterName$d = 'getManagedContentVariantRendition';
|
|
5382
|
+
const getManagedContentVariantRendition_ConfigPropertyMetadata = [
|
|
5383
|
+
generateParamConfigMetadata('contentKeyOrId', true),
|
|
5384
|
+
generateParamConfigMetadata('renditionType', true),
|
|
5385
|
+
generateParamConfigMetadata('channelIdOrApiName', false),
|
|
5386
|
+
generateParamConfigMetadata('language', false),
|
|
5387
|
+
generateParamConfigMetadata('version', false),
|
|
5388
|
+
];
|
|
5389
|
+
const getManagedContentVariantRendition_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$d, getManagedContentVariantRendition_ConfigPropertyMetadata);
|
|
5720
5390
|
function createResourceParams$d(config) {
|
|
5721
5391
|
const resourceParams = {
|
|
5722
5392
|
urlParams: {
|
|
@@ -5789,21 +5459,7 @@ function buildNetworkSnapshot$d(luvio, config, options) {
|
|
|
5789
5459
|
});
|
|
5790
5460
|
}
|
|
5791
5461
|
function buildNetworkSnapshotCachePolicy$9(context, coercedAdapterRequestContext) {
|
|
5792
|
-
|
|
5793
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
5794
|
-
const dispatchOptions = {
|
|
5795
|
-
resourceRequestContext: {
|
|
5796
|
-
requestCorrelator,
|
|
5797
|
-
luvioRequestMethod: undefined,
|
|
5798
|
-
},
|
|
5799
|
-
eventObservers
|
|
5800
|
-
};
|
|
5801
|
-
if (networkPriority !== 'normal') {
|
|
5802
|
-
dispatchOptions.overrides = {
|
|
5803
|
-
priority: networkPriority
|
|
5804
|
-
};
|
|
5805
|
-
}
|
|
5806
|
-
return buildNetworkSnapshot$d(luvio, config, dispatchOptions);
|
|
5462
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$d, undefined, false);
|
|
5807
5463
|
}
|
|
5808
5464
|
function buildCachedSnapshotCachePolicy$9(context, storeLookup) {
|
|
5809
5465
|
const { luvio, config } = context;
|
|
@@ -5982,26 +5638,8 @@ const ingest$9 = function ManagedContentReferencedByCollectionRepresentationInge
|
|
|
5982
5638
|
}
|
|
5983
5639
|
}
|
|
5984
5640
|
const key = path.fullPath;
|
|
5985
|
-
const existingRecord = store.readEntry(key);
|
|
5986
5641
|
const ttlToUse = TTL$9;
|
|
5987
|
-
|
|
5988
|
-
fullPath: key,
|
|
5989
|
-
parent: path.parent,
|
|
5990
|
-
propertyName: path.propertyName,
|
|
5991
|
-
ttl: ttlToUse
|
|
5992
|
-
});
|
|
5993
|
-
if (existingRecord === undefined || equals$a(existingRecord, incomingRecord) === false) {
|
|
5994
|
-
luvio.storePublish(key, incomingRecord);
|
|
5995
|
-
}
|
|
5996
|
-
{
|
|
5997
|
-
const storeMetadataParams = {
|
|
5998
|
-
ttl: ttlToUse,
|
|
5999
|
-
namespace: "CMSAuthoring",
|
|
6000
|
-
version: VERSION$a,
|
|
6001
|
-
representationName: RepresentationType$9,
|
|
6002
|
-
};
|
|
6003
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
6004
|
-
}
|
|
5642
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$9, "CMSAuthoring", VERSION$a, RepresentationType$9, equals$a);
|
|
6005
5643
|
return createLink(key);
|
|
6006
5644
|
};
|
|
6007
5645
|
function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6066,13 +5704,15 @@ function createResourceRequest$c(config) {
|
|
|
6066
5704
|
};
|
|
6067
5705
|
}
|
|
6068
5706
|
|
|
6069
|
-
const
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
|
|
6073
|
-
|
|
6074
|
-
|
|
6075
|
-
|
|
5707
|
+
const adapterName$c = 'getManagedContentReferencedBy';
|
|
5708
|
+
const getManagedContentReferencedBy_ConfigPropertyMetadata = [
|
|
5709
|
+
generateParamConfigMetadata('contentKeyOrId', true),
|
|
5710
|
+
generateParamConfigMetadata('includeReferenceDetails', false),
|
|
5711
|
+
generateParamConfigMetadata('page', false),
|
|
5712
|
+
generateParamConfigMetadata('pageSize', false),
|
|
5713
|
+
generateParamConfigMetadata('referenceType', false),
|
|
5714
|
+
];
|
|
5715
|
+
const getManagedContentReferencedBy_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$c, getManagedContentReferencedBy_ConfigPropertyMetadata);
|
|
6076
5716
|
function createResourceParams$c(config) {
|
|
6077
5717
|
const resourceParams = {
|
|
6078
5718
|
urlParams: {
|
|
@@ -6145,21 +5785,7 @@ function buildNetworkSnapshot$c(luvio, config, options) {
|
|
|
6145
5785
|
});
|
|
6146
5786
|
}
|
|
6147
5787
|
function buildNetworkSnapshotCachePolicy$8(context, coercedAdapterRequestContext) {
|
|
6148
|
-
|
|
6149
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
6150
|
-
const dispatchOptions = {
|
|
6151
|
-
resourceRequestContext: {
|
|
6152
|
-
requestCorrelator,
|
|
6153
|
-
luvioRequestMethod: undefined,
|
|
6154
|
-
},
|
|
6155
|
-
eventObservers
|
|
6156
|
-
};
|
|
6157
|
-
if (networkPriority !== 'normal') {
|
|
6158
|
-
dispatchOptions.overrides = {
|
|
6159
|
-
priority: networkPriority
|
|
6160
|
-
};
|
|
6161
|
-
}
|
|
6162
|
-
return buildNetworkSnapshot$c(luvio, config, dispatchOptions);
|
|
5788
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$c, undefined, false);
|
|
6163
5789
|
}
|
|
6164
5790
|
function buildCachedSnapshotCachePolicy$8(context, storeLookup) {
|
|
6165
5791
|
const { luvio, config } = context;
|
|
@@ -6347,26 +5973,8 @@ const ingest$8 = function ManagedContentVariantReferencesCollectionRepresentatio
|
|
|
6347
5973
|
}
|
|
6348
5974
|
}
|
|
6349
5975
|
const key = path.fullPath;
|
|
6350
|
-
const existingRecord = store.readEntry(key);
|
|
6351
5976
|
const ttlToUse = TTL$8;
|
|
6352
|
-
|
|
6353
|
-
fullPath: key,
|
|
6354
|
-
parent: path.parent,
|
|
6355
|
-
propertyName: path.propertyName,
|
|
6356
|
-
ttl: ttlToUse
|
|
6357
|
-
});
|
|
6358
|
-
if (existingRecord === undefined || equals$9(existingRecord, incomingRecord) === false) {
|
|
6359
|
-
luvio.storePublish(key, incomingRecord);
|
|
6360
|
-
}
|
|
6361
|
-
{
|
|
6362
|
-
const storeMetadataParams = {
|
|
6363
|
-
ttl: ttlToUse,
|
|
6364
|
-
namespace: "CMSAuthoring",
|
|
6365
|
-
version: VERSION$9,
|
|
6366
|
-
representationName: RepresentationType$8,
|
|
6367
|
-
};
|
|
6368
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
6369
|
-
}
|
|
5977
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$8, "CMSAuthoring", VERSION$9, RepresentationType$8, equals$9);
|
|
6370
5978
|
return createLink(key);
|
|
6371
5979
|
};
|
|
6372
5980
|
function getTypeCacheKeys$8(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6431,13 +6039,12 @@ function createResourceRequest$b(config) {
|
|
|
6431
6039
|
};
|
|
6432
6040
|
}
|
|
6433
6041
|
|
|
6434
|
-
const
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
};
|
|
6042
|
+
const adapterName$b = 'getManagedContentVariantReferences';
|
|
6043
|
+
const getManagedContentVariantReferences_ConfigPropertyMetadata = [
|
|
6044
|
+
generateParamConfigMetadata('contentKeyOrId', true),
|
|
6045
|
+
generateParamConfigMetadata('variantIds', false),
|
|
6046
|
+
];
|
|
6047
|
+
const getManagedContentVariantReferences_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$b, getManagedContentVariantReferences_ConfigPropertyMetadata);
|
|
6441
6048
|
function createResourceParams$b(config) {
|
|
6442
6049
|
const resourceParams = {
|
|
6443
6050
|
urlParams: {
|
|
@@ -6509,21 +6116,7 @@ function buildNetworkSnapshot$b(luvio, config, options) {
|
|
|
6509
6116
|
});
|
|
6510
6117
|
}
|
|
6511
6118
|
function buildNetworkSnapshotCachePolicy$7(context, coercedAdapterRequestContext) {
|
|
6512
|
-
|
|
6513
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
6514
|
-
const dispatchOptions = {
|
|
6515
|
-
resourceRequestContext: {
|
|
6516
|
-
requestCorrelator,
|
|
6517
|
-
luvioRequestMethod: undefined,
|
|
6518
|
-
},
|
|
6519
|
-
eventObservers
|
|
6520
|
-
};
|
|
6521
|
-
if (networkPriority !== 'normal') {
|
|
6522
|
-
dispatchOptions.overrides = {
|
|
6523
|
-
priority: networkPriority
|
|
6524
|
-
};
|
|
6525
|
-
}
|
|
6526
|
-
return buildNetworkSnapshot$b(luvio, config, dispatchOptions);
|
|
6119
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$b, undefined, false);
|
|
6527
6120
|
}
|
|
6528
6121
|
function buildCachedSnapshotCachePolicy$7(context, storeLookup) {
|
|
6529
6122
|
const { luvio, config } = context;
|
|
@@ -6739,26 +6332,8 @@ const ingest$7 = function ManagedContentSpaceFolderItemCollectionRepresentationI
|
|
|
6739
6332
|
}
|
|
6740
6333
|
}
|
|
6741
6334
|
const key = path.fullPath;
|
|
6742
|
-
const existingRecord = store.readEntry(key);
|
|
6743
6335
|
const ttlToUse = TTL$7;
|
|
6744
|
-
|
|
6745
|
-
fullPath: key,
|
|
6746
|
-
parent: path.parent,
|
|
6747
|
-
propertyName: path.propertyName,
|
|
6748
|
-
ttl: ttlToUse
|
|
6749
|
-
});
|
|
6750
|
-
if (existingRecord === undefined || equals$8(existingRecord, incomingRecord) === false) {
|
|
6751
|
-
luvio.storePublish(key, incomingRecord);
|
|
6752
|
-
}
|
|
6753
|
-
{
|
|
6754
|
-
const storeMetadataParams = {
|
|
6755
|
-
ttl: ttlToUse,
|
|
6756
|
-
namespace: "CMSAuthoring",
|
|
6757
|
-
version: VERSION$8,
|
|
6758
|
-
representationName: RepresentationType$7,
|
|
6759
|
-
};
|
|
6760
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
6761
|
-
}
|
|
6336
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$7, "CMSAuthoring", VERSION$8, RepresentationType$7, equals$8);
|
|
6762
6337
|
return createLink(key);
|
|
6763
6338
|
};
|
|
6764
6339
|
function getTypeCacheKeys$7(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -6823,13 +6398,21 @@ function createResourceRequest$a(config) {
|
|
|
6823
6398
|
};
|
|
6824
6399
|
}
|
|
6825
6400
|
|
|
6826
|
-
const
|
|
6827
|
-
|
|
6828
|
-
|
|
6829
|
-
|
|
6830
|
-
|
|
6831
|
-
|
|
6832
|
-
|
|
6401
|
+
const adapterName$a = 'getManagedContentByFolderId';
|
|
6402
|
+
const getManagedContentByFolderId_ConfigPropertyMetadata = [
|
|
6403
|
+
generateParamConfigMetadata('folderId', true),
|
|
6404
|
+
generateParamConfigMetadata('contentType', false),
|
|
6405
|
+
generateParamConfigMetadata('contentTypeFilter', false),
|
|
6406
|
+
generateParamConfigMetadata('contentTypes', false),
|
|
6407
|
+
generateParamConfigMetadata('filter', false),
|
|
6408
|
+
generateParamConfigMetadata('page', false),
|
|
6409
|
+
generateParamConfigMetadata('pageSize', false),
|
|
6410
|
+
generateParamConfigMetadata('queryTerm', false),
|
|
6411
|
+
generateParamConfigMetadata('showPublishedOnly', false),
|
|
6412
|
+
generateParamConfigMetadata('sortBy', false),
|
|
6413
|
+
generateParamConfigMetadata('sortOrder', false),
|
|
6414
|
+
];
|
|
6415
|
+
const getManagedContentByFolderId_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$a, getManagedContentByFolderId_ConfigPropertyMetadata);
|
|
6833
6416
|
function createResourceParams$a(config) {
|
|
6834
6417
|
const resourceParams = {
|
|
6835
6418
|
urlParams: {
|
|
@@ -6910,21 +6493,7 @@ function buildNetworkSnapshot$a(luvio, config, options) {
|
|
|
6910
6493
|
});
|
|
6911
6494
|
}
|
|
6912
6495
|
function buildNetworkSnapshotCachePolicy$6(context, coercedAdapterRequestContext) {
|
|
6913
|
-
|
|
6914
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
6915
|
-
const dispatchOptions = {
|
|
6916
|
-
resourceRequestContext: {
|
|
6917
|
-
requestCorrelator,
|
|
6918
|
-
luvioRequestMethod: undefined,
|
|
6919
|
-
},
|
|
6920
|
-
eventObservers
|
|
6921
|
-
};
|
|
6922
|
-
if (networkPriority !== 'normal') {
|
|
6923
|
-
dispatchOptions.overrides = {
|
|
6924
|
-
priority: networkPriority
|
|
6925
|
-
};
|
|
6926
|
-
}
|
|
6927
|
-
return buildNetworkSnapshot$a(luvio, config, dispatchOptions);
|
|
6496
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$a, undefined, false);
|
|
6928
6497
|
}
|
|
6929
6498
|
function buildCachedSnapshotCachePolicy$6(context, storeLookup) {
|
|
6930
6499
|
const { luvio, config } = context;
|
|
@@ -7073,26 +6642,8 @@ const ingest$6 = function ManagedContentSearchResultItemsCollectionRepresentatio
|
|
|
7073
6642
|
}
|
|
7074
6643
|
}
|
|
7075
6644
|
const key = path.fullPath;
|
|
7076
|
-
const existingRecord = store.readEntry(key);
|
|
7077
6645
|
const ttlToUse = TTL$6;
|
|
7078
|
-
|
|
7079
|
-
fullPath: key,
|
|
7080
|
-
parent: path.parent,
|
|
7081
|
-
propertyName: path.propertyName,
|
|
7082
|
-
ttl: ttlToUse
|
|
7083
|
-
});
|
|
7084
|
-
if (existingRecord === undefined || equals$7(existingRecord, incomingRecord) === false) {
|
|
7085
|
-
luvio.storePublish(key, incomingRecord);
|
|
7086
|
-
}
|
|
7087
|
-
{
|
|
7088
|
-
const storeMetadataParams = {
|
|
7089
|
-
ttl: ttlToUse,
|
|
7090
|
-
namespace: "CMSAuthoring",
|
|
7091
|
-
version: VERSION$7,
|
|
7092
|
-
representationName: RepresentationType$6,
|
|
7093
|
-
};
|
|
7094
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
7095
|
-
}
|
|
6646
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$6, "CMSAuthoring", VERSION$7, RepresentationType$6, equals$7);
|
|
7096
6647
|
return createLink(key);
|
|
7097
6648
|
};
|
|
7098
6649
|
function getTypeCacheKeys$6(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7157,13 +6708,17 @@ function createResourceRequest$9(config) {
|
|
|
7157
6708
|
};
|
|
7158
6709
|
}
|
|
7159
6710
|
|
|
7160
|
-
const
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
6711
|
+
const adapterName$9 = 'getSearchResults';
|
|
6712
|
+
const getSearchResults_ConfigPropertyMetadata = [
|
|
6713
|
+
generateParamConfigMetadata('contentSpaceOrFolderIds', false),
|
|
6714
|
+
generateParamConfigMetadata('contentTypeFQN', false),
|
|
6715
|
+
generateParamConfigMetadata('languages', false),
|
|
6716
|
+
generateParamConfigMetadata('page', false),
|
|
6717
|
+
generateParamConfigMetadata('pageSize', false),
|
|
6718
|
+
generateParamConfigMetadata('queryTerm', true),
|
|
6719
|
+
generateParamConfigMetadata('scope', false),
|
|
6720
|
+
];
|
|
6721
|
+
const getSearchResults_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$9, getSearchResults_ConfigPropertyMetadata);
|
|
7167
6722
|
function createResourceParams$9(config) {
|
|
7168
6723
|
const resourceParams = {
|
|
7169
6724
|
queryParams: {
|
|
@@ -7237,21 +6792,7 @@ function buildNetworkSnapshot$9(luvio, config, options) {
|
|
|
7237
6792
|
});
|
|
7238
6793
|
}
|
|
7239
6794
|
function buildNetworkSnapshotCachePolicy$5(context, coercedAdapterRequestContext) {
|
|
7240
|
-
|
|
7241
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
7242
|
-
const dispatchOptions = {
|
|
7243
|
-
resourceRequestContext: {
|
|
7244
|
-
requestCorrelator,
|
|
7245
|
-
luvioRequestMethod: undefined,
|
|
7246
|
-
},
|
|
7247
|
-
eventObservers
|
|
7248
|
-
};
|
|
7249
|
-
if (networkPriority !== 'normal') {
|
|
7250
|
-
dispatchOptions.overrides = {
|
|
7251
|
-
priority: networkPriority
|
|
7252
|
-
};
|
|
7253
|
-
}
|
|
7254
|
-
return buildNetworkSnapshot$9(luvio, config, dispatchOptions);
|
|
6795
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$9, undefined, false);
|
|
7255
6796
|
}
|
|
7256
6797
|
function buildCachedSnapshotCachePolicy$5(context, storeLookup) {
|
|
7257
6798
|
const { luvio, config } = context;
|
|
@@ -7500,26 +7041,8 @@ const ingest$5 = function ManagedContentSpaceRepresentationIngest(input, path, l
|
|
|
7500
7041
|
}
|
|
7501
7042
|
}
|
|
7502
7043
|
const key = keyBuilderFromType$2(luvio, input);
|
|
7503
|
-
const existingRecord = store.readEntry(key);
|
|
7504
7044
|
const ttlToUse = TTL$5;
|
|
7505
|
-
|
|
7506
|
-
fullPath: key,
|
|
7507
|
-
parent: path.parent,
|
|
7508
|
-
propertyName: path.propertyName,
|
|
7509
|
-
ttl: ttlToUse
|
|
7510
|
-
});
|
|
7511
|
-
if (existingRecord === undefined || equals$6(existingRecord, incomingRecord) === false) {
|
|
7512
|
-
luvio.storePublish(key, incomingRecord);
|
|
7513
|
-
}
|
|
7514
|
-
{
|
|
7515
|
-
const storeMetadataParams = {
|
|
7516
|
-
ttl: ttlToUse,
|
|
7517
|
-
namespace: "CMSAuthoring",
|
|
7518
|
-
version: VERSION$6,
|
|
7519
|
-
representationName: RepresentationType$5,
|
|
7520
|
-
};
|
|
7521
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
7522
|
-
}
|
|
7045
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$5, "CMSAuthoring", VERSION$6, RepresentationType$5, equals$6);
|
|
7523
7046
|
return createLink(key);
|
|
7524
7047
|
};
|
|
7525
7048
|
function getTypeCacheKeys$5(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7583,26 +7106,8 @@ const ingest$4 = function ManagedContentSpaceCollectionRepresentationIngest(inpu
|
|
|
7583
7106
|
}
|
|
7584
7107
|
}
|
|
7585
7108
|
const key = path.fullPath;
|
|
7586
|
-
const existingRecord = store.readEntry(key);
|
|
7587
7109
|
const ttlToUse = TTL$4;
|
|
7588
|
-
|
|
7589
|
-
fullPath: key,
|
|
7590
|
-
parent: path.parent,
|
|
7591
|
-
propertyName: path.propertyName,
|
|
7592
|
-
ttl: ttlToUse
|
|
7593
|
-
});
|
|
7594
|
-
if (existingRecord === undefined || equals$5(existingRecord, incomingRecord) === false) {
|
|
7595
|
-
luvio.storePublish(key, incomingRecord);
|
|
7596
|
-
}
|
|
7597
|
-
{
|
|
7598
|
-
const storeMetadataParams = {
|
|
7599
|
-
ttl: ttlToUse,
|
|
7600
|
-
namespace: "CMSAuthoring",
|
|
7601
|
-
version: VERSION$5,
|
|
7602
|
-
representationName: RepresentationType$4,
|
|
7603
|
-
};
|
|
7604
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
7605
|
-
}
|
|
7110
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$4, "CMSAuthoring", VERSION$5, RepresentationType$4, equals$5);
|
|
7606
7111
|
return createLink(key);
|
|
7607
7112
|
};
|
|
7608
7113
|
function getTypeCacheKeys$4(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -7667,13 +7172,13 @@ function createResourceRequest$8(config) {
|
|
|
7667
7172
|
};
|
|
7668
7173
|
}
|
|
7669
7174
|
|
|
7670
|
-
const
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
|
|
7175
|
+
const adapterName$8 = 'getManagedContentSpaces';
|
|
7176
|
+
const getManagedContentSpaces_ConfigPropertyMetadata = [
|
|
7177
|
+
generateParamConfigMetadata('page', false),
|
|
7178
|
+
generateParamConfigMetadata('pageSize', false),
|
|
7179
|
+
generateParamConfigMetadata('nameFragment', false),
|
|
7180
|
+
];
|
|
7181
|
+
const getManagedContentSpaces_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$8, getManagedContentSpaces_ConfigPropertyMetadata);
|
|
7677
7182
|
function createResourceParams$8(config) {
|
|
7678
7183
|
const resourceParams = {
|
|
7679
7184
|
queryParams: {
|
|
@@ -7741,21 +7246,7 @@ function buildNetworkSnapshot$8(luvio, config, options) {
|
|
|
7741
7246
|
});
|
|
7742
7247
|
}
|
|
7743
7248
|
function buildNetworkSnapshotCachePolicy$4(context, coercedAdapterRequestContext) {
|
|
7744
|
-
|
|
7745
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
7746
|
-
const dispatchOptions = {
|
|
7747
|
-
resourceRequestContext: {
|
|
7748
|
-
requestCorrelator,
|
|
7749
|
-
luvioRequestMethod: undefined,
|
|
7750
|
-
},
|
|
7751
|
-
eventObservers
|
|
7752
|
-
};
|
|
7753
|
-
if (networkPriority !== 'normal') {
|
|
7754
|
-
dispatchOptions.overrides = {
|
|
7755
|
-
priority: networkPriority
|
|
7756
|
-
};
|
|
7757
|
-
}
|
|
7758
|
-
return buildNetworkSnapshot$8(luvio, config, dispatchOptions);
|
|
7249
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$8, undefined, false);
|
|
7759
7250
|
}
|
|
7760
7251
|
function buildCachedSnapshotCachePolicy$4(context, storeLookup) {
|
|
7761
7252
|
const { luvio, config } = context;
|
|
@@ -7834,13 +7325,11 @@ function createResourceRequest$7(config) {
|
|
|
7834
7325
|
};
|
|
7835
7326
|
}
|
|
7836
7327
|
|
|
7837
|
-
const
|
|
7838
|
-
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
|
|
7842
|
-
}
|
|
7843
|
-
};
|
|
7328
|
+
const adapterName$7 = 'getManagedContentSpace';
|
|
7329
|
+
const getManagedContentSpace_ConfigPropertyMetadata = [
|
|
7330
|
+
generateParamConfigMetadata('contentSpaceId', true),
|
|
7331
|
+
];
|
|
7332
|
+
const getManagedContentSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$7, getManagedContentSpace_ConfigPropertyMetadata);
|
|
7844
7333
|
function createResourceParams$7(config) {
|
|
7845
7334
|
const resourceParams = {
|
|
7846
7335
|
urlParams: {
|
|
@@ -7906,21 +7395,7 @@ function buildNetworkSnapshot$7(luvio, config, options) {
|
|
|
7906
7395
|
});
|
|
7907
7396
|
}
|
|
7908
7397
|
function buildNetworkSnapshotCachePolicy$3(context, coercedAdapterRequestContext) {
|
|
7909
|
-
|
|
7910
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
7911
|
-
const dispatchOptions = {
|
|
7912
|
-
resourceRequestContext: {
|
|
7913
|
-
requestCorrelator,
|
|
7914
|
-
luvioRequestMethod: undefined,
|
|
7915
|
-
},
|
|
7916
|
-
eventObservers
|
|
7917
|
-
};
|
|
7918
|
-
if (networkPriority !== 'normal') {
|
|
7919
|
-
dispatchOptions.overrides = {
|
|
7920
|
-
priority: networkPriority
|
|
7921
|
-
};
|
|
7922
|
-
}
|
|
7923
|
-
return buildNetworkSnapshot$7(luvio, config, dispatchOptions);
|
|
7398
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$7, undefined, false);
|
|
7924
7399
|
}
|
|
7925
7400
|
function buildCachedSnapshotCachePolicy$3(context, storeLookup) {
|
|
7926
7401
|
const { luvio, config } = context;
|
|
@@ -8075,13 +7550,12 @@ function createResourceRequest$6(config) {
|
|
|
8075
7550
|
};
|
|
8076
7551
|
}
|
|
8077
7552
|
|
|
8078
|
-
const
|
|
8079
|
-
|
|
8080
|
-
|
|
8081
|
-
|
|
8082
|
-
|
|
8083
|
-
|
|
8084
|
-
};
|
|
7553
|
+
const adapterName$6 = 'patchManagedContentSpace';
|
|
7554
|
+
const patchManagedContentSpace_ConfigPropertyMetadata = [
|
|
7555
|
+
generateParamConfigMetadata('contentSpaceId', true),
|
|
7556
|
+
generateParamConfigMetadata('ManagedContentSpaceInput', true),
|
|
7557
|
+
];
|
|
7558
|
+
const patchManagedContentSpace_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$6, patchManagedContentSpace_ConfigPropertyMetadata);
|
|
8085
7559
|
function createResourceParams$6(config) {
|
|
8086
7560
|
const resourceParams = {
|
|
8087
7561
|
urlParams: {
|
|
@@ -8248,26 +7722,8 @@ const ingest$3 = function ManagedContentOrchestratorConfigRepresentationIngest(i
|
|
|
8248
7722
|
}
|
|
8249
7723
|
}
|
|
8250
7724
|
const key = keyBuilderFromType$1(luvio, input);
|
|
8251
|
-
const existingRecord = store.readEntry(key);
|
|
8252
7725
|
const ttlToUse = TTL$3;
|
|
8253
|
-
|
|
8254
|
-
fullPath: key,
|
|
8255
|
-
parent: path.parent,
|
|
8256
|
-
propertyName: path.propertyName,
|
|
8257
|
-
ttl: ttlToUse
|
|
8258
|
-
});
|
|
8259
|
-
if (existingRecord === undefined || equals$4(existingRecord, incomingRecord) === false) {
|
|
8260
|
-
luvio.storePublish(key, incomingRecord);
|
|
8261
|
-
}
|
|
8262
|
-
{
|
|
8263
|
-
const storeMetadataParams = {
|
|
8264
|
-
ttl: ttlToUse,
|
|
8265
|
-
namespace: "CMSAuthoring",
|
|
8266
|
-
version: VERSION$4,
|
|
8267
|
-
representationName: RepresentationType$3,
|
|
8268
|
-
};
|
|
8269
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
8270
|
-
}
|
|
7726
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$3, "CMSAuthoring", VERSION$4, RepresentationType$3, equals$4);
|
|
8271
7727
|
return createLink(key);
|
|
8272
7728
|
};
|
|
8273
7729
|
function getTypeCacheKeys$3(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -8334,13 +7790,11 @@ function createResourceRequest$5(config) {
|
|
|
8334
7790
|
};
|
|
8335
7791
|
}
|
|
8336
7792
|
|
|
8337
|
-
const
|
|
8338
|
-
|
|
8339
|
-
|
|
8340
|
-
|
|
8341
|
-
|
|
8342
|
-
}
|
|
8343
|
-
};
|
|
7793
|
+
const adapterName$5 = 'getManagedContentSpaceOrchestratorConfig';
|
|
7794
|
+
const getManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata = [
|
|
7795
|
+
generateParamConfigMetadata('contentSpaceId', true),
|
|
7796
|
+
];
|
|
7797
|
+
const getManagedContentSpaceOrchestratorConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$5, getManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
|
|
8344
7798
|
function createResourceParams$5(config) {
|
|
8345
7799
|
const resourceParams = {
|
|
8346
7800
|
urlParams: {
|
|
@@ -8406,21 +7860,7 @@ function buildNetworkSnapshot$5(luvio, config, options) {
|
|
|
8406
7860
|
});
|
|
8407
7861
|
}
|
|
8408
7862
|
function buildNetworkSnapshotCachePolicy$2(context, coercedAdapterRequestContext) {
|
|
8409
|
-
|
|
8410
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
8411
|
-
const dispatchOptions = {
|
|
8412
|
-
resourceRequestContext: {
|
|
8413
|
-
requestCorrelator,
|
|
8414
|
-
luvioRequestMethod: undefined,
|
|
8415
|
-
},
|
|
8416
|
-
eventObservers
|
|
8417
|
-
};
|
|
8418
|
-
if (networkPriority !== 'normal') {
|
|
8419
|
-
dispatchOptions.overrides = {
|
|
8420
|
-
priority: networkPriority
|
|
8421
|
-
};
|
|
8422
|
-
}
|
|
8423
|
-
return buildNetworkSnapshot$5(luvio, config, dispatchOptions);
|
|
7863
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$5, undefined, false);
|
|
8424
7864
|
}
|
|
8425
7865
|
function buildCachedSnapshotCachePolicy$2(context, storeLookup) {
|
|
8426
7866
|
const { luvio, config } = context;
|
|
@@ -8503,13 +7943,12 @@ function createResourceRequest$4(config) {
|
|
|
8503
7943
|
};
|
|
8504
7944
|
}
|
|
8505
7945
|
|
|
8506
|
-
const
|
|
8507
|
-
|
|
8508
|
-
|
|
8509
|
-
|
|
8510
|
-
|
|
8511
|
-
|
|
8512
|
-
};
|
|
7946
|
+
const adapterName$4 = 'putManagedContentSpaceOrchestratorConfig';
|
|
7947
|
+
const putManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata = [
|
|
7948
|
+
generateParamConfigMetadata('contentSpaceId', true),
|
|
7949
|
+
generateParamConfigMetadata('mContentOrchConfigInput', true),
|
|
7950
|
+
];
|
|
7951
|
+
const putManagedContentSpaceOrchestratorConfig_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$4, putManagedContentSpaceOrchestratorConfig_ConfigPropertyMetadata);
|
|
8513
7952
|
function createResourceParams$4(config) {
|
|
8514
7953
|
const resourceParams = {
|
|
8515
7954
|
urlParams: {
|
|
@@ -8655,26 +8094,8 @@ const ingest$2 = function ManagedContentTypeSummaryCollectionRepresentationInges
|
|
|
8655
8094
|
}
|
|
8656
8095
|
}
|
|
8657
8096
|
const key = path.fullPath;
|
|
8658
|
-
const existingRecord = store.readEntry(key);
|
|
8659
8097
|
const ttlToUse = TTL$2;
|
|
8660
|
-
|
|
8661
|
-
fullPath: key,
|
|
8662
|
-
parent: path.parent,
|
|
8663
|
-
propertyName: path.propertyName,
|
|
8664
|
-
ttl: ttlToUse
|
|
8665
|
-
});
|
|
8666
|
-
if (existingRecord === undefined || equals$3(existingRecord, incomingRecord) === false) {
|
|
8667
|
-
luvio.storePublish(key, incomingRecord);
|
|
8668
|
-
}
|
|
8669
|
-
{
|
|
8670
|
-
const storeMetadataParams = {
|
|
8671
|
-
ttl: ttlToUse,
|
|
8672
|
-
namespace: "CMSAuthoring",
|
|
8673
|
-
version: VERSION$3,
|
|
8674
|
-
representationName: RepresentationType$2,
|
|
8675
|
-
};
|
|
8676
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
8677
|
-
}
|
|
8098
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "CMSAuthoring", VERSION$3, RepresentationType$2, equals$3);
|
|
8678
8099
|
return createLink(key);
|
|
8679
8100
|
};
|
|
8680
8101
|
function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -8739,13 +8160,12 @@ function createResourceRequest$3(config) {
|
|
|
8739
8160
|
};
|
|
8740
8161
|
}
|
|
8741
8162
|
|
|
8742
|
-
const
|
|
8743
|
-
|
|
8744
|
-
|
|
8745
|
-
|
|
8746
|
-
|
|
8747
|
-
|
|
8748
|
-
};
|
|
8163
|
+
const adapterName$3 = 'getManagedContentTypesForMixin';
|
|
8164
|
+
const getManagedContentTypesForMixin_ConfigPropertyMetadata = [
|
|
8165
|
+
generateParamConfigMetadata('contentSpaceId', true),
|
|
8166
|
+
generateParamConfigMetadata('mixinFQN', false),
|
|
8167
|
+
];
|
|
8168
|
+
const getManagedContentTypesForMixin_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, getManagedContentTypesForMixin_ConfigPropertyMetadata);
|
|
8749
8169
|
function createResourceParams$3(config) {
|
|
8750
8170
|
const resourceParams = {
|
|
8751
8171
|
urlParams: {
|
|
@@ -8815,21 +8235,7 @@ function buildNetworkSnapshot$3(luvio, config, options) {
|
|
|
8815
8235
|
});
|
|
8816
8236
|
}
|
|
8817
8237
|
function buildNetworkSnapshotCachePolicy$1(context, coercedAdapterRequestContext) {
|
|
8818
|
-
|
|
8819
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
8820
|
-
const dispatchOptions = {
|
|
8821
|
-
resourceRequestContext: {
|
|
8822
|
-
requestCorrelator,
|
|
8823
|
-
luvioRequestMethod: undefined,
|
|
8824
|
-
},
|
|
8825
|
-
eventObservers
|
|
8826
|
-
};
|
|
8827
|
-
if (networkPriority !== 'normal') {
|
|
8828
|
-
dispatchOptions.overrides = {
|
|
8829
|
-
priority: networkPriority
|
|
8830
|
-
};
|
|
8831
|
-
}
|
|
8832
|
-
return buildNetworkSnapshot$3(luvio, config, dispatchOptions);
|
|
8238
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot$3, undefined, false);
|
|
8833
8239
|
}
|
|
8834
8240
|
function buildCachedSnapshotCachePolicy$1(context, storeLookup) {
|
|
8835
8241
|
const { luvio, config } = context;
|
|
@@ -9096,26 +8502,8 @@ const ingest$1 = function ManagedContentV2JobRepresentationIngest(input, path, l
|
|
|
9096
8502
|
}
|
|
9097
8503
|
}
|
|
9098
8504
|
const key = keyBuilderFromType(luvio, input);
|
|
9099
|
-
const existingRecord = store.readEntry(key);
|
|
9100
8505
|
const ttlToUse = TTL$1;
|
|
9101
|
-
|
|
9102
|
-
fullPath: key,
|
|
9103
|
-
parent: path.parent,
|
|
9104
|
-
propertyName: path.propertyName,
|
|
9105
|
-
ttl: ttlToUse
|
|
9106
|
-
});
|
|
9107
|
-
if (existingRecord === undefined || equals$2(existingRecord, incomingRecord) === false) {
|
|
9108
|
-
luvio.storePublish(key, incomingRecord);
|
|
9109
|
-
}
|
|
9110
|
-
{
|
|
9111
|
-
const storeMetadataParams = {
|
|
9112
|
-
ttl: ttlToUse,
|
|
9113
|
-
namespace: "CMSAuthoring",
|
|
9114
|
-
version: VERSION$2,
|
|
9115
|
-
representationName: RepresentationType$1,
|
|
9116
|
-
};
|
|
9117
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
9118
|
-
}
|
|
8506
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "CMSAuthoring", VERSION$2, RepresentationType$1, equals$2);
|
|
9119
8507
|
return createLink(key);
|
|
9120
8508
|
};
|
|
9121
8509
|
function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -9165,13 +8553,12 @@ function createResourceRequest$2(config) {
|
|
|
9165
8553
|
};
|
|
9166
8554
|
}
|
|
9167
8555
|
|
|
9168
|
-
const
|
|
9169
|
-
|
|
9170
|
-
|
|
9171
|
-
|
|
9172
|
-
|
|
9173
|
-
|
|
9174
|
-
};
|
|
8556
|
+
const adapterName$2 = 'createManagedContentExportV2Job';
|
|
8557
|
+
const createManagedContentExportV2Job_ConfigPropertyMetadata = [
|
|
8558
|
+
generateParamConfigMetadata('contentSpaceId', true),
|
|
8559
|
+
generateParamConfigMetadata('managedContentV2JobRequest', true),
|
|
8560
|
+
];
|
|
8561
|
+
const createManagedContentExportV2Job_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, createManagedContentExportV2Job_ConfigPropertyMetadata);
|
|
9175
8562
|
function createResourceParams$2(config) {
|
|
9176
8563
|
const resourceParams = {
|
|
9177
8564
|
urlParams: {
|
|
@@ -9298,13 +8685,12 @@ function createResourceRequest$1(config) {
|
|
|
9298
8685
|
};
|
|
9299
8686
|
}
|
|
9300
8687
|
|
|
9301
|
-
const
|
|
9302
|
-
|
|
9303
|
-
|
|
9304
|
-
|
|
9305
|
-
|
|
9306
|
-
|
|
9307
|
-
};
|
|
8688
|
+
const adapterName$1 = 'createManagedContentImportV2Job';
|
|
8689
|
+
const createManagedContentImportV2Job_ConfigPropertyMetadata = [
|
|
8690
|
+
generateParamConfigMetadata('contentSpaceId', true),
|
|
8691
|
+
generateParamConfigMetadata('managedContentV2JobRequest', true),
|
|
8692
|
+
];
|
|
8693
|
+
const createManagedContentImportV2Job_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, createManagedContentImportV2Job_ConfigPropertyMetadata);
|
|
9308
8694
|
function createResourceParams$1(config) {
|
|
9309
8695
|
const resourceParams = {
|
|
9310
8696
|
urlParams: {
|
|
@@ -9528,26 +8914,8 @@ const ingest = function ManagedContentPreviewCollectionRepresentationIngest(inpu
|
|
|
9528
8914
|
}
|
|
9529
8915
|
}
|
|
9530
8916
|
const key = path.fullPath;
|
|
9531
|
-
const existingRecord = store.readEntry(key);
|
|
9532
8917
|
const ttlToUse = TTL;
|
|
9533
|
-
|
|
9534
|
-
fullPath: key,
|
|
9535
|
-
parent: path.parent,
|
|
9536
|
-
propertyName: path.propertyName,
|
|
9537
|
-
ttl: ttlToUse
|
|
9538
|
-
});
|
|
9539
|
-
if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
|
|
9540
|
-
luvio.storePublish(key, incomingRecord);
|
|
9541
|
-
}
|
|
9542
|
-
{
|
|
9543
|
-
const storeMetadataParams = {
|
|
9544
|
-
ttl: ttlToUse,
|
|
9545
|
-
namespace: "CMSAuthoring",
|
|
9546
|
-
version: VERSION,
|
|
9547
|
-
representationName: RepresentationType,
|
|
9548
|
-
};
|
|
9549
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
9550
|
-
}
|
|
8918
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "CMSAuthoring", VERSION, RepresentationType, equals);
|
|
9551
8919
|
return createLink(key);
|
|
9552
8920
|
};
|
|
9553
8921
|
function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -9612,13 +8980,13 @@ function createResourceRequest(config) {
|
|
|
9612
8980
|
};
|
|
9613
8981
|
}
|
|
9614
8982
|
|
|
9615
|
-
const
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9621
|
-
|
|
8983
|
+
const adapterName = 'getManagedContentPreviews';
|
|
8984
|
+
const getManagedContentPreviews_ConfigPropertyMetadata = [
|
|
8985
|
+
generateParamConfigMetadata('contentSpaceId', true),
|
|
8986
|
+
generateParamConfigMetadata('isPreviewable', false),
|
|
8987
|
+
generateParamConfigMetadata('managedContentTypeName', false),
|
|
8988
|
+
];
|
|
8989
|
+
const getManagedContentPreviews_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getManagedContentPreviews_ConfigPropertyMetadata);
|
|
9622
8990
|
function createResourceParams(config) {
|
|
9623
8991
|
const resourceParams = {
|
|
9624
8992
|
urlParams: {
|
|
@@ -9689,21 +9057,7 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
9689
9057
|
});
|
|
9690
9058
|
}
|
|
9691
9059
|
function buildNetworkSnapshotCachePolicy(context, coercedAdapterRequestContext) {
|
|
9692
|
-
|
|
9693
|
-
const { networkPriority, requestCorrelator, eventObservers } = coercedAdapterRequestContext;
|
|
9694
|
-
const dispatchOptions = {
|
|
9695
|
-
resourceRequestContext: {
|
|
9696
|
-
requestCorrelator,
|
|
9697
|
-
luvioRequestMethod: undefined,
|
|
9698
|
-
},
|
|
9699
|
-
eventObservers
|
|
9700
|
-
};
|
|
9701
|
-
if (networkPriority !== 'normal') {
|
|
9702
|
-
dispatchOptions.overrides = {
|
|
9703
|
-
priority: networkPriority
|
|
9704
|
-
};
|
|
9705
|
-
}
|
|
9706
|
-
return buildNetworkSnapshot(luvio, config, dispatchOptions);
|
|
9060
|
+
return buildNetworkSnapshotCachePolicy$i(context, coercedAdapterRequestContext, buildNetworkSnapshot, undefined, false);
|
|
9707
9061
|
}
|
|
9708
9062
|
function buildCachedSnapshotCachePolicy(context, storeLookup) {
|
|
9709
9063
|
const { luvio, config } = context;
|