@salesforce/lds-adapters-cms-authoring 1.329.1 → 1.331.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.
- package/dist/es/es2018/cms-authoring.js +70 -70
- package/dist/es/es2018/types/src/generated/adapters/getManagedContentSpaceByFullyQualifiedName.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/resources/{getConnectCmsSpacesBySpaceFullyQualifiedName.d.ts → getConnectCmsSpacesByFullyQualifiedName.d.ts} +1 -1
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceByFQNRepresentation.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceRepresentation.d.ts +4 -4
- package/package.json +4 -4
- package/sfdc/index.js +71 -71
- package/src/raml/api.raml +4 -4
- package/src/raml/luvio.raml +3 -3
|
@@ -10470,7 +10470,7 @@ function equals$a(existing, incoming) {
|
|
|
10470
10470
|
}
|
|
10471
10471
|
|
|
10472
10472
|
const TTL$8 = 100;
|
|
10473
|
-
const VERSION$9 = "
|
|
10473
|
+
const VERSION$9 = "fcd22afa547ee1fc7cbf6899f0957a5e";
|
|
10474
10474
|
function validate$e(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
10475
10475
|
const v_error = (() => {
|
|
10476
10476
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -10576,6 +10576,34 @@ function validate$e(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
|
10576
10576
|
message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
10577
10577
|
return new TypeError(message);
|
|
10578
10578
|
}
|
|
10579
|
+
if (obj.fullyQualifiedName !== undefined) {
|
|
10580
|
+
const obj_fullyQualifiedName = obj.fullyQualifiedName;
|
|
10581
|
+
const path_fullyQualifiedName = path + '.fullyQualifiedName';
|
|
10582
|
+
let obj_fullyQualifiedName_union0 = null;
|
|
10583
|
+
const obj_fullyQualifiedName_union0_error = (() => {
|
|
10584
|
+
if (typeof obj_fullyQualifiedName !== 'string') {
|
|
10585
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fullyQualifiedName + '" (at "' + path_fullyQualifiedName + '")');
|
|
10586
|
+
}
|
|
10587
|
+
})();
|
|
10588
|
+
if (obj_fullyQualifiedName_union0_error != null) {
|
|
10589
|
+
obj_fullyQualifiedName_union0 = obj_fullyQualifiedName_union0_error.message;
|
|
10590
|
+
}
|
|
10591
|
+
let obj_fullyQualifiedName_union1 = null;
|
|
10592
|
+
const obj_fullyQualifiedName_union1_error = (() => {
|
|
10593
|
+
if (obj_fullyQualifiedName !== null) {
|
|
10594
|
+
return new TypeError('Expected "null" but received "' + typeof obj_fullyQualifiedName + '" (at "' + path_fullyQualifiedName + '")');
|
|
10595
|
+
}
|
|
10596
|
+
})();
|
|
10597
|
+
if (obj_fullyQualifiedName_union1_error != null) {
|
|
10598
|
+
obj_fullyQualifiedName_union1 = obj_fullyQualifiedName_union1_error.message;
|
|
10599
|
+
}
|
|
10600
|
+
if (obj_fullyQualifiedName_union0 && obj_fullyQualifiedName_union1) {
|
|
10601
|
+
let message = 'Object doesn\'t match union (at "' + path_fullyQualifiedName + '")';
|
|
10602
|
+
message += '\n' + obj_fullyQualifiedName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
10603
|
+
message += '\n' + obj_fullyQualifiedName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
10604
|
+
return new TypeError(message);
|
|
10605
|
+
}
|
|
10606
|
+
}
|
|
10579
10607
|
const obj_id = obj.id;
|
|
10580
10608
|
const path_id = path + '.id';
|
|
10581
10609
|
if (typeof obj_id !== 'string') {
|
|
@@ -10641,34 +10669,6 @@ function validate$e(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
|
10641
10669
|
if (typeof obj_rootFolderId !== 'string') {
|
|
10642
10670
|
return new TypeError('Expected "string" but received "' + typeof obj_rootFolderId + '" (at "' + path_rootFolderId + '")');
|
|
10643
10671
|
}
|
|
10644
|
-
if (obj.spaceFullyQualifiedName !== undefined) {
|
|
10645
|
-
const obj_spaceFullyQualifiedName = obj.spaceFullyQualifiedName;
|
|
10646
|
-
const path_spaceFullyQualifiedName = path + '.spaceFullyQualifiedName';
|
|
10647
|
-
let obj_spaceFullyQualifiedName_union0 = null;
|
|
10648
|
-
const obj_spaceFullyQualifiedName_union0_error = (() => {
|
|
10649
|
-
if (typeof obj_spaceFullyQualifiedName !== 'string') {
|
|
10650
|
-
return new TypeError('Expected "string" but received "' + typeof obj_spaceFullyQualifiedName + '" (at "' + path_spaceFullyQualifiedName + '")');
|
|
10651
|
-
}
|
|
10652
|
-
})();
|
|
10653
|
-
if (obj_spaceFullyQualifiedName_union0_error != null) {
|
|
10654
|
-
obj_spaceFullyQualifiedName_union0 = obj_spaceFullyQualifiedName_union0_error.message;
|
|
10655
|
-
}
|
|
10656
|
-
let obj_spaceFullyQualifiedName_union1 = null;
|
|
10657
|
-
const obj_spaceFullyQualifiedName_union1_error = (() => {
|
|
10658
|
-
if (obj_spaceFullyQualifiedName !== null) {
|
|
10659
|
-
return new TypeError('Expected "null" but received "' + typeof obj_spaceFullyQualifiedName + '" (at "' + path_spaceFullyQualifiedName + '")');
|
|
10660
|
-
}
|
|
10661
|
-
})();
|
|
10662
|
-
if (obj_spaceFullyQualifiedName_union1_error != null) {
|
|
10663
|
-
obj_spaceFullyQualifiedName_union1 = obj_spaceFullyQualifiedName_union1_error.message;
|
|
10664
|
-
}
|
|
10665
|
-
if (obj_spaceFullyQualifiedName_union0 && obj_spaceFullyQualifiedName_union1) {
|
|
10666
|
-
let message = 'Object doesn\'t match union (at "' + path_spaceFullyQualifiedName + '")';
|
|
10667
|
-
message += '\n' + obj_spaceFullyQualifiedName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
10668
|
-
message += '\n' + obj_spaceFullyQualifiedName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
10669
|
-
return new TypeError(message);
|
|
10670
|
-
}
|
|
10671
|
-
}
|
|
10672
10672
|
if (obj.supportedLanguages !== undefined) {
|
|
10673
10673
|
const obj_supportedLanguages = obj.supportedLanguages;
|
|
10674
10674
|
const path_supportedLanguages = path + '.supportedLanguages';
|
|
@@ -13221,7 +13221,7 @@ const getManagedContentPreviewsAdapterFactory = (luvio) => function CMSAuthoring
|
|
|
13221
13221
|
};
|
|
13222
13222
|
|
|
13223
13223
|
const TTL$1 = 3600000;
|
|
13224
|
-
const VERSION$1 = "
|
|
13224
|
+
const VERSION$1 = "44f13d3083ea2235e3214f7012b54f25";
|
|
13225
13225
|
function validate$1(obj, path = 'ManagedContentSpaceByFQNRepresentation') {
|
|
13226
13226
|
const v_error = (() => {
|
|
13227
13227
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -13327,6 +13327,32 @@ function validate$1(obj, path = 'ManagedContentSpaceByFQNRepresentation') {
|
|
|
13327
13327
|
message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
13328
13328
|
return new TypeError(message);
|
|
13329
13329
|
}
|
|
13330
|
+
const obj_fullyQualifiedName = obj.fullyQualifiedName;
|
|
13331
|
+
const path_fullyQualifiedName = path + '.fullyQualifiedName';
|
|
13332
|
+
let obj_fullyQualifiedName_union0 = null;
|
|
13333
|
+
const obj_fullyQualifiedName_union0_error = (() => {
|
|
13334
|
+
if (typeof obj_fullyQualifiedName !== 'string') {
|
|
13335
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fullyQualifiedName + '" (at "' + path_fullyQualifiedName + '")');
|
|
13336
|
+
}
|
|
13337
|
+
})();
|
|
13338
|
+
if (obj_fullyQualifiedName_union0_error != null) {
|
|
13339
|
+
obj_fullyQualifiedName_union0 = obj_fullyQualifiedName_union0_error.message;
|
|
13340
|
+
}
|
|
13341
|
+
let obj_fullyQualifiedName_union1 = null;
|
|
13342
|
+
const obj_fullyQualifiedName_union1_error = (() => {
|
|
13343
|
+
if (obj_fullyQualifiedName !== null) {
|
|
13344
|
+
return new TypeError('Expected "null" but received "' + typeof obj_fullyQualifiedName + '" (at "' + path_fullyQualifiedName + '")');
|
|
13345
|
+
}
|
|
13346
|
+
})();
|
|
13347
|
+
if (obj_fullyQualifiedName_union1_error != null) {
|
|
13348
|
+
obj_fullyQualifiedName_union1 = obj_fullyQualifiedName_union1_error.message;
|
|
13349
|
+
}
|
|
13350
|
+
if (obj_fullyQualifiedName_union0 && obj_fullyQualifiedName_union1) {
|
|
13351
|
+
let message = 'Object doesn\'t match union (at "' + path_fullyQualifiedName + '")';
|
|
13352
|
+
message += '\n' + obj_fullyQualifiedName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
13353
|
+
message += '\n' + obj_fullyQualifiedName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
13354
|
+
return new TypeError(message);
|
|
13355
|
+
}
|
|
13330
13356
|
const obj_id = obj.id;
|
|
13331
13357
|
const path_id = path + '.id';
|
|
13332
13358
|
if (typeof obj_id !== 'string') {
|
|
@@ -13392,32 +13418,6 @@ function validate$1(obj, path = 'ManagedContentSpaceByFQNRepresentation') {
|
|
|
13392
13418
|
if (typeof obj_rootFolderId !== 'string') {
|
|
13393
13419
|
return new TypeError('Expected "string" but received "' + typeof obj_rootFolderId + '" (at "' + path_rootFolderId + '")');
|
|
13394
13420
|
}
|
|
13395
|
-
const obj_spaceFullyQualifiedName = obj.spaceFullyQualifiedName;
|
|
13396
|
-
const path_spaceFullyQualifiedName = path + '.spaceFullyQualifiedName';
|
|
13397
|
-
let obj_spaceFullyQualifiedName_union0 = null;
|
|
13398
|
-
const obj_spaceFullyQualifiedName_union0_error = (() => {
|
|
13399
|
-
if (typeof obj_spaceFullyQualifiedName !== 'string') {
|
|
13400
|
-
return new TypeError('Expected "string" but received "' + typeof obj_spaceFullyQualifiedName + '" (at "' + path_spaceFullyQualifiedName + '")');
|
|
13401
|
-
}
|
|
13402
|
-
})();
|
|
13403
|
-
if (obj_spaceFullyQualifiedName_union0_error != null) {
|
|
13404
|
-
obj_spaceFullyQualifiedName_union0 = obj_spaceFullyQualifiedName_union0_error.message;
|
|
13405
|
-
}
|
|
13406
|
-
let obj_spaceFullyQualifiedName_union1 = null;
|
|
13407
|
-
const obj_spaceFullyQualifiedName_union1_error = (() => {
|
|
13408
|
-
if (obj_spaceFullyQualifiedName !== null) {
|
|
13409
|
-
return new TypeError('Expected "null" but received "' + typeof obj_spaceFullyQualifiedName + '" (at "' + path_spaceFullyQualifiedName + '")');
|
|
13410
|
-
}
|
|
13411
|
-
})();
|
|
13412
|
-
if (obj_spaceFullyQualifiedName_union1_error != null) {
|
|
13413
|
-
obj_spaceFullyQualifiedName_union1 = obj_spaceFullyQualifiedName_union1_error.message;
|
|
13414
|
-
}
|
|
13415
|
-
if (obj_spaceFullyQualifiedName_union0 && obj_spaceFullyQualifiedName_union1) {
|
|
13416
|
-
let message = 'Object doesn\'t match union (at "' + path_spaceFullyQualifiedName + '")';
|
|
13417
|
-
message += '\n' + obj_spaceFullyQualifiedName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
13418
|
-
message += '\n' + obj_spaceFullyQualifiedName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
13419
|
-
return new TypeError(message);
|
|
13420
|
-
}
|
|
13421
13421
|
if (obj.supportedLanguages !== undefined) {
|
|
13422
13422
|
const obj_supportedLanguages = obj.supportedLanguages;
|
|
13423
13423
|
const path_supportedLanguages = path + '.supportedLanguages';
|
|
@@ -13437,11 +13437,11 @@ function validate$1(obj, path = 'ManagedContentSpaceByFQNRepresentation') {
|
|
|
13437
13437
|
}
|
|
13438
13438
|
const RepresentationType$1 = 'ManagedContentSpaceByFQNRepresentation';
|
|
13439
13439
|
function keyBuilder$6(luvio, config) {
|
|
13440
|
-
return keyPrefix + '::' + RepresentationType$1 + ':' + (config.
|
|
13440
|
+
return keyPrefix + '::' + RepresentationType$1 + ':' + (config.fullyQualifiedName === null ? '' : config.fullyQualifiedName);
|
|
13441
13441
|
}
|
|
13442
13442
|
function keyBuilderFromType(luvio, object) {
|
|
13443
13443
|
const keyParams = {
|
|
13444
|
-
|
|
13444
|
+
fullyQualifiedName: object.fullyQualifiedName
|
|
13445
13445
|
};
|
|
13446
13446
|
return keyBuilder$6(luvio, keyParams);
|
|
13447
13447
|
}
|
|
@@ -13483,6 +13483,10 @@ const select$4 = function ManagedContentSpaceByFQNRepresentationSelect() {
|
|
|
13483
13483
|
name: 'description',
|
|
13484
13484
|
kind: 'Scalar'
|
|
13485
13485
|
},
|
|
13486
|
+
{
|
|
13487
|
+
name: 'fullyQualifiedName',
|
|
13488
|
+
kind: 'Scalar'
|
|
13489
|
+
},
|
|
13486
13490
|
{
|
|
13487
13491
|
name: 'id',
|
|
13488
13492
|
kind: 'Scalar'
|
|
@@ -13517,10 +13521,6 @@ const select$4 = function ManagedContentSpaceByFQNRepresentationSelect() {
|
|
|
13517
13521
|
name: 'rootFolderId',
|
|
13518
13522
|
kind: 'Scalar'
|
|
13519
13523
|
},
|
|
13520
|
-
{
|
|
13521
|
-
name: 'spaceFullyQualifiedName',
|
|
13522
|
-
kind: 'Scalar'
|
|
13523
|
-
},
|
|
13524
13524
|
{
|
|
13525
13525
|
name: 'supportedLanguages',
|
|
13526
13526
|
kind: 'Scalar',
|
|
@@ -13631,16 +13631,16 @@ function equals$1(existing, incoming) {
|
|
|
13631
13631
|
if (!(existing_description === incoming_description)) {
|
|
13632
13632
|
return false;
|
|
13633
13633
|
}
|
|
13634
|
+
const existing_fullyQualifiedName = existing.fullyQualifiedName;
|
|
13635
|
+
const incoming_fullyQualifiedName = incoming.fullyQualifiedName;
|
|
13636
|
+
if (!(existing_fullyQualifiedName === incoming_fullyQualifiedName)) {
|
|
13637
|
+
return false;
|
|
13638
|
+
}
|
|
13634
13639
|
const existing_isFlowOrchestrationEnabled = existing.isFlowOrchestrationEnabled;
|
|
13635
13640
|
const incoming_isFlowOrchestrationEnabled = incoming.isFlowOrchestrationEnabled;
|
|
13636
13641
|
if (!(existing_isFlowOrchestrationEnabled === incoming_isFlowOrchestrationEnabled)) {
|
|
13637
13642
|
return false;
|
|
13638
13643
|
}
|
|
13639
|
-
const existing_spaceFullyQualifiedName = existing.spaceFullyQualifiedName;
|
|
13640
|
-
const incoming_spaceFullyQualifiedName = incoming.spaceFullyQualifiedName;
|
|
13641
|
-
if (!(existing_spaceFullyQualifiedName === incoming_spaceFullyQualifiedName)) {
|
|
13642
|
-
return false;
|
|
13643
|
-
}
|
|
13644
13644
|
const existing_supportedLanguages = existing.supportedLanguages;
|
|
13645
13645
|
const incoming_supportedLanguages = incoming.supportedLanguages;
|
|
13646
13646
|
// if at least one of these optionals is defined
|
|
@@ -13688,7 +13688,7 @@ function select$3(luvio, params) {
|
|
|
13688
13688
|
}
|
|
13689
13689
|
function keyBuilder$5(luvio, params) {
|
|
13690
13690
|
return keyBuilder$6(luvio, {
|
|
13691
|
-
|
|
13691
|
+
fullyQualifiedName: params.urlParams.fullyQualifiedName
|
|
13692
13692
|
});
|
|
13693
13693
|
}
|
|
13694
13694
|
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
@@ -13727,7 +13727,7 @@ function createResourceRequest$2(config) {
|
|
|
13727
13727
|
const headers = {};
|
|
13728
13728
|
return {
|
|
13729
13729
|
baseUri: '/services/data/v63.0',
|
|
13730
|
-
basePath: '/connect/cms/spaces/' + config.urlParams.
|
|
13730
|
+
basePath: '/connect/cms/spaces/' + config.urlParams.fullyQualifiedName + '',
|
|
13731
13731
|
method: 'get',
|
|
13732
13732
|
body: null,
|
|
13733
13733
|
urlParams: config.urlParams,
|
|
@@ -13739,7 +13739,7 @@ function createResourceRequest$2(config) {
|
|
|
13739
13739
|
|
|
13740
13740
|
const adapterName$2 = 'getManagedContentSpaceByFullyQualifiedName';
|
|
13741
13741
|
const getManagedContentSpaceByFullyQualifiedName_ConfigPropertyMetadata = [
|
|
13742
|
-
generateParamConfigMetadata('
|
|
13742
|
+
generateParamConfigMetadata('fullyQualifiedName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
13743
13743
|
];
|
|
13744
13744
|
const getManagedContentSpaceByFullyQualifiedName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getManagedContentSpaceByFullyQualifiedName_ConfigPropertyMetadata);
|
|
13745
13745
|
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$N(getManagedContentSpaceByFullyQualifiedName_ConfigPropertyMetadata);
|
package/dist/es/es2018/types/src/generated/adapters/getManagedContentSpaceByFullyQualifiedName.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
-
import { ResourceRequestConfig as
|
|
3
|
+
import { ResourceRequestConfig as resources_getConnectCmsSpacesByFullyQualifiedName_ResourceRequestConfig } from '../resources/getConnectCmsSpacesByFullyQualifiedName';
|
|
4
4
|
import { ManagedContentSpaceByFQNRepresentation as types_ManagedContentSpaceByFQNRepresentation_ManagedContentSpaceByFQNRepresentation } from '../types/ManagedContentSpaceByFQNRepresentation';
|
|
5
5
|
export declare const adapterName = "getManagedContentSpaceByFullyQualifiedName";
|
|
6
6
|
export declare const getManagedContentSpaceByFullyQualifiedName_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
7
|
export declare const getManagedContentSpaceByFullyQualifiedName_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface GetManagedContentSpaceByFullyQualifiedNameConfig {
|
|
9
|
-
|
|
9
|
+
fullyQualifiedName: string;
|
|
10
10
|
}
|
|
11
|
-
export declare const createResourceParams: (config: GetManagedContentSpaceByFullyQualifiedNameConfig) =>
|
|
11
|
+
export declare const createResourceParams: (config: GetManagedContentSpaceByFullyQualifiedNameConfig) => resources_getConnectCmsSpacesByFullyQualifiedName_ResourceRequestConfig;
|
|
12
12
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetManagedContentSpaceByFullyQualifiedNameConfig): string;
|
|
13
13
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetManagedContentSpaceByFullyQualifiedNameConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
14
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetManagedContentSpaceByFullyQualifiedNameConfig>): adapter$45$utils_Untrusted<GetManagedContentSpaceByFullyQualifiedNameConfig>;
|
|
15
15
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetManagedContentSpaceByFullyQualifiedNameConfig | null;
|
|
16
16
|
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetManagedContentSpaceByFullyQualifiedNameConfig): $64$luvio_engine_Fragment;
|
|
17
17
|
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetManagedContentSpaceByFullyQualifiedNameConfig): $64$luvio_engine_Snapshot<types_ManagedContentSpaceByFQNRepresentation_ManagedContentSpaceByFQNRepresentation, any>;
|
|
18
|
-
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetManagedContentSpaceByFullyQualifiedNameConfig, resourceParams:
|
|
19
|
-
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetManagedContentSpaceByFullyQualifiedNameConfig, resourceParams:
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetManagedContentSpaceByFullyQualifiedNameConfig, resourceParams: resources_getConnectCmsSpacesByFullyQualifiedName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ManagedContentSpaceByFQNRepresentation_ManagedContentSpaceByFQNRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ManagedContentSpaceByFQNRepresentation_ManagedContentSpaceByFQNRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ManagedContentSpaceByFQNRepresentation_ManagedContentSpaceByFQNRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ManagedContentSpaceByFQNRepresentation_ManagedContentSpaceByFQNRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetManagedContentSpaceByFullyQualifiedNameConfig, resourceParams: resources_getConnectCmsSpacesByFullyQualifiedName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
20
|
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetManagedContentSpaceByFullyQualifiedNameConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ManagedContentSpaceByFQNRepresentation_ManagedContentSpaceByFQNRepresentation, any>>;
|
|
21
21
|
export type BuildSnapshotContext = {
|
|
22
22
|
luvio: $64$luvio_engine_Luvio;
|
|
@@ -2,7 +2,7 @@ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
|
|
|
2
2
|
import { ManagedContentSpaceByFQNRepresentation as types_ManagedContentSpaceByFQNRepresentation_ManagedContentSpaceByFQNRepresentation } from '../types/ManagedContentSpaceByFQNRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
urlParams: {
|
|
5
|
-
|
|
5
|
+
fullyQualifiedName: string;
|
|
6
6
|
};
|
|
7
7
|
}
|
|
8
8
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
package/dist/es/es2018/types/src/generated/types/ManagedContentSpaceByFQNRepresentation.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ManagedContentSpaceBaseTypeRepresentation as ManagedContentSpaceBaseTypeRepresentation_ManagedContentSpaceBaseTypeRepresentation } from './ManagedContentSpaceBaseTypeRepresentation';
|
|
2
2
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
3
|
export declare const TTL = 3600000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "44f13d3083ea2235e3214f7012b54f25";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
-
|
|
8
|
+
fullyQualifiedName: string | null;
|
|
9
9
|
}
|
|
10
10
|
export type ManagedContentSpaceByFQNRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
11
|
export type PartialManagedContentSpaceByFQNRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
@@ -22,7 +22,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
22
22
|
* Details of a Managed Content Space
|
|
23
23
|
*
|
|
24
24
|
* Keys:
|
|
25
|
-
*
|
|
25
|
+
* fullyQualifiedName (string | null): fullyQualifiedName
|
|
26
26
|
*/
|
|
27
27
|
export interface ManagedContentSpaceByFQNRepresentationNormalized {
|
|
28
28
|
/** Api Name of the Managed Content Space */
|
|
@@ -37,6 +37,8 @@ export interface ManagedContentSpaceByFQNRepresentationNormalized {
|
|
|
37
37
|
defaultLanguage: string;
|
|
38
38
|
/** Description of the Managed Content Space */
|
|
39
39
|
description: string | null;
|
|
40
|
+
/** FQN for the Managed Content Space */
|
|
41
|
+
fullyQualifiedName: string | null;
|
|
40
42
|
/** Id of the Managed Content Space */
|
|
41
43
|
id: string;
|
|
42
44
|
/** Boolean flag if space is of enhanced type. */
|
|
@@ -53,8 +55,6 @@ export interface ManagedContentSpaceByFQNRepresentationNormalized {
|
|
|
53
55
|
name: string;
|
|
54
56
|
/** Root Folder Id of the Managed Content Space */
|
|
55
57
|
rootFolderId: string;
|
|
56
|
-
/** FQN for the Managed Content Space */
|
|
57
|
-
spaceFullyQualifiedName: string | null;
|
|
58
58
|
/** Set of supported languages in the Managed Content Space */
|
|
59
59
|
supportedLanguages?: Array<string>;
|
|
60
60
|
}
|
|
@@ -62,7 +62,7 @@ export interface ManagedContentSpaceByFQNRepresentationNormalized {
|
|
|
62
62
|
* Details of a Managed Content Space
|
|
63
63
|
*
|
|
64
64
|
* Keys:
|
|
65
|
-
*
|
|
65
|
+
* fullyQualifiedName (string | null): fullyQualifiedName
|
|
66
66
|
*/
|
|
67
67
|
export interface ManagedContentSpaceByFQNRepresentation {
|
|
68
68
|
apiName?: string | null;
|
|
@@ -71,6 +71,7 @@ export interface ManagedContentSpaceByFQNRepresentation {
|
|
|
71
71
|
createdDate: string;
|
|
72
72
|
defaultLanguage: string;
|
|
73
73
|
description: string | null;
|
|
74
|
+
fullyQualifiedName: string | null;
|
|
74
75
|
id: string;
|
|
75
76
|
isEnhancedSpace?: boolean;
|
|
76
77
|
isFlowOrchestrationEnabled: boolean | null;
|
|
@@ -79,6 +80,5 @@ export interface ManagedContentSpaceByFQNRepresentation {
|
|
|
79
80
|
lastModifiedDate: string;
|
|
80
81
|
name: string;
|
|
81
82
|
rootFolderId: string;
|
|
82
|
-
spaceFullyQualifiedName: string | null;
|
|
83
83
|
supportedLanguages?: Array<string>;
|
|
84
84
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ManagedContentSpaceBaseTypeRepresentation as ManagedContentSpaceBaseTypeRepresentation_ManagedContentSpaceBaseTypeRepresentation } from './ManagedContentSpaceBaseTypeRepresentation';
|
|
2
2
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
3
|
export declare const TTL = 100;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "fcd22afa547ee1fc7cbf6899f0957a5e";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -37,6 +37,8 @@ export interface ManagedContentSpaceRepresentationNormalized {
|
|
|
37
37
|
defaultLanguage: string;
|
|
38
38
|
/** Description of the Managed Content Space */
|
|
39
39
|
description: string | null;
|
|
40
|
+
/** FQN for the Managed Content Space */
|
|
41
|
+
fullyQualifiedName?: string | null;
|
|
40
42
|
/** Id of the Managed Content Space */
|
|
41
43
|
id: string;
|
|
42
44
|
/** Boolean flag if space is of enhanced type. */
|
|
@@ -53,8 +55,6 @@ export interface ManagedContentSpaceRepresentationNormalized {
|
|
|
53
55
|
name: string;
|
|
54
56
|
/** Root Folder Id of the Managed Content Space */
|
|
55
57
|
rootFolderId: string;
|
|
56
|
-
/** FQN for the Managed Content Space */
|
|
57
|
-
spaceFullyQualifiedName?: string | null;
|
|
58
58
|
/** Set of supported languages in the Managed Content Space */
|
|
59
59
|
supportedLanguages?: Array<string>;
|
|
60
60
|
}
|
|
@@ -71,6 +71,7 @@ export interface ManagedContentSpaceRepresentation {
|
|
|
71
71
|
createdDate: string;
|
|
72
72
|
defaultLanguage: string;
|
|
73
73
|
description: string | null;
|
|
74
|
+
fullyQualifiedName?: string | null;
|
|
74
75
|
id: string;
|
|
75
76
|
isEnhancedSpace?: boolean;
|
|
76
77
|
isFlowOrchestrationEnabled: boolean | null;
|
|
@@ -79,6 +80,5 @@ export interface ManagedContentSpaceRepresentation {
|
|
|
79
80
|
lastModifiedDate: string;
|
|
80
81
|
name: string;
|
|
81
82
|
rootFolderId: string;
|
|
82
|
-
spaceFullyQualifiedName?: string | null;
|
|
83
83
|
supportedLanguages?: Array<string>;
|
|
84
84
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cms-authoring",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.331.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.331.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
51
|
-
"@salesforce/lds-karma": "^1.
|
|
50
|
+
"@salesforce/lds-compiler-plugins": "^1.331.0",
|
|
51
|
+
"@salesforce/lds-karma": "^1.331.0"
|
|
52
52
|
},
|
|
53
53
|
"nx": {
|
|
54
54
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -8230,7 +8230,7 @@ function equals$j(existing, incoming) {
|
|
|
8230
8230
|
}
|
|
8231
8231
|
|
|
8232
8232
|
const TTL$i = 100;
|
|
8233
|
-
const VERSION$i = "
|
|
8233
|
+
const VERSION$i = "fcd22afa547ee1fc7cbf6899f0957a5e";
|
|
8234
8234
|
function validate$x(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
8235
8235
|
const v_error = (() => {
|
|
8236
8236
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -8336,6 +8336,34 @@ function validate$x(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
|
8336
8336
|
message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
8337
8337
|
return new TypeError(message);
|
|
8338
8338
|
}
|
|
8339
|
+
if (obj.fullyQualifiedName !== undefined) {
|
|
8340
|
+
const obj_fullyQualifiedName = obj.fullyQualifiedName;
|
|
8341
|
+
const path_fullyQualifiedName = path + '.fullyQualifiedName';
|
|
8342
|
+
let obj_fullyQualifiedName_union0 = null;
|
|
8343
|
+
const obj_fullyQualifiedName_union0_error = (() => {
|
|
8344
|
+
if (typeof obj_fullyQualifiedName !== 'string') {
|
|
8345
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fullyQualifiedName + '" (at "' + path_fullyQualifiedName + '")');
|
|
8346
|
+
}
|
|
8347
|
+
})();
|
|
8348
|
+
if (obj_fullyQualifiedName_union0_error != null) {
|
|
8349
|
+
obj_fullyQualifiedName_union0 = obj_fullyQualifiedName_union0_error.message;
|
|
8350
|
+
}
|
|
8351
|
+
let obj_fullyQualifiedName_union1 = null;
|
|
8352
|
+
const obj_fullyQualifiedName_union1_error = (() => {
|
|
8353
|
+
if (obj_fullyQualifiedName !== null) {
|
|
8354
|
+
return new TypeError('Expected "null" but received "' + typeof obj_fullyQualifiedName + '" (at "' + path_fullyQualifiedName + '")');
|
|
8355
|
+
}
|
|
8356
|
+
})();
|
|
8357
|
+
if (obj_fullyQualifiedName_union1_error != null) {
|
|
8358
|
+
obj_fullyQualifiedName_union1 = obj_fullyQualifiedName_union1_error.message;
|
|
8359
|
+
}
|
|
8360
|
+
if (obj_fullyQualifiedName_union0 && obj_fullyQualifiedName_union1) {
|
|
8361
|
+
let message = 'Object doesn\'t match union (at "' + path_fullyQualifiedName + '")';
|
|
8362
|
+
message += '\n' + obj_fullyQualifiedName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
8363
|
+
message += '\n' + obj_fullyQualifiedName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
8364
|
+
return new TypeError(message);
|
|
8365
|
+
}
|
|
8366
|
+
}
|
|
8339
8367
|
const obj_id = obj.id;
|
|
8340
8368
|
const path_id = path + '.id';
|
|
8341
8369
|
if (typeof obj_id !== 'string') {
|
|
@@ -8401,34 +8429,6 @@ function validate$x(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
|
8401
8429
|
if (typeof obj_rootFolderId !== 'string') {
|
|
8402
8430
|
return new TypeError('Expected "string" but received "' + typeof obj_rootFolderId + '" (at "' + path_rootFolderId + '")');
|
|
8403
8431
|
}
|
|
8404
|
-
if (obj.spaceFullyQualifiedName !== undefined) {
|
|
8405
|
-
const obj_spaceFullyQualifiedName = obj.spaceFullyQualifiedName;
|
|
8406
|
-
const path_spaceFullyQualifiedName = path + '.spaceFullyQualifiedName';
|
|
8407
|
-
let obj_spaceFullyQualifiedName_union0 = null;
|
|
8408
|
-
const obj_spaceFullyQualifiedName_union0_error = (() => {
|
|
8409
|
-
if (typeof obj_spaceFullyQualifiedName !== 'string') {
|
|
8410
|
-
return new TypeError('Expected "string" but received "' + typeof obj_spaceFullyQualifiedName + '" (at "' + path_spaceFullyQualifiedName + '")');
|
|
8411
|
-
}
|
|
8412
|
-
})();
|
|
8413
|
-
if (obj_spaceFullyQualifiedName_union0_error != null) {
|
|
8414
|
-
obj_spaceFullyQualifiedName_union0 = obj_spaceFullyQualifiedName_union0_error.message;
|
|
8415
|
-
}
|
|
8416
|
-
let obj_spaceFullyQualifiedName_union1 = null;
|
|
8417
|
-
const obj_spaceFullyQualifiedName_union1_error = (() => {
|
|
8418
|
-
if (obj_spaceFullyQualifiedName !== null) {
|
|
8419
|
-
return new TypeError('Expected "null" but received "' + typeof obj_spaceFullyQualifiedName + '" (at "' + path_spaceFullyQualifiedName + '")');
|
|
8420
|
-
}
|
|
8421
|
-
})();
|
|
8422
|
-
if (obj_spaceFullyQualifiedName_union1_error != null) {
|
|
8423
|
-
obj_spaceFullyQualifiedName_union1 = obj_spaceFullyQualifiedName_union1_error.message;
|
|
8424
|
-
}
|
|
8425
|
-
if (obj_spaceFullyQualifiedName_union0 && obj_spaceFullyQualifiedName_union1) {
|
|
8426
|
-
let message = 'Object doesn\'t match union (at "' + path_spaceFullyQualifiedName + '")';
|
|
8427
|
-
message += '\n' + obj_spaceFullyQualifiedName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
8428
|
-
message += '\n' + obj_spaceFullyQualifiedName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
8429
|
-
return new TypeError(message);
|
|
8430
|
-
}
|
|
8431
|
-
}
|
|
8432
8432
|
if (obj.supportedLanguages !== undefined) {
|
|
8433
8433
|
const obj_supportedLanguages = obj.supportedLanguages;
|
|
8434
8434
|
const path_supportedLanguages = path + '.supportedLanguages';
|
|
@@ -8677,7 +8677,7 @@ const notifyChangeFactory$3 = (luvio, options) => {
|
|
|
8677
8677
|
};
|
|
8678
8678
|
|
|
8679
8679
|
const TTL$h = 3600000;
|
|
8680
|
-
const VERSION$h = "
|
|
8680
|
+
const VERSION$h = "44f13d3083ea2235e3214f7012b54f25";
|
|
8681
8681
|
function validate$w(obj, path = 'ManagedContentSpaceByFQNRepresentation') {
|
|
8682
8682
|
const v_error = (() => {
|
|
8683
8683
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -8783,6 +8783,32 @@ function validate$w(obj, path = 'ManagedContentSpaceByFQNRepresentation') {
|
|
|
8783
8783
|
message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
8784
8784
|
return new TypeError(message);
|
|
8785
8785
|
}
|
|
8786
|
+
const obj_fullyQualifiedName = obj.fullyQualifiedName;
|
|
8787
|
+
const path_fullyQualifiedName = path + '.fullyQualifiedName';
|
|
8788
|
+
let obj_fullyQualifiedName_union0 = null;
|
|
8789
|
+
const obj_fullyQualifiedName_union0_error = (() => {
|
|
8790
|
+
if (typeof obj_fullyQualifiedName !== 'string') {
|
|
8791
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fullyQualifiedName + '" (at "' + path_fullyQualifiedName + '")');
|
|
8792
|
+
}
|
|
8793
|
+
})();
|
|
8794
|
+
if (obj_fullyQualifiedName_union0_error != null) {
|
|
8795
|
+
obj_fullyQualifiedName_union0 = obj_fullyQualifiedName_union0_error.message;
|
|
8796
|
+
}
|
|
8797
|
+
let obj_fullyQualifiedName_union1 = null;
|
|
8798
|
+
const obj_fullyQualifiedName_union1_error = (() => {
|
|
8799
|
+
if (obj_fullyQualifiedName !== null) {
|
|
8800
|
+
return new TypeError('Expected "null" but received "' + typeof obj_fullyQualifiedName + '" (at "' + path_fullyQualifiedName + '")');
|
|
8801
|
+
}
|
|
8802
|
+
})();
|
|
8803
|
+
if (obj_fullyQualifiedName_union1_error != null) {
|
|
8804
|
+
obj_fullyQualifiedName_union1 = obj_fullyQualifiedName_union1_error.message;
|
|
8805
|
+
}
|
|
8806
|
+
if (obj_fullyQualifiedName_union0 && obj_fullyQualifiedName_union1) {
|
|
8807
|
+
let message = 'Object doesn\'t match union (at "' + path_fullyQualifiedName + '")';
|
|
8808
|
+
message += '\n' + obj_fullyQualifiedName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
8809
|
+
message += '\n' + obj_fullyQualifiedName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
8810
|
+
return new TypeError(message);
|
|
8811
|
+
}
|
|
8786
8812
|
const obj_id = obj.id;
|
|
8787
8813
|
const path_id = path + '.id';
|
|
8788
8814
|
if (typeof obj_id !== 'string') {
|
|
@@ -8848,32 +8874,6 @@ function validate$w(obj, path = 'ManagedContentSpaceByFQNRepresentation') {
|
|
|
8848
8874
|
if (typeof obj_rootFolderId !== 'string') {
|
|
8849
8875
|
return new TypeError('Expected "string" but received "' + typeof obj_rootFolderId + '" (at "' + path_rootFolderId + '")');
|
|
8850
8876
|
}
|
|
8851
|
-
const obj_spaceFullyQualifiedName = obj.spaceFullyQualifiedName;
|
|
8852
|
-
const path_spaceFullyQualifiedName = path + '.spaceFullyQualifiedName';
|
|
8853
|
-
let obj_spaceFullyQualifiedName_union0 = null;
|
|
8854
|
-
const obj_spaceFullyQualifiedName_union0_error = (() => {
|
|
8855
|
-
if (typeof obj_spaceFullyQualifiedName !== 'string') {
|
|
8856
|
-
return new TypeError('Expected "string" but received "' + typeof obj_spaceFullyQualifiedName + '" (at "' + path_spaceFullyQualifiedName + '")');
|
|
8857
|
-
}
|
|
8858
|
-
})();
|
|
8859
|
-
if (obj_spaceFullyQualifiedName_union0_error != null) {
|
|
8860
|
-
obj_spaceFullyQualifiedName_union0 = obj_spaceFullyQualifiedName_union0_error.message;
|
|
8861
|
-
}
|
|
8862
|
-
let obj_spaceFullyQualifiedName_union1 = null;
|
|
8863
|
-
const obj_spaceFullyQualifiedName_union1_error = (() => {
|
|
8864
|
-
if (obj_spaceFullyQualifiedName !== null) {
|
|
8865
|
-
return new TypeError('Expected "null" but received "' + typeof obj_spaceFullyQualifiedName + '" (at "' + path_spaceFullyQualifiedName + '")');
|
|
8866
|
-
}
|
|
8867
|
-
})();
|
|
8868
|
-
if (obj_spaceFullyQualifiedName_union1_error != null) {
|
|
8869
|
-
obj_spaceFullyQualifiedName_union1 = obj_spaceFullyQualifiedName_union1_error.message;
|
|
8870
|
-
}
|
|
8871
|
-
if (obj_spaceFullyQualifiedName_union0 && obj_spaceFullyQualifiedName_union1) {
|
|
8872
|
-
let message = 'Object doesn\'t match union (at "' + path_spaceFullyQualifiedName + '")';
|
|
8873
|
-
message += '\n' + obj_spaceFullyQualifiedName_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
8874
|
-
message += '\n' + obj_spaceFullyQualifiedName_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
8875
|
-
return new TypeError(message);
|
|
8876
|
-
}
|
|
8877
8877
|
if (obj.supportedLanguages !== undefined) {
|
|
8878
8878
|
const obj_supportedLanguages = obj.supportedLanguages;
|
|
8879
8879
|
const path_supportedLanguages = path + '.supportedLanguages';
|
|
@@ -8893,11 +8893,11 @@ function validate$w(obj, path = 'ManagedContentSpaceByFQNRepresentation') {
|
|
|
8893
8893
|
}
|
|
8894
8894
|
const RepresentationType$h = 'ManagedContentSpaceByFQNRepresentation';
|
|
8895
8895
|
function keyBuilder$y(luvio, config) {
|
|
8896
|
-
return keyPrefix + '::' + RepresentationType$h + ':' + (config.
|
|
8896
|
+
return keyPrefix + '::' + RepresentationType$h + ':' + (config.fullyQualifiedName === null ? '' : config.fullyQualifiedName);
|
|
8897
8897
|
}
|
|
8898
8898
|
function keyBuilderFromType$8(luvio, object) {
|
|
8899
8899
|
const keyParams = {
|
|
8900
|
-
|
|
8900
|
+
fullyQualifiedName: object.fullyQualifiedName
|
|
8901
8901
|
};
|
|
8902
8902
|
return keyBuilder$y(luvio, keyParams);
|
|
8903
8903
|
}
|
|
@@ -8939,6 +8939,10 @@ const select$F = function ManagedContentSpaceByFQNRepresentationSelect() {
|
|
|
8939
8939
|
name: 'description',
|
|
8940
8940
|
kind: 'Scalar'
|
|
8941
8941
|
},
|
|
8942
|
+
{
|
|
8943
|
+
name: 'fullyQualifiedName',
|
|
8944
|
+
kind: 'Scalar'
|
|
8945
|
+
},
|
|
8942
8946
|
{
|
|
8943
8947
|
name: 'id',
|
|
8944
8948
|
kind: 'Scalar'
|
|
@@ -8973,10 +8977,6 @@ const select$F = function ManagedContentSpaceByFQNRepresentationSelect() {
|
|
|
8973
8977
|
name: 'rootFolderId',
|
|
8974
8978
|
kind: 'Scalar'
|
|
8975
8979
|
},
|
|
8976
|
-
{
|
|
8977
|
-
name: 'spaceFullyQualifiedName',
|
|
8978
|
-
kind: 'Scalar'
|
|
8979
|
-
},
|
|
8980
8980
|
{
|
|
8981
8981
|
name: 'supportedLanguages',
|
|
8982
8982
|
kind: 'Scalar',
|
|
@@ -9087,16 +9087,16 @@ function equals$h(existing, incoming) {
|
|
|
9087
9087
|
if (!(existing_description === incoming_description)) {
|
|
9088
9088
|
return false;
|
|
9089
9089
|
}
|
|
9090
|
+
const existing_fullyQualifiedName = existing.fullyQualifiedName;
|
|
9091
|
+
const incoming_fullyQualifiedName = incoming.fullyQualifiedName;
|
|
9092
|
+
if (!(existing_fullyQualifiedName === incoming_fullyQualifiedName)) {
|
|
9093
|
+
return false;
|
|
9094
|
+
}
|
|
9090
9095
|
const existing_isFlowOrchestrationEnabled = existing.isFlowOrchestrationEnabled;
|
|
9091
9096
|
const incoming_isFlowOrchestrationEnabled = incoming.isFlowOrchestrationEnabled;
|
|
9092
9097
|
if (!(existing_isFlowOrchestrationEnabled === incoming_isFlowOrchestrationEnabled)) {
|
|
9093
9098
|
return false;
|
|
9094
9099
|
}
|
|
9095
|
-
const existing_spaceFullyQualifiedName = existing.spaceFullyQualifiedName;
|
|
9096
|
-
const incoming_spaceFullyQualifiedName = incoming.spaceFullyQualifiedName;
|
|
9097
|
-
if (!(existing_spaceFullyQualifiedName === incoming_spaceFullyQualifiedName)) {
|
|
9098
|
-
return false;
|
|
9099
|
-
}
|
|
9100
9100
|
const existing_supportedLanguages = existing.supportedLanguages;
|
|
9101
9101
|
const incoming_supportedLanguages = incoming.supportedLanguages;
|
|
9102
9102
|
// if at least one of these optionals is defined
|
|
@@ -9144,7 +9144,7 @@ function select$E(luvio, params) {
|
|
|
9144
9144
|
}
|
|
9145
9145
|
function keyBuilder$x(luvio, params) {
|
|
9146
9146
|
return keyBuilder$y(luvio, {
|
|
9147
|
-
|
|
9147
|
+
fullyQualifiedName: params.urlParams.fullyQualifiedName
|
|
9148
9148
|
});
|
|
9149
9149
|
}
|
|
9150
9150
|
function getResponseCacheKeys$n(storeKeyMap, luvio, resourceParams, response) {
|
|
@@ -9183,7 +9183,7 @@ function createResourceRequest$n(config) {
|
|
|
9183
9183
|
const headers = {};
|
|
9184
9184
|
return {
|
|
9185
9185
|
baseUri: '/services/data/v63.0',
|
|
9186
|
-
basePath: '/connect/cms/spaces/' + config.urlParams.
|
|
9186
|
+
basePath: '/connect/cms/spaces/' + config.urlParams.fullyQualifiedName + '',
|
|
9187
9187
|
method: 'get',
|
|
9188
9188
|
body: null,
|
|
9189
9189
|
urlParams: config.urlParams,
|
|
@@ -9195,7 +9195,7 @@ function createResourceRequest$n(config) {
|
|
|
9195
9195
|
|
|
9196
9196
|
const adapterName$n = 'getManagedContentSpaceByFullyQualifiedName';
|
|
9197
9197
|
const getManagedContentSpaceByFullyQualifiedName_ConfigPropertyMetadata = [
|
|
9198
|
-
generateParamConfigMetadata('
|
|
9198
|
+
generateParamConfigMetadata('fullyQualifiedName', true, 0 /* UrlParameter */, 0 /* String */),
|
|
9199
9199
|
];
|
|
9200
9200
|
const getManagedContentSpaceByFullyQualifiedName_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$n, getManagedContentSpaceByFullyQualifiedName_ConfigPropertyMetadata);
|
|
9201
9201
|
const createResourceParams$n = /*#__PURE__*/ createResourceParams$N(getManagedContentSpaceByFullyQualifiedName_ConfigPropertyMetadata);
|
|
@@ -14902,4 +14902,4 @@ withDefaultLuvio((luvio) => {
|
|
|
14902
14902
|
});
|
|
14903
14903
|
|
|
14904
14904
|
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, 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, 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 };
|
|
14905
|
-
// version: 1.
|
|
14905
|
+
// version: 1.331.0-e9c482e8ab
|
package/src/raml/api.raml
CHANGED
|
@@ -2348,7 +2348,7 @@ types:
|
|
|
2348
2348
|
rootFolderId:
|
|
2349
2349
|
description: Root Folder Id of the Managed Content Space
|
|
2350
2350
|
type: string
|
|
2351
|
-
|
|
2351
|
+
fullyQualifiedName:
|
|
2352
2352
|
description: FQN for the Managed Content Space
|
|
2353
2353
|
type: string | nil # TODO handrolled W-17143102
|
|
2354
2354
|
required: false # TODO handrolled W-17221615
|
|
@@ -2408,7 +2408,7 @@ types:
|
|
|
2408
2408
|
rootFolderId:
|
|
2409
2409
|
description: Root Folder Id of the Managed Content Space
|
|
2410
2410
|
type: string
|
|
2411
|
-
|
|
2411
|
+
fullyQualifiedName:
|
|
2412
2412
|
description: FQN for the Managed Content Space
|
|
2413
2413
|
type: string | nil # TODO handrolled W-17143102
|
|
2414
2414
|
supportedLanguages:
|
|
@@ -5335,7 +5335,7 @@ types:
|
|
|
5335
5335
|
contentSpaceId:
|
|
5336
5336
|
type: string
|
|
5337
5337
|
required: true
|
|
5338
|
-
/spaces/{
|
|
5338
|
+
/spaces/{fullyQualifiedName}:
|
|
5339
5339
|
get:
|
|
5340
5340
|
displayName: getManagedContentSpaceFullyQualifiedName
|
|
5341
5341
|
description: Get a specific ManagedContentSpace record
|
|
@@ -5346,7 +5346,7 @@ types:
|
|
|
5346
5346
|
application/json:
|
|
5347
5347
|
type: ManagedContentSpaceByFQNRepresentation
|
|
5348
5348
|
uriParameters:
|
|
5349
|
-
|
|
5349
|
+
fullyQualifiedName:
|
|
5350
5350
|
type: string
|
|
5351
5351
|
required: true
|
|
5352
5352
|
/communities/{communityId}/managed-content/delivery:
|
package/src/raml/luvio.raml
CHANGED
|
@@ -80,7 +80,7 @@ types:
|
|
|
80
80
|
ManagedContentSpaceByFQNRepresentation:
|
|
81
81
|
(luvio.ttl): 3600000
|
|
82
82
|
(luvio.key):
|
|
83
|
-
|
|
83
|
+
fullyQualifiedName: fullyQualifiedName
|
|
84
84
|
ManagedContentSpaceFolderItemV1CollectionRepresentation:
|
|
85
85
|
(luvio.ttl): 100
|
|
86
86
|
(luvio.opaque): true
|
|
@@ -812,12 +812,12 @@ types:
|
|
|
812
812
|
get:
|
|
813
813
|
(luvio.adapter):
|
|
814
814
|
name: getManagedContentPreviews
|
|
815
|
-
/spaces/{
|
|
815
|
+
/spaces/{fullyQualifiedName}:
|
|
816
816
|
get:
|
|
817
817
|
(luvio.adapter):
|
|
818
818
|
name: getManagedContentSpaceByFullyQualifiedName
|
|
819
819
|
(luvio.key):
|
|
820
|
-
|
|
820
|
+
fullyQualifiedName: urlParams.fullyQualifiedName
|
|
821
821
|
/sites/{siteId}:
|
|
822
822
|
/cms:
|
|
823
823
|
/contents/{contentKeyOrId}:
|