@salesforce/lds-adapters-cms-authoring 1.393.0 → 1.395.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -14314,8 +14314,8 @@ function validate$5(obj, path = 'ManagedContentComponentSizeRepresentation') {
|
|
|
14314
14314
|
}
|
|
14315
14315
|
const obj_height = obj.height;
|
|
14316
14316
|
const path_height = path + '.height';
|
|
14317
|
-
if (typeof obj_height !== '
|
|
14318
|
-
return new TypeError('Expected "
|
|
14317
|
+
if (typeof obj_height !== 'number' || (typeof obj_height === 'number' && Math.floor(obj_height) !== obj_height)) {
|
|
14318
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_height + '" (at "' + path_height + '")');
|
|
14319
14319
|
}
|
|
14320
14320
|
const obj_width = obj.width;
|
|
14321
14321
|
const path_width = path + '.width';
|
package/dist/es/es2018/types/src/generated/types/ManagedContentComponentSizeRepresentation.d.ts
CHANGED
|
@@ -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 = "610cda3ad7d1953842383e92fe7eda80";
|
|
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: ManagedContentComponentSizeRepresentation, existing: ManagedContentComponentSizeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentComponentSizeRepresentationNormalized;
|
|
@@ -14,9 +14,9 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface ManagedContentComponentSizeRepresentationNormalized {
|
|
17
|
-
/** Height of the
|
|
18
|
-
height:
|
|
19
|
-
/** Width of the
|
|
17
|
+
/** Height of the extension */
|
|
18
|
+
height: number;
|
|
19
|
+
/** Width of the extension */
|
|
20
20
|
width: string;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
@@ -26,6 +26,6 @@ export interface ManagedContentComponentSizeRepresentationNormalized {
|
|
|
26
26
|
* (none)
|
|
27
27
|
*/
|
|
28
28
|
export interface ManagedContentComponentSizeRepresentation {
|
|
29
|
-
height:
|
|
29
|
+
height: number;
|
|
30
30
|
width: string;
|
|
31
31
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cms-authoring",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.395.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapters for CMS authoring APIs",
|
|
6
6
|
"main": "dist/es/es2018/cms-authoring.js",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"test:unit": "jest"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
47
|
+
"@salesforce/lds-bindings": "^1.395.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
51
|
-
"@salesforce/lds-karma": "^1.
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.395.0",
|
|
51
|
+
"@salesforce/lds-karma": "^1.395.0"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -6228,7 +6228,6 @@ function onFetchResponseSuccess$p(luvio, config, resourceParams, response) {
|
|
|
6228
6228
|
// for ManagedContentDocumentRepresentation (content_key: contentKey).
|
|
6229
6229
|
// With this we can pass managedContentId or contentKey and the wireadapter
|
|
6230
6230
|
// would behave correctly irrespective of which field is passed.
|
|
6231
|
-
var _a;
|
|
6232
6231
|
resourceParams.urlParams.contentKeyOrId = response.body.contentKey;
|
|
6233
6232
|
// If language is not provided in the request resource params use language
|
|
6234
6233
|
// returned in the response and update resource params with that language,
|
|
@@ -6265,7 +6264,7 @@ function onFetchResponseSuccess$p(luvio, config, resourceParams, response) {
|
|
|
6265
6264
|
// returned in the response and update resource params with that version,
|
|
6266
6265
|
// since this resource params are used to build a cache key to verify that
|
|
6267
6266
|
// data was ingested into cache.
|
|
6268
|
-
|
|
6267
|
+
resourceParams.queryParams.variantVersion ||= response.body.variantVersion;
|
|
6269
6268
|
return onFetchResponseSuccess$o(luvio, config, resourceParams, response);
|
|
6270
6269
|
}
|
|
6271
6270
|
|
|
@@ -7009,8 +7008,8 @@ function validate$M(obj, path = 'ManagedContentComponentSizeRepresentation') {
|
|
|
7009
7008
|
}
|
|
7010
7009
|
const obj_height = obj.height;
|
|
7011
7010
|
const path_height = path + '.height';
|
|
7012
|
-
if (typeof obj_height !== '
|
|
7013
|
-
return new TypeError('Expected "
|
|
7011
|
+
if (typeof obj_height !== 'number' || (typeof obj_height === 'number' && Math.floor(obj_height) !== obj_height)) {
|
|
7012
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_height + '" (at "' + path_height + '")');
|
|
7014
7013
|
}
|
|
7015
7014
|
const obj_width = obj.width;
|
|
7016
7015
|
const path_width = path + '.width';
|
|
@@ -15925,4 +15924,4 @@ withDefaultLuvio((luvio) => {
|
|
|
15925
15924
|
});
|
|
15926
15925
|
|
|
15927
15926
|
export { cloneManagedContentDocument, createDeployment, createManagedContent, createManagedContentExportV2Job, createManagedContentImportV2Job, createManagedContentTranslationVariants, createManagedContentVariant, createSchedule, createTranslationV2Job, deleteManagedContentVariant, getAllCMSJobsForSpace, getAllCMSJobsForSpace_imperative, getCMSJobForSpace, getCMSJobForSpaceNotifyChange, getCMSJobForSpace_imperative, getCollectionItems, getCollectionItems_imperative, getDeployments, getDeployments_imperative, getFormEmbedScript, getFormEmbedScript_imperative, getFormHandlerEmbedScript, getFormHandlerEmbedScript_imperative, getMCSFolderShareTargets, getMCSFolderShareTargets_imperative, getMCSFolderShares, getMCSFolderSharesNotifyChange, getMCSFolderShares_imperative, getManagedContent, getManagedContentByFolderId, getManagedContentByFolderId_imperative, getManagedContentDocumentCollection, getManagedContentDocumentCollection_imperative, getManagedContentExtensions, getManagedContentExtensions_imperative, getManagedContentForSite, getManagedContentForSite_imperative, getManagedContentPreviews, getManagedContentPreviews_imperative, getManagedContentProviders, getManagedContentProviders_imperative, getManagedContentReferencedBy, getManagedContentReferencedBy_imperative, getManagedContentSingleItem, getManagedContentSingleItem_imperative, getManagedContentSpace, getManagedContentSpaceByFullyQualifiedName, getManagedContentSpaceByFullyQualifiedName_imperative, getManagedContentSpaceFolder, getManagedContentSpaceFolderItemsV1, getManagedContentSpaceFolderItemsV1_imperative, getManagedContentSpaceFolder_imperative, getManagedContentSpaceNotifyChange, getManagedContentSpaceOrchestratorConfig, getManagedContentSpaceOrchestratorConfigNotifyChange, getManagedContentSpaceOrchestratorConfig_imperative, getManagedContentSpace_imperative, getManagedContentSpaces, getManagedContentSpaces_imperative, getManagedContentTaxonomyTerms, getManagedContentTaxonomyTerms_imperative, getManagedContentTypesForMixin, getManagedContentTypesForMixin_imperative, getManagedContentVariant, getManagedContentVariantNotifyChange, getManagedContentVariantReferences, getManagedContentVariantReferences_imperative, getManagedContentVariantRendition, getManagedContentVariantRendition_imperative, getManagedContentVariantVersions, getManagedContentVariantVersionsNotifyChange, getManagedContentVariantVersions_imperative, getManagedContentVariant_imperative, getManagedContent_imperative, getSearchResults, getSearchResults_imperative, getWebUrls, getWebUrls_imperative, patchManagedContentSpace, postManagedContentSpace, postManagedContentSpaceFolder, publishManagedContent, putManagedContentSpaceOrchestratorConfig, replaceManagedContentVariant, unpublishManagedContent, updateDeployment, updateMCSFolderShares, updateManagedContentTaxonomyTerms, updateManagedContentWebUrl };
|
|
15928
|
-
// version: 1.
|
|
15927
|
+
// version: 1.395.0-81b62e57cb
|
package/src/raml/api.raml
CHANGED
|
@@ -4085,21 +4085,16 @@ types:
|
|
|
4085
4085
|
type: object
|
|
4086
4086
|
properties:
|
|
4087
4087
|
width:
|
|
4088
|
-
description: Width of the
|
|
4088
|
+
description: Width of the extension
|
|
4089
4089
|
type: string
|
|
4090
4090
|
enum:
|
|
4091
4091
|
- small
|
|
4092
4092
|
- medium
|
|
4093
4093
|
- large
|
|
4094
|
-
-
|
|
4094
|
+
- x-large
|
|
4095
4095
|
height:
|
|
4096
|
-
description: Height of the
|
|
4097
|
-
type:
|
|
4098
|
-
enum:
|
|
4099
|
-
- small
|
|
4100
|
-
- medium
|
|
4101
|
-
- large
|
|
4102
|
-
- full
|
|
4096
|
+
description: Height of the extension
|
|
4097
|
+
type: integer
|
|
4103
4098
|
ManagedContentComponentRepresentation:
|
|
4104
4099
|
description: Output representation of managed content component
|
|
4105
4100
|
type: object
|