@salesforce/lds-adapters-cms-authoring 1.111.4 → 1.112.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 +36 -11
- package/dist/types/src/generated/types/AbstractManagedContentReferencedByItemRepresentation.d.ts +3 -3
- package/dist/types/src/generated/types/ManagedContentSpaceRepresentation.d.ts +3 -3
- package/dist/umd/es2018/cms-authoring.js +36 -11
- package/dist/umd/es5/cms-authoring.js +36 -11
- package/package.json +3 -3
- package/sfdc/index.js +37 -12
- package/src/raml/api.raml +2 -1
|
@@ -4195,13 +4195,15 @@ function validate$e(obj, path = 'AbstractManagedContentReferencedByItemRepresent
|
|
|
4195
4195
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4196
4196
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4197
4197
|
}
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4198
|
+
if (obj.contentType !== undefined) {
|
|
4199
|
+
const obj_contentType = obj.contentType;
|
|
4200
|
+
const path_contentType = path + '.contentType';
|
|
4201
|
+
const referencepath_contentTypeValidationError = validate$A(obj_contentType, path_contentType);
|
|
4202
|
+
if (referencepath_contentTypeValidationError !== null) {
|
|
4203
|
+
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
4204
|
+
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4205
|
+
return new TypeError(message);
|
|
4206
|
+
}
|
|
4205
4207
|
}
|
|
4206
4208
|
const obj_id = obj.id;
|
|
4207
4209
|
const path_id = path + '.id';
|
|
@@ -4256,7 +4258,9 @@ function validate$e(obj, path = 'AbstractManagedContentReferencedByItemRepresent
|
|
|
4256
4258
|
}
|
|
4257
4259
|
function deepFreeze$b(input) {
|
|
4258
4260
|
const input_contentType = input.contentType;
|
|
4259
|
-
|
|
4261
|
+
if (input_contentType !== undefined) {
|
|
4262
|
+
deepFreeze$r(input_contentType);
|
|
4263
|
+
}
|
|
4260
4264
|
const input_referenceTypes = input.referenceTypes;
|
|
4261
4265
|
ObjectFreeze(input_referenceTypes);
|
|
4262
4266
|
ObjectFreeze(input);
|
|
@@ -5804,7 +5808,7 @@ const getSearchResultsAdapterFactory = (luvio) => function CMSAuthoring__getSear
|
|
|
5804
5808
|
};
|
|
5805
5809
|
|
|
5806
5810
|
const TTL$2 = 100;
|
|
5807
|
-
const VERSION$2 = "
|
|
5811
|
+
const VERSION$2 = "acbea7101481aafa270326a8f0ea02a4";
|
|
5808
5812
|
function validate$5(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
5809
5813
|
const v_error = (() => {
|
|
5810
5814
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5827,8 +5831,29 @@ function validate$5(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
|
5827
5831
|
}
|
|
5828
5832
|
const obj_description = obj.description;
|
|
5829
5833
|
const path_description = path + '.description';
|
|
5830
|
-
|
|
5831
|
-
|
|
5834
|
+
let obj_description_union0 = null;
|
|
5835
|
+
const obj_description_union0_error = (() => {
|
|
5836
|
+
if (typeof obj_description !== 'string') {
|
|
5837
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
5838
|
+
}
|
|
5839
|
+
})();
|
|
5840
|
+
if (obj_description_union0_error != null) {
|
|
5841
|
+
obj_description_union0 = obj_description_union0_error.message;
|
|
5842
|
+
}
|
|
5843
|
+
let obj_description_union1 = null;
|
|
5844
|
+
const obj_description_union1_error = (() => {
|
|
5845
|
+
if (obj_description !== null) {
|
|
5846
|
+
return new TypeError('Expected "null" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
5847
|
+
}
|
|
5848
|
+
})();
|
|
5849
|
+
if (obj_description_union1_error != null) {
|
|
5850
|
+
obj_description_union1 = obj_description_union1_error.message;
|
|
5851
|
+
}
|
|
5852
|
+
if (obj_description_union0 && obj_description_union1) {
|
|
5853
|
+
let message = 'Object doesn\'t match union (at "' + path_description + '")';
|
|
5854
|
+
message += '\n' + obj_description_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
5855
|
+
message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5856
|
+
return new TypeError(message);
|
|
5832
5857
|
}
|
|
5833
5858
|
const obj_id = obj.id;
|
|
5834
5859
|
const path_id = path + '.id';
|
package/dist/types/src/generated/types/AbstractManagedContentReferencedByItemRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ManagedContentTypeSummaryRepresentation as ManagedContentTypeSummaryRepresentation_ManagedContentTypeSummaryRepresentation } from './ManagedContentTypeSummaryRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "21aa9771e2293f87f1dbd636a550b112";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: AbstractManagedContentReferencedByItemRepresentation, existing: AbstractManagedContentReferencedByItemRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AbstractManagedContentReferencedByItemRepresentationNormalized;
|
|
@@ -16,7 +16,7 @@ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: A
|
|
|
16
16
|
* (none)
|
|
17
17
|
*/
|
|
18
18
|
export interface AbstractManagedContentReferencedByItemRepresentationNormalized {
|
|
19
|
-
contentType
|
|
19
|
+
contentType?: ManagedContentTypeSummaryRepresentation_ManagedContentTypeSummaryRepresentation;
|
|
20
20
|
/** Id of the source entity referencing this managed content. */
|
|
21
21
|
id: string;
|
|
22
22
|
/** The network id that the site is associated with. */
|
|
@@ -39,7 +39,7 @@ export interface AbstractManagedContentReferencedByItemRepresentationNormalized
|
|
|
39
39
|
* (none)
|
|
40
40
|
*/
|
|
41
41
|
export interface AbstractManagedContentReferencedByItemRepresentation {
|
|
42
|
-
contentType
|
|
42
|
+
contentType?: ManagedContentTypeSummaryRepresentation_ManagedContentTypeSummaryRepresentation;
|
|
43
43
|
id: string;
|
|
44
44
|
networkId?: string;
|
|
45
45
|
referenceTypes: Array<string>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
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';
|
|
2
2
|
export declare const TTL = 100;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "acbea7101481aafa270326a8f0ea02a4";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -32,7 +32,7 @@ export interface ManagedContentSpaceRepresentationNormalized {
|
|
|
32
32
|
/** Default Language of the Managed Content Space */
|
|
33
33
|
defaultLanguage: string;
|
|
34
34
|
/** Description of the Managed Content Space */
|
|
35
|
-
description: string;
|
|
35
|
+
description: string | null;
|
|
36
36
|
/** Id of the Managed Content Space */
|
|
37
37
|
id: string;
|
|
38
38
|
/** Boolean flag depiciting orchestrator module installation status */
|
|
@@ -60,7 +60,7 @@ export interface ManagedContentSpaceRepresentation {
|
|
|
60
60
|
createdBy: string;
|
|
61
61
|
createdDate: string;
|
|
62
62
|
defaultLanguage: string;
|
|
63
|
-
description: string;
|
|
63
|
+
description: string | null;
|
|
64
64
|
id: string;
|
|
65
65
|
isOrchestratorModuleInstalled: boolean | null;
|
|
66
66
|
isSpaceV2?: boolean;
|
|
@@ -4199,13 +4199,15 @@
|
|
|
4199
4199
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4200
4200
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4201
4201
|
}
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4202
|
+
if (obj.contentType !== undefined) {
|
|
4203
|
+
const obj_contentType = obj.contentType;
|
|
4204
|
+
const path_contentType = path + '.contentType';
|
|
4205
|
+
const referencepath_contentTypeValidationError = validate$A(obj_contentType, path_contentType);
|
|
4206
|
+
if (referencepath_contentTypeValidationError !== null) {
|
|
4207
|
+
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
4208
|
+
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
4209
|
+
return new TypeError(message);
|
|
4210
|
+
}
|
|
4209
4211
|
}
|
|
4210
4212
|
const obj_id = obj.id;
|
|
4211
4213
|
const path_id = path + '.id';
|
|
@@ -4260,7 +4262,9 @@
|
|
|
4260
4262
|
}
|
|
4261
4263
|
function deepFreeze$b(input) {
|
|
4262
4264
|
const input_contentType = input.contentType;
|
|
4263
|
-
|
|
4265
|
+
if (input_contentType !== undefined) {
|
|
4266
|
+
deepFreeze$r(input_contentType);
|
|
4267
|
+
}
|
|
4264
4268
|
const input_referenceTypes = input.referenceTypes;
|
|
4265
4269
|
ObjectFreeze(input_referenceTypes);
|
|
4266
4270
|
ObjectFreeze(input);
|
|
@@ -5808,7 +5812,7 @@
|
|
|
5808
5812
|
};
|
|
5809
5813
|
|
|
5810
5814
|
const TTL$2 = 100;
|
|
5811
|
-
const VERSION$2 = "
|
|
5815
|
+
const VERSION$2 = "acbea7101481aafa270326a8f0ea02a4";
|
|
5812
5816
|
function validate$5(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
5813
5817
|
const v_error = (() => {
|
|
5814
5818
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -5831,8 +5835,29 @@
|
|
|
5831
5835
|
}
|
|
5832
5836
|
const obj_description = obj.description;
|
|
5833
5837
|
const path_description = path + '.description';
|
|
5834
|
-
|
|
5835
|
-
|
|
5838
|
+
let obj_description_union0 = null;
|
|
5839
|
+
const obj_description_union0_error = (() => {
|
|
5840
|
+
if (typeof obj_description !== 'string') {
|
|
5841
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
5842
|
+
}
|
|
5843
|
+
})();
|
|
5844
|
+
if (obj_description_union0_error != null) {
|
|
5845
|
+
obj_description_union0 = obj_description_union0_error.message;
|
|
5846
|
+
}
|
|
5847
|
+
let obj_description_union1 = null;
|
|
5848
|
+
const obj_description_union1_error = (() => {
|
|
5849
|
+
if (obj_description !== null) {
|
|
5850
|
+
return new TypeError('Expected "null" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
5851
|
+
}
|
|
5852
|
+
})();
|
|
5853
|
+
if (obj_description_union1_error != null) {
|
|
5854
|
+
obj_description_union1 = obj_description_union1_error.message;
|
|
5855
|
+
}
|
|
5856
|
+
if (obj_description_union0 && obj_description_union1) {
|
|
5857
|
+
let message = 'Object doesn\'t match union (at "' + path_description + '")';
|
|
5858
|
+
message += '\n' + obj_description_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
5859
|
+
message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
5860
|
+
return new TypeError(message);
|
|
5836
5861
|
}
|
|
5837
5862
|
const obj_id = obj.id;
|
|
5838
5863
|
const path_id = path + '.id';
|
|
@@ -4225,13 +4225,15 @@
|
|
|
4225
4225
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4226
4226
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4227
4227
|
}
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4228
|
+
if (obj.contentType !== undefined) {
|
|
4229
|
+
var obj_contentType = obj.contentType;
|
|
4230
|
+
var path_contentType = path + '.contentType';
|
|
4231
|
+
var referencepath_contentTypeValidationError = validate$A(obj_contentType, path_contentType);
|
|
4232
|
+
if (referencepath_contentTypeValidationError !== null) {
|
|
4233
|
+
var message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
4234
|
+
message += referencepath_contentTypeValidationError.message.split('\n').map(function (line) { return '\t' + line; }).join('\n');
|
|
4235
|
+
return new TypeError(message);
|
|
4236
|
+
}
|
|
4235
4237
|
}
|
|
4236
4238
|
var obj_id = obj.id;
|
|
4237
4239
|
var path_id = path + '.id';
|
|
@@ -4286,7 +4288,9 @@
|
|
|
4286
4288
|
}
|
|
4287
4289
|
function deepFreeze$b(input) {
|
|
4288
4290
|
var input_contentType = input.contentType;
|
|
4289
|
-
|
|
4291
|
+
if (input_contentType !== undefined) {
|
|
4292
|
+
deepFreeze$r(input_contentType);
|
|
4293
|
+
}
|
|
4290
4294
|
var input_referenceTypes = input.referenceTypes;
|
|
4291
4295
|
ObjectFreeze(input_referenceTypes);
|
|
4292
4296
|
ObjectFreeze(input);
|
|
@@ -5842,7 +5846,7 @@
|
|
|
5842
5846
|
}; };
|
|
5843
5847
|
|
|
5844
5848
|
var TTL$2 = 100;
|
|
5845
|
-
var VERSION$2 = "
|
|
5849
|
+
var VERSION$2 = "acbea7101481aafa270326a8f0ea02a4";
|
|
5846
5850
|
function validate$5(obj, path) {
|
|
5847
5851
|
if (path === void 0) { path = 'ManagedContentSpaceRepresentation'; }
|
|
5848
5852
|
var v_error = (function () {
|
|
@@ -5866,8 +5870,29 @@
|
|
|
5866
5870
|
}
|
|
5867
5871
|
var obj_description = obj.description;
|
|
5868
5872
|
var path_description = path + '.description';
|
|
5869
|
-
|
|
5870
|
-
|
|
5873
|
+
var obj_description_union0 = null;
|
|
5874
|
+
var obj_description_union0_error = (function () {
|
|
5875
|
+
if (typeof obj_description !== 'string') {
|
|
5876
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
5877
|
+
}
|
|
5878
|
+
})();
|
|
5879
|
+
if (obj_description_union0_error != null) {
|
|
5880
|
+
obj_description_union0 = obj_description_union0_error.message;
|
|
5881
|
+
}
|
|
5882
|
+
var obj_description_union1 = null;
|
|
5883
|
+
var obj_description_union1_error = (function () {
|
|
5884
|
+
if (obj_description !== null) {
|
|
5885
|
+
return new TypeError('Expected "null" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
5886
|
+
}
|
|
5887
|
+
})();
|
|
5888
|
+
if (obj_description_union1_error != null) {
|
|
5889
|
+
obj_description_union1 = obj_description_union1_error.message;
|
|
5890
|
+
}
|
|
5891
|
+
if (obj_description_union0 && obj_description_union1) {
|
|
5892
|
+
var message = 'Object doesn\'t match union (at "' + path_description + '")';
|
|
5893
|
+
message += '\n' + obj_description_union0.split('\n').map(function (line) { return '\t' + line; }).join('\n');
|
|
5894
|
+
message += '\n' + obj_description_union1.split('\n').map(function (line) { return '\t' + line; }).join('\n');
|
|
5895
|
+
return new TypeError(message);
|
|
5871
5896
|
}
|
|
5872
5897
|
var obj_id = obj.id;
|
|
5873
5898
|
var path_id = path + '.id';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cms-authoring",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.112.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapters for CMS authoring APIs",
|
|
6
6
|
"main": "dist/umd/es2018/cms-authoring.js",
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"test:unit": "jest"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@salesforce/lds-bindings": "^1.
|
|
48
|
+
"@salesforce/lds-bindings": "^1.112.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@luvio/cli": "0.136.5",
|
|
52
52
|
"@luvio/compiler": "0.136.5",
|
|
53
53
|
"@luvio/engine": "0.136.5",
|
|
54
54
|
"@luvio/lwc-luvio": "0.136.5",
|
|
55
|
-
"@salesforce/lds-karma": "^1.
|
|
55
|
+
"@salesforce/lds-karma": "^1.112.0"
|
|
56
56
|
},
|
|
57
57
|
"nx": {
|
|
58
58
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -3642,13 +3642,15 @@ function validate$g(obj, path = 'AbstractManagedContentReferencedByItemRepresent
|
|
|
3642
3642
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3643
3643
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3644
3644
|
}
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3645
|
+
if (obj.contentType !== undefined) {
|
|
3646
|
+
const obj_contentType = obj.contentType;
|
|
3647
|
+
const path_contentType = path + '.contentType';
|
|
3648
|
+
const referencepath_contentTypeValidationError = validate$y(obj_contentType, path_contentType);
|
|
3649
|
+
if (referencepath_contentTypeValidationError !== null) {
|
|
3650
|
+
let message = 'Object doesn\'t match ManagedContentTypeSummaryRepresentation (at "' + path_contentType + '")\n';
|
|
3651
|
+
message += referencepath_contentTypeValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3652
|
+
return new TypeError(message);
|
|
3653
|
+
}
|
|
3652
3654
|
}
|
|
3653
3655
|
const obj_id = obj.id;
|
|
3654
3656
|
const path_id = path + '.id';
|
|
@@ -3703,7 +3705,9 @@ function validate$g(obj, path = 'AbstractManagedContentReferencedByItemRepresent
|
|
|
3703
3705
|
}
|
|
3704
3706
|
function deepFreeze$c(input) {
|
|
3705
3707
|
const input_contentType = input.contentType;
|
|
3706
|
-
|
|
3708
|
+
if (input_contentType !== undefined) {
|
|
3709
|
+
deepFreeze$q(input_contentType);
|
|
3710
|
+
}
|
|
3707
3711
|
const input_referenceTypes = input.referenceTypes;
|
|
3708
3712
|
ObjectFreeze(input_referenceTypes);
|
|
3709
3713
|
ObjectFreeze(input);
|
|
@@ -4019,7 +4023,7 @@ const getManagedContentReferencedByAdapterFactory = (luvio) => function CMSAutho
|
|
|
4019
4023
|
};
|
|
4020
4024
|
|
|
4021
4025
|
const TTL$7 = 100;
|
|
4022
|
-
const VERSION$7 = "
|
|
4026
|
+
const VERSION$7 = "acbea7101481aafa270326a8f0ea02a4";
|
|
4023
4027
|
function validate$e(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
4024
4028
|
const v_error = (() => {
|
|
4025
4029
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -4042,8 +4046,29 @@ function validate$e(obj, path = 'ManagedContentSpaceRepresentation') {
|
|
|
4042
4046
|
}
|
|
4043
4047
|
const obj_description = obj.description;
|
|
4044
4048
|
const path_description = path + '.description';
|
|
4045
|
-
|
|
4046
|
-
|
|
4049
|
+
let obj_description_union0 = null;
|
|
4050
|
+
const obj_description_union0_error = (() => {
|
|
4051
|
+
if (typeof obj_description !== 'string') {
|
|
4052
|
+
return new TypeError('Expected "string" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
4053
|
+
}
|
|
4054
|
+
})();
|
|
4055
|
+
if (obj_description_union0_error != null) {
|
|
4056
|
+
obj_description_union0 = obj_description_union0_error.message;
|
|
4057
|
+
}
|
|
4058
|
+
let obj_description_union1 = null;
|
|
4059
|
+
const obj_description_union1_error = (() => {
|
|
4060
|
+
if (obj_description !== null) {
|
|
4061
|
+
return new TypeError('Expected "null" but received "' + typeof obj_description + '" (at "' + path_description + '")');
|
|
4062
|
+
}
|
|
4063
|
+
})();
|
|
4064
|
+
if (obj_description_union1_error != null) {
|
|
4065
|
+
obj_description_union1 = obj_description_union1_error.message;
|
|
4066
|
+
}
|
|
4067
|
+
if (obj_description_union0 && obj_description_union1) {
|
|
4068
|
+
let message = 'Object doesn\'t match union (at "' + path_description + '")';
|
|
4069
|
+
message += '\n' + obj_description_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
4070
|
+
message += '\n' + obj_description_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
4071
|
+
return new TypeError(message);
|
|
4047
4072
|
}
|
|
4048
4073
|
const obj_id = obj.id;
|
|
4049
4074
|
const path_id = path + '.id';
|
|
@@ -7366,4 +7391,4 @@ withDefaultLuvio((luvio) => {
|
|
|
7366
7391
|
});
|
|
7367
7392
|
|
|
7368
7393
|
export { createDeployment, createManagedContent, createManagedContentExportV2Job, createManagedContentImportV2Job, createManagedContentVariant, createTranslationV2Job, deleteManagedContentVariant, getCollectionItems, getCollectionItems_imperative, getManagedContent, getManagedContentByFolderId, getManagedContentByFolderId_imperative, getManagedContentReferencedBy, getManagedContentReferencedBy_imperative, getManagedContentSpace, getManagedContentSpaceNotifyChange, getManagedContentSpace_imperative, getManagedContentSpaces, getManagedContentSpaces_imperative, getManagedContentVariant, getManagedContentVariantNotifyChange, getManagedContentVariantReferences, getManagedContentVariantReferences_imperative, getManagedContentVariantRendition, getManagedContentVariantRendition_imperative, getManagedContentVariantVersions, getManagedContentVariantVersionsNotifyChange, getManagedContentVariantVersions_imperative, getManagedContentVariant_imperative, getManagedContent_imperative, getSearchResults, getSearchResults_imperative, patchManagedContentSpace, publishManagedContent, replaceManagedContentVariant, unpublishManagedContent };
|
|
7369
|
-
// version: 1.
|
|
7394
|
+
// version: 1.112.0-725d7e6e3
|
package/src/raml/api.raml
CHANGED
|
@@ -59,6 +59,7 @@ types:
|
|
|
59
59
|
contentType:
|
|
60
60
|
description: Content type of the referencing source
|
|
61
61
|
type: ManagedContentTypeSummaryRepresentation
|
|
62
|
+
required: false # TODO handrolled W-11014766
|
|
62
63
|
id:
|
|
63
64
|
description: Id of the source entity referencing this managed content.
|
|
64
65
|
type: string
|
|
@@ -1714,7 +1715,7 @@ types:
|
|
|
1714
1715
|
type: string
|
|
1715
1716
|
description:
|
|
1716
1717
|
description: Description of the Managed Content Space
|
|
1717
|
-
type: string
|
|
1718
|
+
type: string | nil
|
|
1718
1719
|
id:
|
|
1719
1720
|
description: Id of the Managed Content Space
|
|
1720
1721
|
type: string
|