@salesforce/lds-adapters-cms-authoring 1.201.0 → 1.202.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.
|
@@ -9563,7 +9563,7 @@ const createManagedContentImportV2JobAdapterFactory = (luvio) => {
|
|
|
9563
9563
|
};
|
|
9564
9564
|
};
|
|
9565
9565
|
|
|
9566
|
-
const VERSION$1 = "
|
|
9566
|
+
const VERSION$1 = "81927bc992cfdb3d048809693958eb37";
|
|
9567
9567
|
function validate$1(obj, path = 'ManagedContentPreviewRepresentation') {
|
|
9568
9568
|
const v_error = (() => {
|
|
9569
9569
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -9571,13 +9571,55 @@ function validate$1(obj, path = 'ManagedContentPreviewRepresentation') {
|
|
|
9571
9571
|
}
|
|
9572
9572
|
const obj_channelName = obj.channelName;
|
|
9573
9573
|
const path_channelName = path + '.channelName';
|
|
9574
|
-
|
|
9575
|
-
|
|
9574
|
+
let obj_channelName_union0 = null;
|
|
9575
|
+
const obj_channelName_union0_error = (() => {
|
|
9576
|
+
if (typeof obj_channelName !== 'string') {
|
|
9577
|
+
return new TypeError('Expected "string" but received "' + typeof obj_channelName + '" (at "' + path_channelName + '")');
|
|
9578
|
+
}
|
|
9579
|
+
})();
|
|
9580
|
+
if (obj_channelName_union0_error != null) {
|
|
9581
|
+
obj_channelName_union0 = obj_channelName_union0_error.message;
|
|
9582
|
+
}
|
|
9583
|
+
let obj_channelName_union1 = null;
|
|
9584
|
+
const obj_channelName_union1_error = (() => {
|
|
9585
|
+
if (obj_channelName !== null) {
|
|
9586
|
+
return new TypeError('Expected "null" but received "' + typeof obj_channelName + '" (at "' + path_channelName + '")');
|
|
9587
|
+
}
|
|
9588
|
+
})();
|
|
9589
|
+
if (obj_channelName_union1_error != null) {
|
|
9590
|
+
obj_channelName_union1 = obj_channelName_union1_error.message;
|
|
9591
|
+
}
|
|
9592
|
+
if (obj_channelName_union0 && obj_channelName_union1) {
|
|
9593
|
+
let message = 'Object doesn\'t match union (at "' + path_channelName + '")';
|
|
9594
|
+
message += '\n' + obj_channelName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
9595
|
+
message += '\n' + obj_channelName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
9596
|
+
return new TypeError(message);
|
|
9576
9597
|
}
|
|
9577
9598
|
const obj_previewEndpoint = obj.previewEndpoint;
|
|
9578
9599
|
const path_previewEndpoint = path + '.previewEndpoint';
|
|
9579
|
-
|
|
9580
|
-
|
|
9600
|
+
let obj_previewEndpoint_union0 = null;
|
|
9601
|
+
const obj_previewEndpoint_union0_error = (() => {
|
|
9602
|
+
if (typeof obj_previewEndpoint !== 'string') {
|
|
9603
|
+
return new TypeError('Expected "string" but received "' + typeof obj_previewEndpoint + '" (at "' + path_previewEndpoint + '")');
|
|
9604
|
+
}
|
|
9605
|
+
})();
|
|
9606
|
+
if (obj_previewEndpoint_union0_error != null) {
|
|
9607
|
+
obj_previewEndpoint_union0 = obj_previewEndpoint_union0_error.message;
|
|
9608
|
+
}
|
|
9609
|
+
let obj_previewEndpoint_union1 = null;
|
|
9610
|
+
const obj_previewEndpoint_union1_error = (() => {
|
|
9611
|
+
if (obj_previewEndpoint !== null) {
|
|
9612
|
+
return new TypeError('Expected "null" but received "' + typeof obj_previewEndpoint + '" (at "' + path_previewEndpoint + '")');
|
|
9613
|
+
}
|
|
9614
|
+
})();
|
|
9615
|
+
if (obj_previewEndpoint_union1_error != null) {
|
|
9616
|
+
obj_previewEndpoint_union1 = obj_previewEndpoint_union1_error.message;
|
|
9617
|
+
}
|
|
9618
|
+
if (obj_previewEndpoint_union0 && obj_previewEndpoint_union1) {
|
|
9619
|
+
let message = 'Object doesn\'t match union (at "' + path_previewEndpoint + '")';
|
|
9620
|
+
message += '\n' + obj_previewEndpoint_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
9621
|
+
message += '\n' + obj_previewEndpoint_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
9622
|
+
return new TypeError(message);
|
|
9581
9623
|
}
|
|
9582
9624
|
})();
|
|
9583
9625
|
return v_error === undefined ? null : v_error;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "81927bc992cfdb3d048809693958eb37";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: ManagedContentPreviewRepresentation, existing: ManagedContentPreviewRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentPreviewRepresentationNormalized;
|
|
@@ -15,9 +15,9 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
*/
|
|
16
16
|
export interface ManagedContentPreviewRepresentationNormalized {
|
|
17
17
|
/** ManagedContent channel name */
|
|
18
|
-
channelName: string;
|
|
18
|
+
channelName: string | null;
|
|
19
19
|
/** ManagedContent previewEndpoint */
|
|
20
|
-
previewEndpoint: string;
|
|
20
|
+
previewEndpoint: string | null;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Information about a Managed Content Preview
|
|
@@ -26,6 +26,6 @@ export interface ManagedContentPreviewRepresentationNormalized {
|
|
|
26
26
|
* (none)
|
|
27
27
|
*/
|
|
28
28
|
export interface ManagedContentPreviewRepresentation {
|
|
29
|
-
channelName: string;
|
|
30
|
-
previewEndpoint: string;
|
|
29
|
+
channelName: string | null;
|
|
30
|
+
previewEndpoint: string | null;
|
|
31
31
|
}
|
package/package.json
CHANGED
package/sfdc/index.js
CHANGED
|
@@ -4997,7 +4997,7 @@ const getManagedContentByFolderIdAdapterFactory = (luvio) => function CMSAuthori
|
|
|
4997
4997
|
buildCachedSnapshotCachePolicy$c, buildNetworkSnapshotCachePolicy$c);
|
|
4998
4998
|
};
|
|
4999
4999
|
|
|
5000
|
-
const VERSION$d = "
|
|
5000
|
+
const VERSION$d = "81927bc992cfdb3d048809693958eb37";
|
|
5001
5001
|
function validate$p(obj, path = 'ManagedContentPreviewRepresentation') {
|
|
5002
5002
|
const v_error = (() => {
|
|
5003
5003
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5005,13 +5005,55 @@ function validate$p(obj, path = 'ManagedContentPreviewRepresentation') {
|
|
|
5005
5005
|
}
|
|
5006
5006
|
const obj_channelName = obj.channelName;
|
|
5007
5007
|
const path_channelName = path + '.channelName';
|
|
5008
|
-
|
|
5009
|
-
|
|
5008
|
+
let obj_channelName_union0 = null;
|
|
5009
|
+
const obj_channelName_union0_error = (() => {
|
|
5010
|
+
if (typeof obj_channelName !== 'string') {
|
|
5011
|
+
return new TypeError('Expected "string" but received "' + typeof obj_channelName + '" (at "' + path_channelName + '")');
|
|
5012
|
+
}
|
|
5013
|
+
})();
|
|
5014
|
+
if (obj_channelName_union0_error != null) {
|
|
5015
|
+
obj_channelName_union0 = obj_channelName_union0_error.message;
|
|
5016
|
+
}
|
|
5017
|
+
let obj_channelName_union1 = null;
|
|
5018
|
+
const obj_channelName_union1_error = (() => {
|
|
5019
|
+
if (obj_channelName !== null) {
|
|
5020
|
+
return new TypeError('Expected "null" but received "' + typeof obj_channelName + '" (at "' + path_channelName + '")');
|
|
5021
|
+
}
|
|
5022
|
+
})();
|
|
5023
|
+
if (obj_channelName_union1_error != null) {
|
|
5024
|
+
obj_channelName_union1 = obj_channelName_union1_error.message;
|
|
5025
|
+
}
|
|
5026
|
+
if (obj_channelName_union0 && obj_channelName_union1) {
|
|
5027
|
+
let message = 'Object doesn\'t match union (at "' + path_channelName + '")';
|
|
5028
|
+
message += '\n' + obj_channelName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
5029
|
+
message += '\n' + obj_channelName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5030
|
+
return new TypeError(message);
|
|
5010
5031
|
}
|
|
5011
5032
|
const obj_previewEndpoint = obj.previewEndpoint;
|
|
5012
5033
|
const path_previewEndpoint = path + '.previewEndpoint';
|
|
5013
|
-
|
|
5014
|
-
|
|
5034
|
+
let obj_previewEndpoint_union0 = null;
|
|
5035
|
+
const obj_previewEndpoint_union0_error = (() => {
|
|
5036
|
+
if (typeof obj_previewEndpoint !== 'string') {
|
|
5037
|
+
return new TypeError('Expected "string" but received "' + typeof obj_previewEndpoint + '" (at "' + path_previewEndpoint + '")');
|
|
5038
|
+
}
|
|
5039
|
+
})();
|
|
5040
|
+
if (obj_previewEndpoint_union0_error != null) {
|
|
5041
|
+
obj_previewEndpoint_union0 = obj_previewEndpoint_union0_error.message;
|
|
5042
|
+
}
|
|
5043
|
+
let obj_previewEndpoint_union1 = null;
|
|
5044
|
+
const obj_previewEndpoint_union1_error = (() => {
|
|
5045
|
+
if (obj_previewEndpoint !== null) {
|
|
5046
|
+
return new TypeError('Expected "null" but received "' + typeof obj_previewEndpoint + '" (at "' + path_previewEndpoint + '")');
|
|
5047
|
+
}
|
|
5048
|
+
})();
|
|
5049
|
+
if (obj_previewEndpoint_union1_error != null) {
|
|
5050
|
+
obj_previewEndpoint_union1 = obj_previewEndpoint_union1_error.message;
|
|
5051
|
+
}
|
|
5052
|
+
if (obj_previewEndpoint_union0 && obj_previewEndpoint_union1) {
|
|
5053
|
+
let message = 'Object doesn\'t match union (at "' + path_previewEndpoint + '")';
|
|
5054
|
+
message += '\n' + obj_previewEndpoint_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
5055
|
+
message += '\n' + obj_previewEndpoint_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5056
|
+
return new TypeError(message);
|
|
5015
5057
|
}
|
|
5016
5058
|
})();
|
|
5017
5059
|
return v_error === undefined ? null : v_error;
|
|
@@ -10314,4 +10356,4 @@ withDefaultLuvio((luvio) => {
|
|
|
10314
10356
|
});
|
|
10315
10357
|
|
|
10316
10358
|
export { createDeployment, createManagedContent, createManagedContentExportV2Job, createManagedContentImportV2Job, createManagedContentVariant, createTranslationV2Job, deleteManagedContentVariant, getAllCMSJobsForSpace, getAllCMSJobsForSpace_imperative, getCMSJobForSpace, getCMSJobForSpaceNotifyChange, getCMSJobForSpace_imperative, getCollectionItems, getCollectionItems_imperative, getDeploymentById, getDeploymentById_imperative, getManagedContent, getManagedContentByFolderId, getManagedContentByFolderId_imperative, getManagedContentPreviews, getManagedContentPreviews_imperative, getManagedContentReferencedBy, getManagedContentReferencedBy_imperative, getManagedContentSpace, getManagedContentSpaceFolderItemsV1, getManagedContentSpaceFolderItemsV1_imperative, getManagedContentSpaceNotifyChange, getManagedContentSpaceOrchestratorConfig, getManagedContentSpaceOrchestratorConfigNotifyChange, getManagedContentSpaceOrchestratorConfig_imperative, getManagedContentSpace_imperative, getManagedContentSpaces, getManagedContentSpaces_imperative, getManagedContentTypesForMixin, getManagedContentTypesForMixin_imperative, getManagedContentVariant, getManagedContentVariantNotifyChange, getManagedContentVariantReferences, getManagedContentVariantReferences_imperative, getManagedContentVariantRendition, getManagedContentVariantRendition_imperative, getManagedContentVariantVersions, getManagedContentVariantVersionsNotifyChange, getManagedContentVariantVersions_imperative, getManagedContentVariant_imperative, getManagedContent_imperative, getSearchResults, getSearchResults_imperative, patchManagedContentSpace, publishManagedContent, putManagedContentSpaceOrchestratorConfig, replaceManagedContentVariant, unpublishManagedContent };
|
|
10317
|
-
// version: 1.
|
|
10359
|
+
// version: 1.202.1-0644fb410
|
package/src/raml/api.raml
CHANGED
|
@@ -1270,10 +1270,10 @@ types:
|
|
|
1270
1270
|
properties:
|
|
1271
1271
|
channelName:
|
|
1272
1272
|
description: ManagedContent channel name
|
|
1273
|
-
type: string
|
|
1273
|
+
type: string | nil
|
|
1274
1274
|
previewEndpoint:
|
|
1275
1275
|
description: ManagedContent previewEndpoint
|
|
1276
|
-
type: string
|
|
1276
|
+
type: string | nil
|
|
1277
1277
|
ManagedContentPublishInputRepresentation:
|
|
1278
1278
|
description: Input required for publishing content
|
|
1279
1279
|
type: object
|