@salesforce/lds-adapters-cms-authoring 1.308.0 → 1.309.0-dev8
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.
|
@@ -3084,7 +3084,7 @@ function equals$v(existing, incoming) {
|
|
|
3084
3084
|
}
|
|
3085
3085
|
|
|
3086
3086
|
const TTL$t = 120000;
|
|
3087
|
-
const VERSION$u = "
|
|
3087
|
+
const VERSION$u = "2b181cae4ba3acd340f11988d5b92475";
|
|
3088
3088
|
function validate$Y(obj, path = 'ManagedContentProviderCollectionRepresentation') {
|
|
3089
3089
|
const v_error = (() => {
|
|
3090
3090
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3092,29 +3092,8 @@ function validate$Y(obj, path = 'ManagedContentProviderCollectionRepresentation'
|
|
|
3092
3092
|
}
|
|
3093
3093
|
const obj_currentPageUrl = obj.currentPageUrl;
|
|
3094
3094
|
const path_currentPageUrl = path + '.currentPageUrl';
|
|
3095
|
-
|
|
3096
|
-
|
|
3097
|
-
if (typeof obj_currentPageUrl !== 'string') {
|
|
3098
|
-
return new TypeError('Expected "string" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
|
|
3099
|
-
}
|
|
3100
|
-
})();
|
|
3101
|
-
if (obj_currentPageUrl_union0_error != null) {
|
|
3102
|
-
obj_currentPageUrl_union0 = obj_currentPageUrl_union0_error.message;
|
|
3103
|
-
}
|
|
3104
|
-
let obj_currentPageUrl_union1 = null;
|
|
3105
|
-
const obj_currentPageUrl_union1_error = (() => {
|
|
3106
|
-
if (obj_currentPageUrl !== null) {
|
|
3107
|
-
return new TypeError('Expected "null" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
|
|
3108
|
-
}
|
|
3109
|
-
})();
|
|
3110
|
-
if (obj_currentPageUrl_union1_error != null) {
|
|
3111
|
-
obj_currentPageUrl_union1 = obj_currentPageUrl_union1_error.message;
|
|
3112
|
-
}
|
|
3113
|
-
if (obj_currentPageUrl_union0 && obj_currentPageUrl_union1) {
|
|
3114
|
-
let message = 'Object doesn\'t match union (at "' + path_currentPageUrl + '")';
|
|
3115
|
-
message += '\n' + obj_currentPageUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
3116
|
-
message += '\n' + obj_currentPageUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
3117
|
-
return new TypeError(message);
|
|
3095
|
+
if (typeof obj_currentPageUrl !== 'string') {
|
|
3096
|
+
return new TypeError('Expected "string" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
|
|
3118
3097
|
}
|
|
3119
3098
|
const obj_nextPageUrl = obj.nextPageUrl;
|
|
3120
3099
|
const path_nextPageUrl = path + '.nextPageUrl';
|
package/dist/es/es2018/types/src/generated/types/ManagedContentProviderCollectionRepresentation.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ManagedContentProviderRepresentation as ManagedContentProviderRepresentation_ManagedContentProviderRepresentation } from './ManagedContentProviderRepresentation';
|
|
2
2
|
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';
|
|
3
3
|
export declare const TTL = 120000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "2b181cae4ba3acd340f11988d5b92475";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export declare function normalize(input: ManagedContentProviderCollectionRepresentation, existing: ManagedContentProviderCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentProviderCollectionRepresentationNormalized;
|
|
@@ -17,7 +17,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
17
17
|
*/
|
|
18
18
|
export interface ManagedContentProviderCollectionRepresentationNormalized {
|
|
19
19
|
/** URL to the current page of managed content providers. */
|
|
20
|
-
currentPageUrl: string
|
|
20
|
+
currentPageUrl: string;
|
|
21
21
|
/** URL to the next page of managed content providers. */
|
|
22
22
|
nextPageUrl: string | null;
|
|
23
23
|
/** Managed content providers for this page. */
|
|
@@ -32,7 +32,7 @@ export interface ManagedContentProviderCollectionRepresentationNormalized {
|
|
|
32
32
|
* (none)
|
|
33
33
|
*/
|
|
34
34
|
export interface ManagedContentProviderCollectionRepresentation {
|
|
35
|
-
currentPageUrl: string
|
|
35
|
+
currentPageUrl: string;
|
|
36
36
|
nextPageUrl: string | null;
|
|
37
37
|
providers: Array<ManagedContentProviderRepresentation_ManagedContentProviderRepresentation>;
|
|
38
38
|
total: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cms-authoring",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.309.0-dev8",
|
|
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.309.0-dev8"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
51
|
-
"@salesforce/lds-karma": "^1.
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.309.0-dev8",
|
|
51
|
+
"@salesforce/lds-karma": "^1.309.0-dev8"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -6921,7 +6921,7 @@ function equals$l(existing, incoming) {
|
|
|
6921
6921
|
}
|
|
6922
6922
|
|
|
6923
6923
|
const TTL$k = 120000;
|
|
6924
|
-
const VERSION$k = "
|
|
6924
|
+
const VERSION$k = "2b181cae4ba3acd340f11988d5b92475";
|
|
6925
6925
|
function validate$A(obj, path = 'ManagedContentProviderCollectionRepresentation') {
|
|
6926
6926
|
const v_error = (() => {
|
|
6927
6927
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -6929,29 +6929,8 @@ function validate$A(obj, path = 'ManagedContentProviderCollectionRepresentation'
|
|
|
6929
6929
|
}
|
|
6930
6930
|
const obj_currentPageUrl = obj.currentPageUrl;
|
|
6931
6931
|
const path_currentPageUrl = path + '.currentPageUrl';
|
|
6932
|
-
|
|
6933
|
-
|
|
6934
|
-
if (typeof obj_currentPageUrl !== 'string') {
|
|
6935
|
-
return new TypeError('Expected "string" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
|
|
6936
|
-
}
|
|
6937
|
-
})();
|
|
6938
|
-
if (obj_currentPageUrl_union0_error != null) {
|
|
6939
|
-
obj_currentPageUrl_union0 = obj_currentPageUrl_union0_error.message;
|
|
6940
|
-
}
|
|
6941
|
-
let obj_currentPageUrl_union1 = null;
|
|
6942
|
-
const obj_currentPageUrl_union1_error = (() => {
|
|
6943
|
-
if (obj_currentPageUrl !== null) {
|
|
6944
|
-
return new TypeError('Expected "null" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
|
|
6945
|
-
}
|
|
6946
|
-
})();
|
|
6947
|
-
if (obj_currentPageUrl_union1_error != null) {
|
|
6948
|
-
obj_currentPageUrl_union1 = obj_currentPageUrl_union1_error.message;
|
|
6949
|
-
}
|
|
6950
|
-
if (obj_currentPageUrl_union0 && obj_currentPageUrl_union1) {
|
|
6951
|
-
let message = 'Object doesn\'t match union (at "' + path_currentPageUrl + '")';
|
|
6952
|
-
message += '\n' + obj_currentPageUrl_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
6953
|
-
message += '\n' + obj_currentPageUrl_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
6954
|
-
return new TypeError(message);
|
|
6932
|
+
if (typeof obj_currentPageUrl !== 'string') {
|
|
6933
|
+
return new TypeError('Expected "string" but received "' + typeof obj_currentPageUrl + '" (at "' + path_currentPageUrl + '")');
|
|
6955
6934
|
}
|
|
6956
6935
|
const obj_nextPageUrl = obj.nextPageUrl;
|
|
6957
6936
|
const path_nextPageUrl = path + '.nextPageUrl';
|
|
@@ -13815,4 +13794,4 @@ withDefaultLuvio((luvio) => {
|
|
|
13815
13794
|
});
|
|
13816
13795
|
|
|
13817
13796
|
export { cloneManagedContentDocument, createDeployment, createManagedContent, createManagedContentExportV2Job, createManagedContentImportV2Job, createManagedContentTranslationVariants, createManagedContentVariant, createSchedule, createTranslationV2Job, deleteManagedContentVariant, getAllCMSJobsForSpace, getAllCMSJobsForSpace_imperative, getCMSJobForSpace, getCMSJobForSpaceNotifyChange, getCMSJobForSpace_imperative, getCollectionItems, getCollectionItems_imperative, getDeployments, getDeployments_imperative, getMCSFolderShareTargets, getMCSFolderShareTargets_imperative, getMCSFolderShares, getMCSFolderSharesNotifyChange, getMCSFolderShares_imperative, getManagedContent, getManagedContentByFolderId, getManagedContentByFolderId_imperative, getManagedContentForSite, getManagedContentForSite_imperative, getManagedContentPreviews, getManagedContentPreviews_imperative, getManagedContentProviders, getManagedContentProviders_imperative, getManagedContentReferencedBy, getManagedContentReferencedBy_imperative, getManagedContentSingleItem, getManagedContentSingleItem_imperative, getManagedContentSpace, 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, postManagedContentSpaceFolder, publishManagedContent, putManagedContentSpaceOrchestratorConfig, replaceManagedContentVariant, unpublishManagedContent, updateDeployment, updateMCSFolderShares, updateManagedContentTaxonomyTerms, updateManagedContentWebUrl };
|
|
13818
|
-
// version: 1.
|
|
13797
|
+
// version: 1.309.0-dev8-411e383cef
|
package/src/raml/api.raml
CHANGED
|
@@ -1550,7 +1550,7 @@ types:
|
|
|
1550
1550
|
properties:
|
|
1551
1551
|
currentPageUrl:
|
|
1552
1552
|
description: URL to the current page of managed content providers.
|
|
1553
|
-
type: string
|
|
1553
|
+
type: string
|
|
1554
1554
|
nextPageUrl:
|
|
1555
1555
|
description: URL to the next page of managed content providers.
|
|
1556
1556
|
type: string | nil
|