@salesforce/lds-adapters-cms-authoring 1.352.0 → 1.353.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 +307 -169
- package/dist/es/es2018/types/src/generated/types/ManagedContentProviderInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ManagedContentProviderInstanceInputRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ManagedContentProviderInstanceRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/ManagedContentProviderRepresentation.d.ts +14 -7
- package/package.json +4 -4
- package/sfdc/index.js +486 -348
- package/src/raml/api.raml +65 -6
|
@@ -93,8 +93,8 @@ function createLink(ref) {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
const VERSION$
|
|
97
|
-
function validate$
|
|
96
|
+
const VERSION$L = "7297fb0dbfe8f664d76179a65037c290";
|
|
97
|
+
function validate$1i(obj, path = 'ManagedContentTypeSummaryRepresentation') {
|
|
98
98
|
const v_error = (() => {
|
|
99
99
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
100
100
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -114,10 +114,10 @@ function validate$1h(obj, path = 'ManagedContentTypeSummaryRepresentation') {
|
|
|
114
114
|
})();
|
|
115
115
|
return v_error === undefined ? null : v_error;
|
|
116
116
|
}
|
|
117
|
-
const select$
|
|
117
|
+
const select$1v = function ManagedContentTypeSummaryRepresentationSelect() {
|
|
118
118
|
return {
|
|
119
119
|
kind: 'Fragment',
|
|
120
|
-
version: VERSION$
|
|
120
|
+
version: VERSION$L,
|
|
121
121
|
private: [],
|
|
122
122
|
selections: [
|
|
123
123
|
{
|
|
@@ -132,7 +132,7 @@ const select$1u = function ManagedContentTypeSummaryRepresentationSelect() {
|
|
|
132
132
|
]
|
|
133
133
|
};
|
|
134
134
|
};
|
|
135
|
-
function equals$
|
|
135
|
+
function equals$L(existing, incoming) {
|
|
136
136
|
const existing_fullyQualifiedName = existing.fullyQualifiedName;
|
|
137
137
|
const incoming_fullyQualifiedName = incoming.fullyQualifiedName;
|
|
138
138
|
if (!(existing_fullyQualifiedName === incoming_fullyQualifiedName)) {
|
|
@@ -154,8 +154,8 @@ function equals$K(existing, incoming) {
|
|
|
154
154
|
return true;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
const VERSION$
|
|
158
|
-
function validate$
|
|
157
|
+
const VERSION$K = "c30d880a3dba684a405d1cf961af2b76";
|
|
158
|
+
function validate$1h(obj, path = 'ManagedContentVariantSnapshotSummaryRepresentation') {
|
|
159
159
|
const v_error = (() => {
|
|
160
160
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
161
161
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -164,7 +164,7 @@ function validate$1g(obj, path = 'ManagedContentVariantSnapshotSummaryRepresenta
|
|
|
164
164
|
const path_contentType = path + '.contentType';
|
|
165
165
|
let obj_contentType_union0 = null;
|
|
166
166
|
const obj_contentType_union0_error = (() => {
|
|
167
|
-
const referencepath_contentTypeValidationError = validate$
|
|
167
|
+
const referencepath_contentTypeValidationError = validate$1i(obj_contentType, path_contentType);
|
|
168
168
|
if (referencepath_contentTypeValidationError !== null) {
|
|
169
169
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
170
170
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -322,11 +322,11 @@ function validate$1g(obj, path = 'ManagedContentVariantSnapshotSummaryRepresenta
|
|
|
322
322
|
})();
|
|
323
323
|
return v_error === undefined ? null : v_error;
|
|
324
324
|
}
|
|
325
|
-
const select$
|
|
326
|
-
const { selections: ManagedContentTypeSummaryRepresentation__selections, opaque: ManagedContentTypeSummaryRepresentation__opaque, } = select$
|
|
325
|
+
const select$1u = function ManagedContentVariantSnapshotSummaryRepresentationSelect() {
|
|
326
|
+
const { selections: ManagedContentTypeSummaryRepresentation__selections, opaque: ManagedContentTypeSummaryRepresentation__opaque, } = select$1v();
|
|
327
327
|
return {
|
|
328
328
|
kind: 'Fragment',
|
|
329
|
-
version: VERSION$
|
|
329
|
+
version: VERSION$K,
|
|
330
330
|
private: [],
|
|
331
331
|
selections: [
|
|
332
332
|
{
|
|
@@ -358,13 +358,13 @@ const select$1t = function ManagedContentVariantSnapshotSummaryRepresentationSel
|
|
|
358
358
|
]
|
|
359
359
|
};
|
|
360
360
|
};
|
|
361
|
-
function equals$
|
|
361
|
+
function equals$K(existing, incoming) {
|
|
362
362
|
const existing_contentType = existing.contentType;
|
|
363
363
|
const incoming_contentType = incoming.contentType;
|
|
364
364
|
if (!(existing_contentType === incoming_contentType
|
|
365
365
|
|| (existing_contentType != null &&
|
|
366
366
|
incoming_contentType != null &&
|
|
367
|
-
equals$
|
|
367
|
+
equals$L(existing_contentType, incoming_contentType)))) {
|
|
368
368
|
return false;
|
|
369
369
|
}
|
|
370
370
|
const existing_id = existing.id;
|
|
@@ -395,8 +395,8 @@ function equals$J(existing, incoming) {
|
|
|
395
395
|
return true;
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
-
const VERSION$
|
|
399
|
-
function validate$
|
|
398
|
+
const VERSION$J = "f99d45f1e809783023bfd9dbe2fe4a6c";
|
|
399
|
+
function validate$1g(obj, path = 'ManagedContentDeploymentItemRepresentation') {
|
|
400
400
|
const v_error = (() => {
|
|
401
401
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
402
402
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -423,7 +423,7 @@ function validate$1f(obj, path = 'ManagedContentDeploymentItemRepresentation') {
|
|
|
423
423
|
}
|
|
424
424
|
const obj_mcvSnapshotSummary = obj.mcvSnapshotSummary;
|
|
425
425
|
const path_mcvSnapshotSummary = path + '.mcvSnapshotSummary';
|
|
426
|
-
const referencepath_mcvSnapshotSummaryValidationError = validate$
|
|
426
|
+
const referencepath_mcvSnapshotSummaryValidationError = validate$1h(obj_mcvSnapshotSummary, path_mcvSnapshotSummary);
|
|
427
427
|
if (referencepath_mcvSnapshotSummaryValidationError !== null) {
|
|
428
428
|
let message = 'Object doesn\'t match ManagedContentVariantSnapshotSummaryRepresentation (at "' + path_mcvSnapshotSummary + '")\n';
|
|
429
429
|
message += referencepath_mcvSnapshotSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -489,11 +489,11 @@ function validate$1f(obj, path = 'ManagedContentDeploymentItemRepresentation') {
|
|
|
489
489
|
})();
|
|
490
490
|
return v_error === undefined ? null : v_error;
|
|
491
491
|
}
|
|
492
|
-
const select$
|
|
493
|
-
const { selections: ManagedContentVariantSnapshotSummaryRepresentation__selections, opaque: ManagedContentVariantSnapshotSummaryRepresentation__opaque, } = select$
|
|
492
|
+
const select$1t = function ManagedContentDeploymentItemRepresentationSelect() {
|
|
493
|
+
const { selections: ManagedContentVariantSnapshotSummaryRepresentation__selections, opaque: ManagedContentVariantSnapshotSummaryRepresentation__opaque, } = select$1u();
|
|
494
494
|
return {
|
|
495
495
|
kind: 'Fragment',
|
|
496
|
-
version: VERSION$
|
|
496
|
+
version: VERSION$J,
|
|
497
497
|
private: [],
|
|
498
498
|
selections: [
|
|
499
499
|
{
|
|
@@ -532,7 +532,7 @@ const select$1s = function ManagedContentDeploymentItemRepresentationSelect() {
|
|
|
532
532
|
]
|
|
533
533
|
};
|
|
534
534
|
};
|
|
535
|
-
function equals$
|
|
535
|
+
function equals$J(existing, incoming) {
|
|
536
536
|
const existing_isTopLevel = existing.isTopLevel;
|
|
537
537
|
const incoming_isTopLevel = incoming.isTopLevel;
|
|
538
538
|
if (!(existing_isTopLevel === incoming_isTopLevel)) {
|
|
@@ -560,7 +560,7 @@ function equals$I(existing, incoming) {
|
|
|
560
560
|
}
|
|
561
561
|
const existing_mcvSnapshotSummary = existing.mcvSnapshotSummary;
|
|
562
562
|
const incoming_mcvSnapshotSummary = incoming.mcvSnapshotSummary;
|
|
563
|
-
if (!(equals$
|
|
563
|
+
if (!(equals$K(existing_mcvSnapshotSummary, incoming_mcvSnapshotSummary))) {
|
|
564
564
|
return false;
|
|
565
565
|
}
|
|
566
566
|
const existing_targetId = existing.targetId;
|
|
@@ -576,8 +576,8 @@ function equals$I(existing, incoming) {
|
|
|
576
576
|
return true;
|
|
577
577
|
}
|
|
578
578
|
|
|
579
|
-
const VERSION$
|
|
580
|
-
function validate$
|
|
579
|
+
const VERSION$I = "4b75ed6ff448da86412b605f7e775a62";
|
|
580
|
+
function validate$1f(obj, path = 'ManagedContentUserSummaryRepresentation') {
|
|
581
581
|
const v_error = (() => {
|
|
582
582
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
583
583
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -602,10 +602,10 @@ function validate$1e(obj, path = 'ManagedContentUserSummaryRepresentation') {
|
|
|
602
602
|
})();
|
|
603
603
|
return v_error === undefined ? null : v_error;
|
|
604
604
|
}
|
|
605
|
-
const select$
|
|
605
|
+
const select$1s = function ManagedContentUserSummaryRepresentationSelect() {
|
|
606
606
|
return {
|
|
607
607
|
kind: 'Fragment',
|
|
608
|
-
version: VERSION$
|
|
608
|
+
version: VERSION$I,
|
|
609
609
|
private: [],
|
|
610
610
|
selections: [
|
|
611
611
|
{
|
|
@@ -624,7 +624,7 @@ const select$1r = function ManagedContentUserSummaryRepresentationSelect() {
|
|
|
624
624
|
]
|
|
625
625
|
};
|
|
626
626
|
};
|
|
627
|
-
function equals$
|
|
627
|
+
function equals$I(existing, incoming) {
|
|
628
628
|
const existing_id = existing.id;
|
|
629
629
|
const incoming_id = incoming.id;
|
|
630
630
|
if (!(existing_id === incoming_id)) {
|
|
@@ -652,8 +652,8 @@ function equals$H(existing, incoming) {
|
|
|
652
652
|
}
|
|
653
653
|
|
|
654
654
|
const TTL$B = 100;
|
|
655
|
-
const VERSION$
|
|
656
|
-
function validate$
|
|
655
|
+
const VERSION$H = "f7e3c655efe77a7c9968ade15a6029b1";
|
|
656
|
+
function validate$1e(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
657
657
|
const v_error = (() => {
|
|
658
658
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
659
659
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -723,7 +723,7 @@ function validate$1d(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
|
723
723
|
for (let i = 0; i < obj_deploymentItems.length; i++) {
|
|
724
724
|
const obj_deploymentItems_item = obj_deploymentItems[i];
|
|
725
725
|
const path_deploymentItems_item = path_deploymentItems + '[' + i + ']';
|
|
726
|
-
const referencepath_deploymentItems_itemValidationError = validate$
|
|
726
|
+
const referencepath_deploymentItems_itemValidationError = validate$1g(obj_deploymentItems_item, path_deploymentItems_item);
|
|
727
727
|
if (referencepath_deploymentItems_itemValidationError !== null) {
|
|
728
728
|
let message = 'Object doesn\'t match ManagedContentDeploymentItemRepresentation (at "' + path_deploymentItems_item + '")\n';
|
|
729
729
|
message += referencepath_deploymentItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -786,7 +786,7 @@ function validate$1d(obj, path = 'ManagedContentDeploymentRepresentation') {
|
|
|
786
786
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
787
787
|
let obj_lastModifiedBy_union0 = null;
|
|
788
788
|
const obj_lastModifiedBy_union0_error = (() => {
|
|
789
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
789
|
+
const referencepath_lastModifiedByValidationError = validate$1f(obj_lastModifiedBy, path_lastModifiedBy);
|
|
790
790
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
791
791
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
792
792
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -853,12 +853,12 @@ function keyBuilderFromType$i(luvio, object) {
|
|
|
853
853
|
function normalize$B(input, existing, path, luvio, store, timestamp) {
|
|
854
854
|
return input;
|
|
855
855
|
}
|
|
856
|
-
const select$
|
|
857
|
-
const { selections: ManagedContentDeploymentItemRepresentation__selections, opaque: ManagedContentDeploymentItemRepresentation__opaque, } = select$
|
|
858
|
-
const { selections: ManagedContentUserSummaryRepresentation__selections, opaque: ManagedContentUserSummaryRepresentation__opaque, } = select$
|
|
856
|
+
const select$1r = function ManagedContentDeploymentRepresentationSelect() {
|
|
857
|
+
const { selections: ManagedContentDeploymentItemRepresentation__selections, opaque: ManagedContentDeploymentItemRepresentation__opaque, } = select$1t();
|
|
858
|
+
const { selections: ManagedContentUserSummaryRepresentation__selections, opaque: ManagedContentUserSummaryRepresentation__opaque, } = select$1s();
|
|
859
859
|
return {
|
|
860
860
|
kind: 'Fragment',
|
|
861
|
-
version: VERSION$
|
|
861
|
+
version: VERSION$H,
|
|
862
862
|
private: [],
|
|
863
863
|
selections: [
|
|
864
864
|
{
|
|
@@ -900,7 +900,7 @@ const select$1q = function ManagedContentDeploymentRepresentationSelect() {
|
|
|
900
900
|
]
|
|
901
901
|
};
|
|
902
902
|
};
|
|
903
|
-
function equals$
|
|
903
|
+
function equals$H(existing, incoming) {
|
|
904
904
|
const existing_deploymentId = existing.deploymentId;
|
|
905
905
|
const incoming_deploymentId = incoming.deploymentId;
|
|
906
906
|
if (!(existing_deploymentId === incoming_deploymentId)) {
|
|
@@ -919,7 +919,7 @@ function equals$G(existing, incoming) {
|
|
|
919
919
|
const existing_deploymentItems = existing.deploymentItems;
|
|
920
920
|
const incoming_deploymentItems = incoming.deploymentItems;
|
|
921
921
|
const equals_deploymentItems_items = equalsArray(existing_deploymentItems, incoming_deploymentItems, (existing_deploymentItems_item, incoming_deploymentItems_item) => {
|
|
922
|
-
if (!(equals$
|
|
922
|
+
if (!(equals$J(existing_deploymentItems_item, incoming_deploymentItems_item))) {
|
|
923
923
|
return false;
|
|
924
924
|
}
|
|
925
925
|
});
|
|
@@ -941,7 +941,7 @@ function equals$G(existing, incoming) {
|
|
|
941
941
|
if (!(existing_lastModifiedBy === incoming_lastModifiedBy
|
|
942
942
|
|| (existing_lastModifiedBy != null &&
|
|
943
943
|
incoming_lastModifiedBy != null &&
|
|
944
|
-
equals$
|
|
944
|
+
equals$I(existing_lastModifiedBy, incoming_lastModifiedBy)))) {
|
|
945
945
|
return false;
|
|
946
946
|
}
|
|
947
947
|
const existing_scheduledDate = existing.scheduledDate;
|
|
@@ -953,14 +953,14 @@ function equals$G(existing, incoming) {
|
|
|
953
953
|
}
|
|
954
954
|
const ingest$B = function ManagedContentDeploymentRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
955
955
|
if (process.env.NODE_ENV !== 'production') {
|
|
956
|
-
const validateError = validate$
|
|
956
|
+
const validateError = validate$1e(input);
|
|
957
957
|
if (validateError !== null) {
|
|
958
958
|
throw validateError;
|
|
959
959
|
}
|
|
960
960
|
}
|
|
961
961
|
const key = keyBuilderFromType$i(luvio, input);
|
|
962
962
|
const ttlToUse = TTL$B;
|
|
963
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$B, "CMSAuthoring", VERSION$
|
|
963
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$B, "CMSAuthoring", VERSION$H, RepresentationType$B, equals$H);
|
|
964
964
|
return createLink(key);
|
|
965
965
|
};
|
|
966
966
|
function getTypeCacheKeys$B(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -974,8 +974,8 @@ function getTypeCacheKeys$B(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
974
974
|
}
|
|
975
975
|
|
|
976
976
|
const TTL$A = 100;
|
|
977
|
-
const VERSION$
|
|
978
|
-
function validate$
|
|
977
|
+
const VERSION$G = "b2c15aa80814ecd854e68bf635879e35";
|
|
978
|
+
function validate$1d(obj, path = 'ManagedContentDeploymentCollectionRepresentation') {
|
|
979
979
|
const v_error = (() => {
|
|
980
980
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
981
981
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1072,10 +1072,10 @@ function normalize$A(input, existing, path, luvio, store, timestamp) {
|
|
|
1072
1072
|
}
|
|
1073
1073
|
return input;
|
|
1074
1074
|
}
|
|
1075
|
-
const select$
|
|
1075
|
+
const select$1q = function ManagedContentDeploymentCollectionRepresentationSelect() {
|
|
1076
1076
|
return {
|
|
1077
1077
|
kind: 'Fragment',
|
|
1078
|
-
version: VERSION$
|
|
1078
|
+
version: VERSION$G,
|
|
1079
1079
|
private: [],
|
|
1080
1080
|
selections: [
|
|
1081
1081
|
{
|
|
@@ -1086,7 +1086,7 @@ const select$1p = function ManagedContentDeploymentCollectionRepresentationSelec
|
|
|
1086
1086
|
name: 'deployments',
|
|
1087
1087
|
kind: 'Link',
|
|
1088
1088
|
plural: true,
|
|
1089
|
-
fragment: select$
|
|
1089
|
+
fragment: select$1r()
|
|
1090
1090
|
},
|
|
1091
1091
|
{
|
|
1092
1092
|
name: 'nextPageUrl',
|
|
@@ -1099,7 +1099,7 @@ const select$1p = function ManagedContentDeploymentCollectionRepresentationSelec
|
|
|
1099
1099
|
]
|
|
1100
1100
|
};
|
|
1101
1101
|
};
|
|
1102
|
-
function equals$
|
|
1102
|
+
function equals$G(existing, incoming) {
|
|
1103
1103
|
const existing_currentPageUrl = existing.currentPageUrl;
|
|
1104
1104
|
const incoming_currentPageUrl = incoming.currentPageUrl;
|
|
1105
1105
|
if (!(existing_currentPageUrl === incoming_currentPageUrl)) {
|
|
@@ -1129,14 +1129,14 @@ function equals$F(existing, incoming) {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
const ingest$A = function ManagedContentDeploymentCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1131
1131
|
if (process.env.NODE_ENV !== 'production') {
|
|
1132
|
-
const validateError = validate$
|
|
1132
|
+
const validateError = validate$1d(input);
|
|
1133
1133
|
if (validateError !== null) {
|
|
1134
1134
|
throw validateError;
|
|
1135
1135
|
}
|
|
1136
1136
|
}
|
|
1137
1137
|
const key = path.fullPath;
|
|
1138
1138
|
const ttlToUse = TTL$A;
|
|
1139
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$A, "CMSAuthoring", VERSION$
|
|
1139
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$A, "CMSAuthoring", VERSION$G, RepresentationType$A, equals$G);
|
|
1140
1140
|
return createLink(key);
|
|
1141
1141
|
};
|
|
1142
1142
|
function getTypeCacheKeys$A(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1153,8 +1153,8 @@ function getTypeCacheKeys$A(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1153
1153
|
}
|
|
1154
1154
|
}
|
|
1155
1155
|
|
|
1156
|
-
function select$
|
|
1157
|
-
return select$
|
|
1156
|
+
function select$1p(luvio, params) {
|
|
1157
|
+
return select$1q();
|
|
1158
1158
|
}
|
|
1159
1159
|
function keyBuilder$1a(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 + ')';
|
|
@@ -1168,7 +1168,7 @@ function ingestSuccess$N(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1168
1168
|
luvio.storeIngest(key, ingest$A, body);
|
|
1169
1169
|
const snapshot = luvio.storeLookup({
|
|
1170
1170
|
recordId: key,
|
|
1171
|
-
node: select$
|
|
1171
|
+
node: select$1p(),
|
|
1172
1172
|
variables: {},
|
|
1173
1173
|
}, snapshotRefresh);
|
|
1174
1174
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1185,7 +1185,7 @@ function ingestError$r(luvio, params, error, snapshotRefresh) {
|
|
|
1185
1185
|
const storeMetadataParams = {
|
|
1186
1186
|
ttl: TTL$A,
|
|
1187
1187
|
namespace: keyPrefix,
|
|
1188
|
-
version: VERSION$
|
|
1188
|
+
version: VERSION$G,
|
|
1189
1189
|
representationName: RepresentationType$A
|
|
1190
1190
|
};
|
|
1191
1191
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -1254,7 +1254,7 @@ function validateAdapterConfig$M(untrustedConfig, configPropertyNames) {
|
|
|
1254
1254
|
}
|
|
1255
1255
|
function adapterFragment$r(luvio, config) {
|
|
1256
1256
|
createResourceParams$M(config);
|
|
1257
|
-
return select$
|
|
1257
|
+
return select$1p();
|
|
1258
1258
|
}
|
|
1259
1259
|
function onFetchResponseSuccess$t(luvio, config, resourceParams, response) {
|
|
1260
1260
|
const snapshot = ingestSuccess$N(luvio, resourceParams, response, {
|
|
@@ -1310,7 +1310,7 @@ const getDeploymentsAdapterFactory = (luvio) => function CMSAuthoring__getDeploy
|
|
|
1310
1310
|
buildCachedSnapshotCachePolicy$r, buildNetworkSnapshotCachePolicy$r);
|
|
1311
1311
|
};
|
|
1312
1312
|
|
|
1313
|
-
function validate$
|
|
1313
|
+
function validate$1c(obj, path = 'ManagedContentDeploymentInputRepresentation') {
|
|
1314
1314
|
const v_error = (() => {
|
|
1315
1315
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1316
1316
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1394,8 +1394,8 @@ function validate$1b(obj, path = 'ManagedContentDeploymentInputRepresentation')
|
|
|
1394
1394
|
return v_error === undefined ? null : v_error;
|
|
1395
1395
|
}
|
|
1396
1396
|
|
|
1397
|
-
function select$
|
|
1398
|
-
return select$
|
|
1397
|
+
function select$1o(luvio, params) {
|
|
1398
|
+
return select$1r();
|
|
1399
1399
|
}
|
|
1400
1400
|
function getResponseCacheKeys$L(storeKeyMap, luvio, resourceParams, response) {
|
|
1401
1401
|
getTypeCacheKeys$B(storeKeyMap, luvio, response);
|
|
@@ -1406,7 +1406,7 @@ function ingestSuccess$M(luvio, resourceParams, response) {
|
|
|
1406
1406
|
luvio.storeIngest(key, ingest$B, body);
|
|
1407
1407
|
const snapshot = luvio.storeLookup({
|
|
1408
1408
|
recordId: key,
|
|
1409
|
-
node: select$
|
|
1409
|
+
node: select$1o(),
|
|
1410
1410
|
variables: {},
|
|
1411
1411
|
});
|
|
1412
1412
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -1440,7 +1440,7 @@ const createResourceParams$L = /*#__PURE__*/ createResourceParams$N(createDeploy
|
|
|
1440
1440
|
function typeCheckConfig$L(untrustedConfig) {
|
|
1441
1441
|
const config = {};
|
|
1442
1442
|
const untrustedConfig_DeploymentInput = untrustedConfig.DeploymentInput;
|
|
1443
|
-
const referenceManagedContentDeploymentInputRepresentationValidationError = validate$
|
|
1443
|
+
const referenceManagedContentDeploymentInputRepresentationValidationError = validate$1c(untrustedConfig_DeploymentInput);
|
|
1444
1444
|
if (referenceManagedContentDeploymentInputRepresentationValidationError === null) {
|
|
1445
1445
|
config.DeploymentInput = untrustedConfig_DeploymentInput;
|
|
1446
1446
|
}
|
|
@@ -1488,8 +1488,8 @@ const createDeploymentAdapterFactory = (luvio) => {
|
|
|
1488
1488
|
};
|
|
1489
1489
|
};
|
|
1490
1490
|
|
|
1491
|
-
const VERSION$
|
|
1492
|
-
function validate$
|
|
1491
|
+
const VERSION$F = "7e57fd77c4503be9a8822f2603a04df3";
|
|
1492
|
+
function validate$1b(obj, path = 'ManagedContentJobBodyRepresentation') {
|
|
1493
1493
|
const v_error = (() => {
|
|
1494
1494
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1495
1495
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1517,10 +1517,10 @@ function validate$1a(obj, path = 'ManagedContentJobBodyRepresentation') {
|
|
|
1517
1517
|
})();
|
|
1518
1518
|
return v_error === undefined ? null : v_error;
|
|
1519
1519
|
}
|
|
1520
|
-
const select$
|
|
1520
|
+
const select$1n = function ManagedContentJobBodyRepresentationSelect() {
|
|
1521
1521
|
return {
|
|
1522
1522
|
kind: 'Fragment',
|
|
1523
|
-
version: VERSION$
|
|
1523
|
+
version: VERSION$F,
|
|
1524
1524
|
private: [],
|
|
1525
1525
|
selections: [
|
|
1526
1526
|
{
|
|
@@ -1542,7 +1542,7 @@ const select$1m = function ManagedContentJobBodyRepresentationSelect() {
|
|
|
1542
1542
|
]
|
|
1543
1543
|
};
|
|
1544
1544
|
};
|
|
1545
|
-
function equals$
|
|
1545
|
+
function equals$F(existing, incoming) {
|
|
1546
1546
|
const existing_bodyType = existing.bodyType;
|
|
1547
1547
|
const incoming_bodyType = incoming.bodyType;
|
|
1548
1548
|
if (!(existing_bodyType === incoming_bodyType)) {
|
|
@@ -1566,8 +1566,8 @@ function equals$E(existing, incoming) {
|
|
|
1566
1566
|
return true;
|
|
1567
1567
|
}
|
|
1568
1568
|
|
|
1569
|
-
const VERSION$
|
|
1570
|
-
function validate$
|
|
1569
|
+
const VERSION$E = "eba1876bba76cb05d9cbb8a968bd6796";
|
|
1570
|
+
function validate$1a(obj, path = 'ManagedContentJobBodyCollectionRepresentation') {
|
|
1571
1571
|
const v_error = (() => {
|
|
1572
1572
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1573
1573
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1580,7 +1580,7 @@ function validate$19(obj, path = 'ManagedContentJobBodyCollectionRepresentation'
|
|
|
1580
1580
|
for (let i = 0; i < obj_jobBodies.length; i++) {
|
|
1581
1581
|
const obj_jobBodies_item = obj_jobBodies[i];
|
|
1582
1582
|
const path_jobBodies_item = path_jobBodies + '[' + i + ']';
|
|
1583
|
-
const referencepath_jobBodies_itemValidationError = validate$
|
|
1583
|
+
const referencepath_jobBodies_itemValidationError = validate$1b(obj_jobBodies_item, path_jobBodies_item);
|
|
1584
1584
|
if (referencepath_jobBodies_itemValidationError !== null) {
|
|
1585
1585
|
let message = 'Object doesn\'t match ManagedContentJobBodyRepresentation (at "' + path_jobBodies_item + '")\n';
|
|
1586
1586
|
message += referencepath_jobBodies_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1590,11 +1590,11 @@ function validate$19(obj, path = 'ManagedContentJobBodyCollectionRepresentation'
|
|
|
1590
1590
|
})();
|
|
1591
1591
|
return v_error === undefined ? null : v_error;
|
|
1592
1592
|
}
|
|
1593
|
-
const select$
|
|
1594
|
-
const { selections: ManagedContentJobBodyRepresentation__selections, opaque: ManagedContentJobBodyRepresentation__opaque, } = select$
|
|
1593
|
+
const select$1m = function ManagedContentJobBodyCollectionRepresentationSelect() {
|
|
1594
|
+
const { selections: ManagedContentJobBodyRepresentation__selections, opaque: ManagedContentJobBodyRepresentation__opaque, } = select$1n();
|
|
1595
1595
|
return {
|
|
1596
1596
|
kind: 'Fragment',
|
|
1597
|
-
version: VERSION$
|
|
1597
|
+
version: VERSION$E,
|
|
1598
1598
|
private: [],
|
|
1599
1599
|
selections: [
|
|
1600
1600
|
{
|
|
@@ -1606,11 +1606,11 @@ const select$1l = function ManagedContentJobBodyCollectionRepresentationSelect()
|
|
|
1606
1606
|
]
|
|
1607
1607
|
};
|
|
1608
1608
|
};
|
|
1609
|
-
function equals$
|
|
1609
|
+
function equals$E(existing, incoming) {
|
|
1610
1610
|
const existing_jobBodies = existing.jobBodies;
|
|
1611
1611
|
const incoming_jobBodies = incoming.jobBodies;
|
|
1612
1612
|
const equals_jobBodies_items = equalsArray(existing_jobBodies, incoming_jobBodies, (existing_jobBodies_item, incoming_jobBodies_item) => {
|
|
1613
|
-
if (!(equals$
|
|
1613
|
+
if (!(equals$F(existing_jobBodies_item, incoming_jobBodies_item))) {
|
|
1614
1614
|
return false;
|
|
1615
1615
|
}
|
|
1616
1616
|
});
|
|
@@ -1621,8 +1621,8 @@ function equals$D(existing, incoming) {
|
|
|
1621
1621
|
}
|
|
1622
1622
|
|
|
1623
1623
|
const TTL$z = 100;
|
|
1624
|
-
const VERSION$
|
|
1625
|
-
function validate$
|
|
1624
|
+
const VERSION$D = "9c2de7843d4d4e7784d56c7f83c58f0e";
|
|
1625
|
+
function validate$19(obj, path = 'ManagedContentV2JobDetailRepresentation') {
|
|
1626
1626
|
const v_error = (() => {
|
|
1627
1627
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1628
1628
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1631,7 +1631,7 @@ function validate$18(obj, path = 'ManagedContentV2JobDetailRepresentation') {
|
|
|
1631
1631
|
const path_body = path + '.body';
|
|
1632
1632
|
let obj_body_union0 = null;
|
|
1633
1633
|
const obj_body_union0_error = (() => {
|
|
1634
|
-
const referencepath_bodyValidationError = validate$
|
|
1634
|
+
const referencepath_bodyValidationError = validate$1a(obj_body, path_body);
|
|
1635
1635
|
if (referencepath_bodyValidationError !== null) {
|
|
1636
1636
|
let message = 'Object doesn\'t match ManagedContentJobBodyCollectionRepresentation (at "' + path_body + '")\n';
|
|
1637
1637
|
message += referencepath_bodyValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1738,11 +1738,11 @@ function keyBuilderFromType$h(luvio, object) {
|
|
|
1738
1738
|
function normalize$z(input, existing, path, luvio, store, timestamp) {
|
|
1739
1739
|
return input;
|
|
1740
1740
|
}
|
|
1741
|
-
const select$
|
|
1742
|
-
const { selections: ManagedContentJobBodyCollectionRepresentation__selections, opaque: ManagedContentJobBodyCollectionRepresentation__opaque, } = select$
|
|
1741
|
+
const select$1l = function ManagedContentV2JobDetailRepresentationSelect() {
|
|
1742
|
+
const { selections: ManagedContentJobBodyCollectionRepresentation__selections, opaque: ManagedContentJobBodyCollectionRepresentation__opaque, } = select$1m();
|
|
1743
1743
|
return {
|
|
1744
1744
|
kind: 'Fragment',
|
|
1745
|
-
version: VERSION$
|
|
1745
|
+
version: VERSION$D,
|
|
1746
1746
|
private: [],
|
|
1747
1747
|
selections: [
|
|
1748
1748
|
{
|
|
@@ -1790,7 +1790,7 @@ const select$1k = function ManagedContentV2JobDetailRepresentationSelect() {
|
|
|
1790
1790
|
]
|
|
1791
1791
|
};
|
|
1792
1792
|
};
|
|
1793
|
-
function equals$
|
|
1793
|
+
function equals$D(existing, incoming) {
|
|
1794
1794
|
const existing_createdById = existing.createdById;
|
|
1795
1795
|
const incoming_createdById = incoming.createdById;
|
|
1796
1796
|
if (!(existing_createdById === incoming_createdById)) {
|
|
@@ -1836,7 +1836,7 @@ function equals$C(existing, incoming) {
|
|
|
1836
1836
|
if (!(existing_body === incoming_body
|
|
1837
1837
|
|| (existing_body != null &&
|
|
1838
1838
|
incoming_body != null &&
|
|
1839
|
-
equals$
|
|
1839
|
+
equals$E(existing_body, incoming_body)))) {
|
|
1840
1840
|
return false;
|
|
1841
1841
|
}
|
|
1842
1842
|
const existing_createdDate = existing.createdDate;
|
|
@@ -1848,14 +1848,14 @@ function equals$C(existing, incoming) {
|
|
|
1848
1848
|
}
|
|
1849
1849
|
const ingest$z = function ManagedContentV2JobDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1850
1850
|
if (process.env.NODE_ENV !== 'production') {
|
|
1851
|
-
const validateError = validate$
|
|
1851
|
+
const validateError = validate$19(input);
|
|
1852
1852
|
if (validateError !== null) {
|
|
1853
1853
|
throw validateError;
|
|
1854
1854
|
}
|
|
1855
1855
|
}
|
|
1856
1856
|
const key = keyBuilderFromType$h(luvio, input);
|
|
1857
1857
|
const ttlToUse = TTL$z;
|
|
1858
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$z, "CMSAuthoring", VERSION$
|
|
1858
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$z, "CMSAuthoring", VERSION$D, RepresentationType$z, equals$D);
|
|
1859
1859
|
return createLink(key);
|
|
1860
1860
|
};
|
|
1861
1861
|
function getTypeCacheKeys$z(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1869,8 +1869,8 @@ function getTypeCacheKeys$z(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1869
1869
|
}
|
|
1870
1870
|
|
|
1871
1871
|
const TTL$y = 100;
|
|
1872
|
-
const VERSION$
|
|
1873
|
-
function validate$
|
|
1872
|
+
const VERSION$C = "75cfd71e168144693d36fa16f7d8f4d0";
|
|
1873
|
+
function validate$18(obj, path = 'ManagedContentJobCollectionRepresentation') {
|
|
1874
1874
|
const v_error = (() => {
|
|
1875
1875
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1876
1876
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1967,10 +1967,10 @@ function normalize$y(input, existing, path, luvio, store, timestamp) {
|
|
|
1967
1967
|
}
|
|
1968
1968
|
return input;
|
|
1969
1969
|
}
|
|
1970
|
-
const select$
|
|
1970
|
+
const select$1k = function ManagedContentJobCollectionRepresentationSelect() {
|
|
1971
1971
|
return {
|
|
1972
1972
|
kind: 'Fragment',
|
|
1973
|
-
version: VERSION$
|
|
1973
|
+
version: VERSION$C,
|
|
1974
1974
|
private: [],
|
|
1975
1975
|
selections: [
|
|
1976
1976
|
{
|
|
@@ -1981,7 +1981,7 @@ const select$1j = function ManagedContentJobCollectionRepresentationSelect() {
|
|
|
1981
1981
|
name: 'jobs',
|
|
1982
1982
|
kind: 'Link',
|
|
1983
1983
|
plural: true,
|
|
1984
|
-
fragment: select$
|
|
1984
|
+
fragment: select$1l()
|
|
1985
1985
|
},
|
|
1986
1986
|
{
|
|
1987
1987
|
name: 'nextPageUrl',
|
|
@@ -1994,7 +1994,7 @@ const select$1j = function ManagedContentJobCollectionRepresentationSelect() {
|
|
|
1994
1994
|
]
|
|
1995
1995
|
};
|
|
1996
1996
|
};
|
|
1997
|
-
function equals$
|
|
1997
|
+
function equals$C(existing, incoming) {
|
|
1998
1998
|
const existing_currentPageUrl = existing.currentPageUrl;
|
|
1999
1999
|
const incoming_currentPageUrl = incoming.currentPageUrl;
|
|
2000
2000
|
if (!(existing_currentPageUrl === incoming_currentPageUrl)) {
|
|
@@ -2024,14 +2024,14 @@ function equals$B(existing, incoming) {
|
|
|
2024
2024
|
}
|
|
2025
2025
|
const ingest$y = function ManagedContentJobCollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2026
2026
|
if (process.env.NODE_ENV !== 'production') {
|
|
2027
|
-
const validateError = validate$
|
|
2027
|
+
const validateError = validate$18(input);
|
|
2028
2028
|
if (validateError !== null) {
|
|
2029
2029
|
throw validateError;
|
|
2030
2030
|
}
|
|
2031
2031
|
}
|
|
2032
2032
|
const key = path.fullPath;
|
|
2033
2033
|
const ttlToUse = TTL$y;
|
|
2034
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$y, "CMSAuthoring", VERSION$
|
|
2034
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$y, "CMSAuthoring", VERSION$C, RepresentationType$y, equals$C);
|
|
2035
2035
|
return createLink(key);
|
|
2036
2036
|
};
|
|
2037
2037
|
function getTypeCacheKeys$y(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2048,8 +2048,8 @@ function getTypeCacheKeys$y(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2048
2048
|
}
|
|
2049
2049
|
}
|
|
2050
2050
|
|
|
2051
|
-
function select$
|
|
2052
|
-
return select$
|
|
2051
|
+
function select$1j(luvio, params) {
|
|
2052
|
+
return select$1k();
|
|
2053
2053
|
}
|
|
2054
2054
|
function keyBuilder$17(luvio, params) {
|
|
2055
2055
|
return keyPrefix + '::ManagedContentJobCollectionRepresentation:(' + 'jobType:' + params.queryParams.jobType + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'contentSpaceId:' + params.urlParams.contentSpaceId + ')';
|
|
@@ -2063,7 +2063,7 @@ function ingestSuccess$L(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2063
2063
|
luvio.storeIngest(key, ingest$y, body);
|
|
2064
2064
|
const snapshot = luvio.storeLookup({
|
|
2065
2065
|
recordId: key,
|
|
2066
|
-
node: select$
|
|
2066
|
+
node: select$1j(),
|
|
2067
2067
|
variables: {},
|
|
2068
2068
|
}, snapshotRefresh);
|
|
2069
2069
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2080,7 +2080,7 @@ function ingestError$q(luvio, params, error, snapshotRefresh) {
|
|
|
2080
2080
|
const storeMetadataParams = {
|
|
2081
2081
|
ttl: TTL$y,
|
|
2082
2082
|
namespace: keyPrefix,
|
|
2083
|
-
version: VERSION$
|
|
2083
|
+
version: VERSION$C,
|
|
2084
2084
|
representationName: RepresentationType$y
|
|
2085
2085
|
};
|
|
2086
2086
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -2133,7 +2133,7 @@ function validateAdapterConfig$K(untrustedConfig, configPropertyNames) {
|
|
|
2133
2133
|
}
|
|
2134
2134
|
function adapterFragment$q(luvio, config) {
|
|
2135
2135
|
createResourceParams$K(config);
|
|
2136
|
-
return select$
|
|
2136
|
+
return select$1j();
|
|
2137
2137
|
}
|
|
2138
2138
|
function onFetchResponseSuccess$s(luvio, config, resourceParams, response) {
|
|
2139
2139
|
const snapshot = ingestSuccess$L(luvio, resourceParams, response, {
|
|
@@ -2189,8 +2189,8 @@ const getAllCMSJobsForSpaceAdapterFactory = (luvio) => function CMSAuthoring__ge
|
|
|
2189
2189
|
buildCachedSnapshotCachePolicy$q, buildNetworkSnapshotCachePolicy$q);
|
|
2190
2190
|
};
|
|
2191
2191
|
|
|
2192
|
-
function select$
|
|
2193
|
-
return select$
|
|
2192
|
+
function select$1i(luvio, params) {
|
|
2193
|
+
return select$1l();
|
|
2194
2194
|
}
|
|
2195
2195
|
function keyBuilder$15(luvio, params) {
|
|
2196
2196
|
return keyBuilder$18(luvio, {
|
|
@@ -2206,7 +2206,7 @@ function ingestSuccess$K(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2206
2206
|
luvio.storeIngest(key, ingest$z, body);
|
|
2207
2207
|
const snapshot = luvio.storeLookup({
|
|
2208
2208
|
recordId: key,
|
|
2209
|
-
node: select$
|
|
2209
|
+
node: select$1i(),
|
|
2210
2210
|
variables: {},
|
|
2211
2211
|
}, snapshotRefresh);
|
|
2212
2212
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2223,7 +2223,7 @@ function ingestError$p(luvio, params, error, snapshotRefresh) {
|
|
|
2223
2223
|
const storeMetadataParams = {
|
|
2224
2224
|
ttl: TTL$z,
|
|
2225
2225
|
namespace: keyPrefix,
|
|
2226
|
-
version: VERSION$
|
|
2226
|
+
version: VERSION$D,
|
|
2227
2227
|
representationName: RepresentationType$z
|
|
2228
2228
|
};
|
|
2229
2229
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -2274,7 +2274,7 @@ function validateAdapterConfig$J(untrustedConfig, configPropertyNames) {
|
|
|
2274
2274
|
}
|
|
2275
2275
|
function adapterFragment$p(luvio, config) {
|
|
2276
2276
|
createResourceParams$J(config);
|
|
2277
|
-
return select$
|
|
2277
|
+
return select$1i();
|
|
2278
2278
|
}
|
|
2279
2279
|
function onFetchResponseSuccess$r(luvio, config, resourceParams, response) {
|
|
2280
2280
|
const snapshot = ingestSuccess$K(luvio, resourceParams, response, {
|
|
@@ -2330,7 +2330,7 @@ const getCMSJobForSpaceAdapterFactory = (luvio) => function CMSAuthoring__getCMS
|
|
|
2330
2330
|
buildCachedSnapshotCachePolicy$p, buildNetworkSnapshotCachePolicy$p);
|
|
2331
2331
|
};
|
|
2332
2332
|
|
|
2333
|
-
function validate$
|
|
2333
|
+
function validate$17(obj, path = 'ManagedContentSpaceFolderItemV1Representation') {
|
|
2334
2334
|
const v_error = (() => {
|
|
2335
2335
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2336
2336
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2419,8 +2419,8 @@ function validate$16(obj, path = 'ManagedContentSpaceFolderItemV1Representation'
|
|
|
2419
2419
|
}
|
|
2420
2420
|
|
|
2421
2421
|
const TTL$x = 100;
|
|
2422
|
-
const VERSION$
|
|
2423
|
-
function validate$
|
|
2422
|
+
const VERSION$B = "df1370994ae2e57cdebc5f5125930e2d";
|
|
2423
|
+
function validate$16(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepresentation') {
|
|
2424
2424
|
const v_error = (() => {
|
|
2425
2425
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2426
2426
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2438,7 +2438,7 @@ function validate$15(obj, path = 'ManagedContentSpaceFolderItemV1CollectionRepre
|
|
|
2438
2438
|
for (let i = 0; i < obj_folderItems.length; i++) {
|
|
2439
2439
|
const obj_folderItems_item = obj_folderItems[i];
|
|
2440
2440
|
const path_folderItems_item = path_folderItems + '[' + i + ']';
|
|
2441
|
-
const referencepath_folderItems_itemValidationError = validate$
|
|
2441
|
+
const referencepath_folderItems_itemValidationError = validate$17(obj_folderItems_item, path_folderItems_item);
|
|
2442
2442
|
if (referencepath_folderItems_itemValidationError !== null) {
|
|
2443
2443
|
let message = 'Object doesn\'t match ManagedContentSpaceFolderItemV1Representation (at "' + path_folderItems_item + '")\n';
|
|
2444
2444
|
message += referencepath_folderItems_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2478,15 +2478,15 @@ const RepresentationType$x = 'ManagedContentSpaceFolderItemV1CollectionRepresent
|
|
|
2478
2478
|
function normalize$x(input, existing, path, luvio, store, timestamp) {
|
|
2479
2479
|
return input;
|
|
2480
2480
|
}
|
|
2481
|
-
const select$
|
|
2481
|
+
const select$1h = function ManagedContentSpaceFolderItemV1CollectionRepresentationSelect() {
|
|
2482
2482
|
return {
|
|
2483
2483
|
kind: 'Fragment',
|
|
2484
|
-
version: VERSION$
|
|
2484
|
+
version: VERSION$B,
|
|
2485
2485
|
private: [],
|
|
2486
2486
|
opaque: true
|
|
2487
2487
|
};
|
|
2488
2488
|
};
|
|
2489
|
-
function equals$
|
|
2489
|
+
function equals$B(existing, incoming) {
|
|
2490
2490
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
2491
2491
|
return false;
|
|
2492
2492
|
}
|
|
@@ -2494,14 +2494,14 @@ function equals$A(existing, incoming) {
|
|
|
2494
2494
|
}
|
|
2495
2495
|
const ingest$x = function ManagedContentSpaceFolderItemV1CollectionRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2496
2496
|
if (process.env.NODE_ENV !== 'production') {
|
|
2497
|
-
const validateError = validate$
|
|
2497
|
+
const validateError = validate$16(input);
|
|
2498
2498
|
if (validateError !== null) {
|
|
2499
2499
|
throw validateError;
|
|
2500
2500
|
}
|
|
2501
2501
|
}
|
|
2502
2502
|
const key = path.fullPath;
|
|
2503
2503
|
const ttlToUse = TTL$x;
|
|
2504
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "CMSAuthoring", VERSION$
|
|
2504
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$x, "CMSAuthoring", VERSION$B, RepresentationType$x, equals$B);
|
|
2505
2505
|
return createLink(key);
|
|
2506
2506
|
};
|
|
2507
2507
|
function getTypeCacheKeys$x(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2514,8 +2514,8 @@ function getTypeCacheKeys$x(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2514
2514
|
});
|
|
2515
2515
|
}
|
|
2516
2516
|
|
|
2517
|
-
function select$
|
|
2518
|
-
return select$
|
|
2517
|
+
function select$1g(luvio, params) {
|
|
2518
|
+
return select$1h();
|
|
2519
2519
|
}
|
|
2520
2520
|
function keyBuilder$13(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 + ')';
|
|
@@ -2529,7 +2529,7 @@ function ingestSuccess$J(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2529
2529
|
luvio.storeIngest(key, ingest$x, body);
|
|
2530
2530
|
const snapshot = luvio.storeLookup({
|
|
2531
2531
|
recordId: key,
|
|
2532
|
-
node: select$
|
|
2532
|
+
node: select$1g(),
|
|
2533
2533
|
variables: {},
|
|
2534
2534
|
}, snapshotRefresh);
|
|
2535
2535
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2546,7 +2546,7 @@ function ingestError$o(luvio, params, error, snapshotRefresh) {
|
|
|
2546
2546
|
const storeMetadataParams = {
|
|
2547
2547
|
ttl: TTL$x,
|
|
2548
2548
|
namespace: keyPrefix,
|
|
2549
|
-
version: VERSION$
|
|
2549
|
+
version: VERSION$B,
|
|
2550
2550
|
representationName: RepresentationType$x
|
|
2551
2551
|
};
|
|
2552
2552
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -2606,7 +2606,7 @@ function validateAdapterConfig$I(untrustedConfig, configPropertyNames) {
|
|
|
2606
2606
|
}
|
|
2607
2607
|
function adapterFragment$o(luvio, config) {
|
|
2608
2608
|
createResourceParams$I(config);
|
|
2609
|
-
return select$
|
|
2609
|
+
return select$1g();
|
|
2610
2610
|
}
|
|
2611
2611
|
function onFetchResponseSuccess$q(luvio, config, resourceParams, response) {
|
|
2612
2612
|
const snapshot = ingestSuccess$J(luvio, resourceParams, response, {
|
|
@@ -2662,7 +2662,7 @@ const getManagedContentSpaceFolderItemsV1AdapterFactory = (luvio) => function CM
|
|
|
2662
2662
|
buildCachedSnapshotCachePolicy$o, buildNetworkSnapshotCachePolicy$o);
|
|
2663
2663
|
};
|
|
2664
2664
|
|
|
2665
|
-
function validate$
|
|
2665
|
+
function validate$15(obj, path = 'ManagedContentCollectionItemTypeSummaryRepresentation') {
|
|
2666
2666
|
const v_error = (() => {
|
|
2667
2667
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2668
2668
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2681,7 +2681,7 @@ function validate$14(obj, path = 'ManagedContentCollectionItemTypeSummaryReprese
|
|
|
2681
2681
|
return v_error === undefined ? null : v_error;
|
|
2682
2682
|
}
|
|
2683
2683
|
|
|
2684
|
-
function validate$
|
|
2684
|
+
function validate$14(obj, path = 'ManagedContentCollectionItemRepresentation') {
|
|
2685
2685
|
const v_error = (() => {
|
|
2686
2686
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2687
2687
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2702,7 +2702,7 @@ function validate$13(obj, path = 'ManagedContentCollectionItemRepresentation') {
|
|
|
2702
2702
|
}
|
|
2703
2703
|
const obj_contentType = obj.contentType;
|
|
2704
2704
|
const path_contentType = path + '.contentType';
|
|
2705
|
-
const referencepath_contentTypeValidationError = validate$
|
|
2705
|
+
const referencepath_contentTypeValidationError = validate$15(obj_contentType, path_contentType);
|
|
2706
2706
|
if (referencepath_contentTypeValidationError !== null) {
|
|
2707
2707
|
let message = 'Object doesn\'t match ManagedContentCollectionItemTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
2708
2708
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2723,8 +2723,8 @@ function validate$13(obj, path = 'ManagedContentCollectionItemRepresentation') {
|
|
|
2723
2723
|
}
|
|
2724
2724
|
|
|
2725
2725
|
const TTL$w = 100;
|
|
2726
|
-
const VERSION$
|
|
2727
|
-
function validate$
|
|
2726
|
+
const VERSION$A = "04fc59c4443f12c021c76e1603338c85";
|
|
2727
|
+
function validate$13(obj, path = 'ManagedContentCollectionDetailRepresentation') {
|
|
2728
2728
|
const v_error = (() => {
|
|
2729
2729
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2730
2730
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2736,7 +2736,7 @@ function validate$12(obj, path = 'ManagedContentCollectionDetailRepresentation')
|
|
|
2736
2736
|
}
|
|
2737
2737
|
const obj_collectionType = obj.collectionType;
|
|
2738
2738
|
const path_collectionType = path + '.collectionType';
|
|
2739
|
-
const referencepath_collectionTypeValidationError = validate$
|
|
2739
|
+
const referencepath_collectionTypeValidationError = validate$1i(obj_collectionType, path_collectionType);
|
|
2740
2740
|
if (referencepath_collectionTypeValidationError !== null) {
|
|
2741
2741
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_collectionType + '")\n';
|
|
2742
2742
|
message += referencepath_collectionTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2765,7 +2765,7 @@ function validate$12(obj, path = 'ManagedContentCollectionDetailRepresentation')
|
|
|
2765
2765
|
for (let i = 0; i < obj_items.length; i++) {
|
|
2766
2766
|
const obj_items_item = obj_items[i];
|
|
2767
2767
|
const path_items_item = path_items + '[' + i + ']';
|
|
2768
|
-
const referencepath_items_itemValidationError = validate$
|
|
2768
|
+
const referencepath_items_itemValidationError = validate$14(obj_items_item, path_items_item);
|
|
2769
2769
|
if (referencepath_items_itemValidationError !== null) {
|
|
2770
2770
|
let message = 'Object doesn\'t match ManagedContentCollectionItemRepresentation (at "' + path_items_item + '")\n';
|
|
2771
2771
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2820,15 +2820,15 @@ const RepresentationType$w = 'ManagedContentCollectionDetailRepresentation';
|
|
|
2820
2820
|
function normalize$w(input, existing, path, luvio, store, timestamp) {
|
|
2821
2821
|
return input;
|
|
2822
2822
|
}
|
|
2823
|
-
const select$
|
|
2823
|
+
const select$1f = function ManagedContentCollectionDetailRepresentationSelect() {
|
|
2824
2824
|
return {
|
|
2825
2825
|
kind: 'Fragment',
|
|
2826
|
-
version: VERSION$
|
|
2826
|
+
version: VERSION$A,
|
|
2827
2827
|
private: [],
|
|
2828
2828
|
opaque: true
|
|
2829
2829
|
};
|
|
2830
2830
|
};
|
|
2831
|
-
function equals$
|
|
2831
|
+
function equals$A(existing, incoming) {
|
|
2832
2832
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
2833
2833
|
return false;
|
|
2834
2834
|
}
|
|
@@ -2836,14 +2836,14 @@ function equals$z(existing, incoming) {
|
|
|
2836
2836
|
}
|
|
2837
2837
|
const ingest$w = function ManagedContentCollectionDetailRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
2838
2838
|
if (process.env.NODE_ENV !== 'production') {
|
|
2839
|
-
const validateError = validate$
|
|
2839
|
+
const validateError = validate$13(input);
|
|
2840
2840
|
if (validateError !== null) {
|
|
2841
2841
|
throw validateError;
|
|
2842
2842
|
}
|
|
2843
2843
|
}
|
|
2844
2844
|
const key = path.fullPath;
|
|
2845
2845
|
const ttlToUse = TTL$w;
|
|
2846
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "CMSAuthoring", VERSION$
|
|
2846
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$w, "CMSAuthoring", VERSION$A, RepresentationType$w, equals$A);
|
|
2847
2847
|
return createLink(key);
|
|
2848
2848
|
};
|
|
2849
2849
|
function getTypeCacheKeys$w(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2856,8 +2856,8 @@ function getTypeCacheKeys$w(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
2856
2856
|
});
|
|
2857
2857
|
}
|
|
2858
2858
|
|
|
2859
|
-
function select$
|
|
2860
|
-
return select$
|
|
2859
|
+
function select$1e(luvio, params) {
|
|
2860
|
+
return select$1f();
|
|
2861
2861
|
}
|
|
2862
2862
|
function keyBuilder$11(luvio, params) {
|
|
2863
2863
|
return keyPrefix + '::ManagedContentCollectionDetailRepresentation:(' + 'channelId:' + params.queryParams.channelId + ',' + 'language:' + params.queryParams.language + ',' + 'page:' + params.queryParams.page + ',' + 'pageSize:' + params.queryParams.pageSize + ',' + 'version:' + params.queryParams.version + ',' + 'collectionKeyOrId:' + params.urlParams.collectionKeyOrId + ')';
|
|
@@ -2871,7 +2871,7 @@ function ingestSuccess$I(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2871
2871
|
luvio.storeIngest(key, ingest$w, body);
|
|
2872
2872
|
const snapshot = luvio.storeLookup({
|
|
2873
2873
|
recordId: key,
|
|
2874
|
-
node: select$
|
|
2874
|
+
node: select$1e(),
|
|
2875
2875
|
variables: {},
|
|
2876
2876
|
}, snapshotRefresh);
|
|
2877
2877
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -2888,7 +2888,7 @@ function ingestError$n(luvio, params, error, snapshotRefresh) {
|
|
|
2888
2888
|
const storeMetadataParams = {
|
|
2889
2889
|
ttl: TTL$w,
|
|
2890
2890
|
namespace: keyPrefix,
|
|
2891
|
-
version: VERSION$
|
|
2891
|
+
version: VERSION$A,
|
|
2892
2892
|
representationName: RepresentationType$w
|
|
2893
2893
|
};
|
|
2894
2894
|
luvio.storeIngestError(key, errorSnapshot, storeMetadataParams);
|
|
@@ -2943,7 +2943,7 @@ function validateAdapterConfig$H(untrustedConfig, configPropertyNames) {
|
|
|
2943
2943
|
}
|
|
2944
2944
|
function adapterFragment$n(luvio, config) {
|
|
2945
2945
|
createResourceParams$H(config);
|
|
2946
|
-
return select$
|
|
2946
|
+
return select$1e();
|
|
2947
2947
|
}
|
|
2948
2948
|
function onFetchResponseSuccess$p(luvio, config, resourceParams, response) {
|
|
2949
2949
|
const snapshot = ingestSuccess$I(luvio, resourceParams, response, {
|
|
@@ -2999,8 +2999,8 @@ const getCollectionItemsAdapterFactory = (luvio) => function CMSAuthoring__getCo
|
|
|
2999
2999
|
buildCachedSnapshotCachePolicy$n, buildNetworkSnapshotCachePolicy$n);
|
|
3000
3000
|
};
|
|
3001
3001
|
|
|
3002
|
-
const VERSION$
|
|
3003
|
-
function validate$
|
|
3002
|
+
const VERSION$z = "68657c1c69b394f1cde97e59e18108f3";
|
|
3003
|
+
function validate$12(obj, path = 'ManagedContentProviderInstanceRepresentation') {
|
|
3004
3004
|
const v_error = (() => {
|
|
3005
3005
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3006
3006
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3010,16 +3010,128 @@ function validate$11(obj, path = 'ManagedContentProviderRepresentation') {
|
|
|
3010
3010
|
if (typeof obj_componentDefinition !== 'string') {
|
|
3011
3011
|
return new TypeError('Expected "string" but received "' + typeof obj_componentDefinition + '" (at "' + path_componentDefinition + '")');
|
|
3012
3012
|
}
|
|
3013
|
-
const
|
|
3014
|
-
const
|
|
3015
|
-
if (typeof
|
|
3016
|
-
return new TypeError('Expected "string" but received "' + typeof
|
|
3013
|
+
const obj_instanceUrl = obj.instanceUrl;
|
|
3014
|
+
const path_instanceUrl = path + '.instanceUrl';
|
|
3015
|
+
if (typeof obj_instanceUrl !== 'string') {
|
|
3016
|
+
return new TypeError('Expected "string" but received "' + typeof obj_instanceUrl + '" (at "' + path_instanceUrl + '")');
|
|
3017
|
+
}
|
|
3018
|
+
const obj_isDefault = obj.isDefault;
|
|
3019
|
+
const path_isDefault = path + '.isDefault';
|
|
3020
|
+
if (typeof obj_isDefault !== 'boolean') {
|
|
3021
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isDefault + '" (at "' + path_isDefault + '")');
|
|
3017
3022
|
}
|
|
3018
3023
|
const obj_name = obj.name;
|
|
3019
3024
|
const path_name = path + '.name';
|
|
3020
3025
|
if (typeof obj_name !== 'string') {
|
|
3021
3026
|
return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
|
|
3022
3027
|
}
|
|
3028
|
+
const obj_providerInstanceId = obj.providerInstanceId;
|
|
3029
|
+
const path_providerInstanceId = path + '.providerInstanceId';
|
|
3030
|
+
if (typeof obj_providerInstanceId !== 'string') {
|
|
3031
|
+
return new TypeError('Expected "string" but received "' + typeof obj_providerInstanceId + '" (at "' + path_providerInstanceId + '")');
|
|
3032
|
+
}
|
|
3033
|
+
})();
|
|
3034
|
+
return v_error === undefined ? null : v_error;
|
|
3035
|
+
}
|
|
3036
|
+
const select$1d = function ManagedContentProviderInstanceRepresentationSelect() {
|
|
3037
|
+
return {
|
|
3038
|
+
kind: 'Fragment',
|
|
3039
|
+
version: VERSION$z,
|
|
3040
|
+
private: [],
|
|
3041
|
+
selections: [
|
|
3042
|
+
{
|
|
3043
|
+
name: 'componentDefinition',
|
|
3044
|
+
kind: 'Scalar'
|
|
3045
|
+
},
|
|
3046
|
+
{
|
|
3047
|
+
name: 'instanceUrl',
|
|
3048
|
+
kind: 'Scalar'
|
|
3049
|
+
},
|
|
3050
|
+
{
|
|
3051
|
+
name: 'isDefault',
|
|
3052
|
+
kind: 'Scalar'
|
|
3053
|
+
},
|
|
3054
|
+
{
|
|
3055
|
+
name: 'name',
|
|
3056
|
+
kind: 'Scalar'
|
|
3057
|
+
},
|
|
3058
|
+
{
|
|
3059
|
+
name: 'providerInstanceId',
|
|
3060
|
+
kind: 'Scalar'
|
|
3061
|
+
}
|
|
3062
|
+
]
|
|
3063
|
+
};
|
|
3064
|
+
};
|
|
3065
|
+
function equals$z(existing, incoming) {
|
|
3066
|
+
const existing_isDefault = existing.isDefault;
|
|
3067
|
+
const incoming_isDefault = incoming.isDefault;
|
|
3068
|
+
if (!(existing_isDefault === incoming_isDefault)) {
|
|
3069
|
+
return false;
|
|
3070
|
+
}
|
|
3071
|
+
const existing_componentDefinition = existing.componentDefinition;
|
|
3072
|
+
const incoming_componentDefinition = incoming.componentDefinition;
|
|
3073
|
+
if (!(existing_componentDefinition === incoming_componentDefinition)) {
|
|
3074
|
+
return false;
|
|
3075
|
+
}
|
|
3076
|
+
const existing_instanceUrl = existing.instanceUrl;
|
|
3077
|
+
const incoming_instanceUrl = incoming.instanceUrl;
|
|
3078
|
+
if (!(existing_instanceUrl === incoming_instanceUrl)) {
|
|
3079
|
+
return false;
|
|
3080
|
+
}
|
|
3081
|
+
const existing_name = existing.name;
|
|
3082
|
+
const incoming_name = incoming.name;
|
|
3083
|
+
if (!(existing_name === incoming_name)) {
|
|
3084
|
+
return false;
|
|
3085
|
+
}
|
|
3086
|
+
const existing_providerInstanceId = existing.providerInstanceId;
|
|
3087
|
+
const incoming_providerInstanceId = incoming.providerInstanceId;
|
|
3088
|
+
if (!(existing_providerInstanceId === incoming_providerInstanceId)) {
|
|
3089
|
+
return false;
|
|
3090
|
+
}
|
|
3091
|
+
return true;
|
|
3092
|
+
}
|
|
3093
|
+
|
|
3094
|
+
const VERSION$y = "76df79c94c71daf84ab8e2797ecbdc0d";
|
|
3095
|
+
function validate$11(obj, path = 'ManagedContentProviderRepresentation') {
|
|
3096
|
+
const v_error = (() => {
|
|
3097
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3098
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3099
|
+
}
|
|
3100
|
+
const obj_icon = obj.icon;
|
|
3101
|
+
const path_icon = path + '.icon';
|
|
3102
|
+
if (typeof obj_icon !== 'string') {
|
|
3103
|
+
return new TypeError('Expected "string" but received "' + typeof obj_icon + '" (at "' + path_icon + '")');
|
|
3104
|
+
}
|
|
3105
|
+
const obj_label = obj.label;
|
|
3106
|
+
const path_label = path + '.label';
|
|
3107
|
+
if (typeof obj_label !== 'string') {
|
|
3108
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
3109
|
+
}
|
|
3110
|
+
const obj_providerId = obj.providerId;
|
|
3111
|
+
const path_providerId = path + '.providerId';
|
|
3112
|
+
if (typeof obj_providerId !== 'string') {
|
|
3113
|
+
return new TypeError('Expected "string" but received "' + typeof obj_providerId + '" (at "' + path_providerId + '")');
|
|
3114
|
+
}
|
|
3115
|
+
const obj_providerInstances = obj.providerInstances;
|
|
3116
|
+
const path_providerInstances = path + '.providerInstances';
|
|
3117
|
+
if (!ArrayIsArray(obj_providerInstances)) {
|
|
3118
|
+
return new TypeError('Expected "array" but received "' + typeof obj_providerInstances + '" (at "' + path_providerInstances + '")');
|
|
3119
|
+
}
|
|
3120
|
+
for (let i = 0; i < obj_providerInstances.length; i++) {
|
|
3121
|
+
const obj_providerInstances_item = obj_providerInstances[i];
|
|
3122
|
+
const path_providerInstances_item = path_providerInstances + '[' + i + ']';
|
|
3123
|
+
const referencepath_providerInstances_itemValidationError = validate$12(obj_providerInstances_item, path_providerInstances_item);
|
|
3124
|
+
if (referencepath_providerInstances_itemValidationError !== null) {
|
|
3125
|
+
let message = 'Object doesn\'t match ManagedContentProviderInstanceRepresentation (at "' + path_providerInstances_item + '")\n';
|
|
3126
|
+
message += referencepath_providerInstances_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3127
|
+
return new TypeError(message);
|
|
3128
|
+
}
|
|
3129
|
+
}
|
|
3130
|
+
const obj_providerLightningComponentId = obj.providerLightningComponentId;
|
|
3131
|
+
const path_providerLightningComponentId = path + '.providerLightningComponentId';
|
|
3132
|
+
if (typeof obj_providerLightningComponentId !== 'string') {
|
|
3133
|
+
return new TypeError('Expected "string" but received "' + typeof obj_providerLightningComponentId + '" (at "' + path_providerLightningComponentId + '")');
|
|
3134
|
+
}
|
|
3023
3135
|
const obj_type = obj.type;
|
|
3024
3136
|
const path_type = path + '.type';
|
|
3025
3137
|
if (typeof obj_type !== 'string') {
|
|
@@ -3029,21 +3141,32 @@ function validate$11(obj, path = 'ManagedContentProviderRepresentation') {
|
|
|
3029
3141
|
return v_error === undefined ? null : v_error;
|
|
3030
3142
|
}
|
|
3031
3143
|
const select$1c = function ManagedContentProviderRepresentationSelect() {
|
|
3144
|
+
const { selections: ManagedContentProviderInstanceRepresentation__selections, opaque: ManagedContentProviderInstanceRepresentation__opaque, } = select$1d();
|
|
3032
3145
|
return {
|
|
3033
3146
|
kind: 'Fragment',
|
|
3034
3147
|
version: VERSION$y,
|
|
3035
3148
|
private: [],
|
|
3036
3149
|
selections: [
|
|
3037
3150
|
{
|
|
3038
|
-
name: '
|
|
3151
|
+
name: 'icon',
|
|
3039
3152
|
kind: 'Scalar'
|
|
3040
3153
|
},
|
|
3041
3154
|
{
|
|
3042
|
-
name: '
|
|
3155
|
+
name: 'label',
|
|
3043
3156
|
kind: 'Scalar'
|
|
3044
3157
|
},
|
|
3045
3158
|
{
|
|
3046
|
-
name: '
|
|
3159
|
+
name: 'providerId',
|
|
3160
|
+
kind: 'Scalar'
|
|
3161
|
+
},
|
|
3162
|
+
{
|
|
3163
|
+
name: 'providerInstances',
|
|
3164
|
+
kind: 'Object',
|
|
3165
|
+
plural: true,
|
|
3166
|
+
selections: ManagedContentProviderInstanceRepresentation__selections
|
|
3167
|
+
},
|
|
3168
|
+
{
|
|
3169
|
+
name: 'providerLightningComponentId',
|
|
3047
3170
|
kind: 'Scalar'
|
|
3048
3171
|
},
|
|
3049
3172
|
{
|
|
@@ -3054,19 +3177,24 @@ const select$1c = function ManagedContentProviderRepresentationSelect() {
|
|
|
3054
3177
|
};
|
|
3055
3178
|
};
|
|
3056
3179
|
function equals$y(existing, incoming) {
|
|
3057
|
-
const existing_componentDefinition = existing.componentDefinition;
|
|
3058
|
-
const incoming_componentDefinition = incoming.componentDefinition;
|
|
3059
|
-
if (!(existing_componentDefinition === incoming_componentDefinition)) {
|
|
3060
|
-
return false;
|
|
3061
|
-
}
|
|
3062
3180
|
const existing_icon = existing.icon;
|
|
3063
3181
|
const incoming_icon = incoming.icon;
|
|
3064
3182
|
if (!(existing_icon === incoming_icon)) {
|
|
3065
3183
|
return false;
|
|
3066
3184
|
}
|
|
3067
|
-
const
|
|
3068
|
-
const
|
|
3069
|
-
if (!(
|
|
3185
|
+
const existing_label = existing.label;
|
|
3186
|
+
const incoming_label = incoming.label;
|
|
3187
|
+
if (!(existing_label === incoming_label)) {
|
|
3188
|
+
return false;
|
|
3189
|
+
}
|
|
3190
|
+
const existing_providerId = existing.providerId;
|
|
3191
|
+
const incoming_providerId = incoming.providerId;
|
|
3192
|
+
if (!(existing_providerId === incoming_providerId)) {
|
|
3193
|
+
return false;
|
|
3194
|
+
}
|
|
3195
|
+
const existing_providerLightningComponentId = existing.providerLightningComponentId;
|
|
3196
|
+
const incoming_providerLightningComponentId = incoming.providerLightningComponentId;
|
|
3197
|
+
if (!(existing_providerLightningComponentId === incoming_providerLightningComponentId)) {
|
|
3070
3198
|
return false;
|
|
3071
3199
|
}
|
|
3072
3200
|
const existing_type = existing.type;
|
|
@@ -3074,6 +3202,16 @@ function equals$y(existing, incoming) {
|
|
|
3074
3202
|
if (!(existing_type === incoming_type)) {
|
|
3075
3203
|
return false;
|
|
3076
3204
|
}
|
|
3205
|
+
const existing_providerInstances = existing.providerInstances;
|
|
3206
|
+
const incoming_providerInstances = incoming.providerInstances;
|
|
3207
|
+
const equals_providerInstances_items = equalsArray(existing_providerInstances, incoming_providerInstances, (existing_providerInstances_item, incoming_providerInstances_item) => {
|
|
3208
|
+
if (!(equals$z(existing_providerInstances_item, incoming_providerInstances_item))) {
|
|
3209
|
+
return false;
|
|
3210
|
+
}
|
|
3211
|
+
});
|
|
3212
|
+
if (equals_providerInstances_items === false) {
|
|
3213
|
+
return false;
|
|
3214
|
+
}
|
|
3077
3215
|
return true;
|
|
3078
3216
|
}
|
|
3079
3217
|
|
|
@@ -3918,7 +4056,7 @@ function validate$V(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
3918
4056
|
}
|
|
3919
4057
|
const obj_contentType = obj.contentType;
|
|
3920
4058
|
const path_contentType = path + '.contentType';
|
|
3921
|
-
const referencepath_contentTypeValidationError = validate$
|
|
4059
|
+
const referencepath_contentTypeValidationError = validate$1i(obj_contentType, path_contentType);
|
|
3922
4060
|
if (referencepath_contentTypeValidationError !== null) {
|
|
3923
4061
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
3924
4062
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3926,7 +4064,7 @@ function validate$V(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
3926
4064
|
}
|
|
3927
4065
|
const obj_createdBy = obj.createdBy;
|
|
3928
4066
|
const path_createdBy = path + '.createdBy';
|
|
3929
|
-
const referencepath_createdByValidationError = validate$
|
|
4067
|
+
const referencepath_createdByValidationError = validate$1f(obj_createdBy, path_createdBy);
|
|
3930
4068
|
if (referencepath_createdByValidationError !== null) {
|
|
3931
4069
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
3932
4070
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3957,7 +4095,7 @@ function validate$V(obj, path = 'ManagedContentDocumentRepresentation') {
|
|
|
3957
4095
|
}
|
|
3958
4096
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
3959
4097
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
3960
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4098
|
+
const referencepath_lastModifiedByValidationError = validate$1f(obj_lastModifiedBy, path_lastModifiedBy);
|
|
3961
4099
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
3962
4100
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
3963
4101
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4711,7 +4849,7 @@ function validate$R(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4711
4849
|
}
|
|
4712
4850
|
const obj_contentType = obj.contentType;
|
|
4713
4851
|
const path_contentType = path + '.contentType';
|
|
4714
|
-
const referencepath_contentTypeValidationError = validate$
|
|
4852
|
+
const referencepath_contentTypeValidationError = validate$1i(obj_contentType, path_contentType);
|
|
4715
4853
|
if (referencepath_contentTypeValidationError !== null) {
|
|
4716
4854
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
4717
4855
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4719,7 +4857,7 @@ function validate$R(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4719
4857
|
}
|
|
4720
4858
|
const obj_createdBy = obj.createdBy;
|
|
4721
4859
|
const path_createdBy = path + '.createdBy';
|
|
4722
|
-
const referencepath_createdByValidationError = validate$
|
|
4860
|
+
const referencepath_createdByValidationError = validate$1f(obj_createdBy, path_createdBy);
|
|
4723
4861
|
if (referencepath_createdByValidationError !== null) {
|
|
4724
4862
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
4725
4863
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4750,7 +4888,7 @@ function validate$R(obj, path = 'ManagedContentVariantRepresentation') {
|
|
|
4750
4888
|
}
|
|
4751
4889
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
4752
4890
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
4753
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
4891
|
+
const referencepath_lastModifiedByValidationError = validate$1f(obj_lastModifiedBy, path_lastModifiedBy);
|
|
4754
4892
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
4755
4893
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
4756
4894
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5304,7 +5442,7 @@ function validate$P(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
5304
5442
|
}
|
|
5305
5443
|
const obj_createdBy = obj.createdBy;
|
|
5306
5444
|
const path_createdBy = path + '.createdBy';
|
|
5307
|
-
const referencepath_createdByValidationError = validate$
|
|
5445
|
+
const referencepath_createdByValidationError = validate$1f(obj_createdBy, path_createdBy);
|
|
5308
5446
|
if (referencepath_createdByValidationError !== null) {
|
|
5309
5447
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
5310
5448
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5317,7 +5455,7 @@ function validate$P(obj, path = 'ManagedContentVariantVersionRepresentation') {
|
|
|
5317
5455
|
}
|
|
5318
5456
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
5319
5457
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
5320
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
5458
|
+
const referencepath_lastModifiedByValidationError = validate$1f(obj_lastModifiedBy, path_lastModifiedBy);
|
|
5321
5459
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
5322
5460
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
5323
5461
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -7890,7 +8028,7 @@ function validate$w(obj, path = 'AbstractManagedContentReferencedByItemRepresent
|
|
|
7890
8028
|
const path_contentType = path + '.contentType';
|
|
7891
8029
|
let obj_contentType_union0 = null;
|
|
7892
8030
|
const obj_contentType_union0_error = (() => {
|
|
7893
|
-
const referencepath_contentTypeValidationError = validate$
|
|
8031
|
+
const referencepath_contentTypeValidationError = validate$1i(obj_contentType, path_contentType);
|
|
7894
8032
|
if (referencepath_contentTypeValidationError !== null) {
|
|
7895
8033
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
7896
8034
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8270,7 +8408,7 @@ function validate$t(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
8270
8408
|
}
|
|
8271
8409
|
const obj_contentType = obj.contentType;
|
|
8272
8410
|
const path_contentType = path + '.contentType';
|
|
8273
|
-
const referencepath_contentTypeValidationError = validate$
|
|
8411
|
+
const referencepath_contentTypeValidationError = validate$1i(obj_contentType, path_contentType);
|
|
8274
8412
|
if (referencepath_contentTypeValidationError !== null) {
|
|
8275
8413
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
8276
8414
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8278,7 +8416,7 @@ function validate$t(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
8278
8416
|
}
|
|
8279
8417
|
const obj_createdBy = obj.createdBy;
|
|
8280
8418
|
const path_createdBy = path + '.createdBy';
|
|
8281
|
-
const referencepath_createdByValidationError = validate$
|
|
8419
|
+
const referencepath_createdByValidationError = validate$1f(obj_createdBy, path_createdBy);
|
|
8282
8420
|
if (referencepath_createdByValidationError !== null) {
|
|
8283
8421
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
8284
8422
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8304,7 +8442,7 @@ function validate$t(obj, path = 'ManagedContentVariantReferenceDetailsRepresenta
|
|
|
8304
8442
|
}
|
|
8305
8443
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
8306
8444
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
8307
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
8445
|
+
const referencepath_lastModifiedByValidationError = validate$1f(obj_lastModifiedBy, path_lastModifiedBy);
|
|
8308
8446
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
8309
8447
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
8310
8448
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -8995,7 +9133,7 @@ function validate$p(obj, path = 'ManagedContentSpaceFolderItemRepresentation') {
|
|
|
8995
9133
|
if (obj.contentType !== undefined) {
|
|
8996
9134
|
const obj_contentType = obj.contentType;
|
|
8997
9135
|
const path_contentType = path + '.contentType';
|
|
8998
|
-
const referencepath_contentTypeValidationError = validate$
|
|
9136
|
+
const referencepath_contentTypeValidationError = validate$1i(obj_contentType, path_contentType);
|
|
8999
9137
|
if (referencepath_contentTypeValidationError !== null) {
|
|
9000
9138
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
9001
9139
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9947,7 +10085,7 @@ function validate$i(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
9947
10085
|
}
|
|
9948
10086
|
const obj_createdBy = obj.createdBy;
|
|
9949
10087
|
const path_createdBy = path + '.createdBy';
|
|
9950
|
-
const referencepath_createdByValidationError = validate$
|
|
10088
|
+
const referencepath_createdByValidationError = validate$1f(obj_createdBy, path_createdBy);
|
|
9951
10089
|
if (referencepath_createdByValidationError !== null) {
|
|
9952
10090
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
9953
10091
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -9973,7 +10111,7 @@ function validate$i(obj, path = 'AbstractManagedContentSearchResultRepresentatio
|
|
|
9973
10111
|
}
|
|
9974
10112
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
9975
10113
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
9976
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
10114
|
+
const referencepath_lastModifiedByValidationError = validate$1f(obj_lastModifiedBy, path_lastModifiedBy);
|
|
9977
10115
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
9978
10116
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
9979
10117
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -10223,7 +10361,7 @@ const getSearchResultsAdapterFactory = (luvio) => function CMSAuthoring__getSear
|
|
|
10223
10361
|
};
|
|
10224
10362
|
|
|
10225
10363
|
function select$q(luvio, params) {
|
|
10226
|
-
return select$
|
|
10364
|
+
return select$1r();
|
|
10227
10365
|
}
|
|
10228
10366
|
function getResponseCacheKeys$f(storeKeyMap, luvio, resourceParams, response) {
|
|
10229
10367
|
getTypeCacheKeys$B(storeKeyMap, luvio, response);
|
|
@@ -10321,7 +10459,7 @@ const createScheduleAdapterFactory = (luvio) => {
|
|
|
10321
10459
|
};
|
|
10322
10460
|
|
|
10323
10461
|
function select$p(luvio, params) {
|
|
10324
|
-
return select$
|
|
10462
|
+
return select$1r();
|
|
10325
10463
|
}
|
|
10326
10464
|
function getResponseCacheKeys$e(storeKeyMap, luvio, resourceParams, response) {
|
|
10327
10465
|
getTypeCacheKeys$B(storeKeyMap, luvio, response);
|
|
@@ -11460,7 +11598,7 @@ function validate$b(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
11460
11598
|
}
|
|
11461
11599
|
const obj_contentType = obj.contentType;
|
|
11462
11600
|
const path_contentType = path + '.contentType';
|
|
11463
|
-
const referencepath_contentTypeValidationError = validate$
|
|
11601
|
+
const referencepath_contentTypeValidationError = validate$1i(obj_contentType, path_contentType);
|
|
11464
11602
|
if (referencepath_contentTypeValidationError !== null) {
|
|
11465
11603
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
11466
11604
|
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11468,7 +11606,7 @@ function validate$b(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
11468
11606
|
}
|
|
11469
11607
|
const obj_createdBy = obj.createdBy;
|
|
11470
11608
|
const path_createdBy = path + '.createdBy';
|
|
11471
|
-
const referencepath_createdByValidationError = validate$
|
|
11609
|
+
const referencepath_createdByValidationError = validate$1f(obj_createdBy, path_createdBy);
|
|
11472
11610
|
if (referencepath_createdByValidationError !== null) {
|
|
11473
11611
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_createdBy + '")\n';
|
|
11474
11612
|
message += referencepath_createdByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -11520,7 +11658,7 @@ function validate$b(obj, path = 'ManagedContentSingleItemDocumentRepresentation'
|
|
|
11520
11658
|
}
|
|
11521
11659
|
const obj_lastModifiedBy = obj.lastModifiedBy;
|
|
11522
11660
|
const path_lastModifiedBy = path + '.lastModifiedBy';
|
|
11523
|
-
const referencepath_lastModifiedByValidationError = validate$
|
|
11661
|
+
const referencepath_lastModifiedByValidationError = validate$1f(obj_lastModifiedBy, path_lastModifiedBy);
|
|
11524
11662
|
if (referencepath_lastModifiedByValidationError !== null) {
|
|
11525
11663
|
let message = 'Object doesn\'t match ManagedContentUserSummaryRepresentation (at "' + path_lastModifiedBy + '")\n';
|
|
11526
11664
|
message += referencepath_lastModifiedByValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12182,7 +12320,7 @@ function validate$7(obj, path = 'ManagedContentTypeSummaryCollectionRepresentati
|
|
|
12182
12320
|
for (let i = 0; i < obj_contentTypes.length; i++) {
|
|
12183
12321
|
const obj_contentTypes_item = obj_contentTypes[i];
|
|
12184
12322
|
const path_contentTypes_item = path_contentTypes + '[' + i + ']';
|
|
12185
|
-
const referencepath_contentTypes_itemValidationError = validate$
|
|
12323
|
+
const referencepath_contentTypes_itemValidationError = validate$1i(obj_contentTypes_item, path_contentTypes_item);
|
|
12186
12324
|
if (referencepath_contentTypes_itemValidationError !== null) {
|
|
12187
12325
|
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentTypes_item + '")\n';
|
|
12188
12326
|
message += referencepath_contentTypes_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -12202,7 +12340,7 @@ function normalize$4(input, existing, path, luvio, store, timestamp) {
|
|
|
12202
12340
|
return input;
|
|
12203
12341
|
}
|
|
12204
12342
|
const select$c = function ManagedContentTypeSummaryCollectionRepresentationSelect() {
|
|
12205
|
-
const { selections: ManagedContentTypeSummaryRepresentation__selections, opaque: ManagedContentTypeSummaryRepresentation__opaque, } = select$
|
|
12343
|
+
const { selections: ManagedContentTypeSummaryRepresentation__selections, opaque: ManagedContentTypeSummaryRepresentation__opaque, } = select$1v();
|
|
12206
12344
|
return {
|
|
12207
12345
|
kind: 'Fragment',
|
|
12208
12346
|
version: VERSION$5,
|
|
@@ -12230,7 +12368,7 @@ function equals$5(existing, incoming) {
|
|
|
12230
12368
|
const existing_contentTypes = existing.contentTypes;
|
|
12231
12369
|
const incoming_contentTypes = incoming.contentTypes;
|
|
12232
12370
|
const equals_contentTypes_items = equalsArray(existing_contentTypes, incoming_contentTypes, (existing_contentTypes_item, incoming_contentTypes_item) => {
|
|
12233
|
-
if (!(equals$
|
|
12371
|
+
if (!(equals$L(existing_contentTypes_item, incoming_contentTypes_item))) {
|
|
12234
12372
|
return false;
|
|
12235
12373
|
}
|
|
12236
12374
|
});
|