@salesforce/lds-adapters-cms-authoring 1.237.0 → 1.239.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 +24 -16
- package/dist/es/es2018/types/src/generated/types/ManagedContentInputRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/ManagedContentVariantUpdateInputRepresentation.d.ts +5 -5
- package/package.json +1 -1
- package/sfdc/index.js +25 -17
- package/src/raml/api.raml +4 -0
- package/src/raml/luvio.raml +19 -6
|
@@ -2866,15 +2866,19 @@ function validate$D(obj, path = 'ManagedContentInputRepresentation') {
|
|
|
2866
2866
|
if (typeof obj_contentType !== 'string') {
|
|
2867
2867
|
return new TypeError('Expected "string" but received "' + typeof obj_contentType + '" (at "' + path_contentType + '")');
|
|
2868
2868
|
}
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2869
|
+
if (obj.title !== undefined) {
|
|
2870
|
+
const obj_title = obj.title;
|
|
2871
|
+
const path_title = path + '.title';
|
|
2872
|
+
if (typeof obj_title !== 'string') {
|
|
2873
|
+
return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
|
|
2874
|
+
}
|
|
2873
2875
|
}
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2876
|
+
if (obj.urlName !== undefined) {
|
|
2877
|
+
const obj_urlName = obj.urlName;
|
|
2878
|
+
const path_urlName = path + '.urlName';
|
|
2879
|
+
if (typeof obj_urlName !== 'string') {
|
|
2880
|
+
return new TypeError('Expected "string" but received "' + typeof obj_urlName + '" (at "' + path_urlName + '")');
|
|
2881
|
+
}
|
|
2878
2882
|
}
|
|
2879
2883
|
})();
|
|
2880
2884
|
return v_error === undefined ? null : v_error;
|
|
@@ -4452,15 +4456,19 @@ function validate$p(obj, path = 'ManagedContentVariantUpdateInputRepresentation'
|
|
|
4452
4456
|
return new TypeError('Expected "defined" but received "' + typeof obj_contentBody_prop + '" (at "' + path_contentBody_prop + '")');
|
|
4453
4457
|
}
|
|
4454
4458
|
}
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
+
if (obj.title !== undefined) {
|
|
4460
|
+
const obj_title = obj.title;
|
|
4461
|
+
const path_title = path + '.title';
|
|
4462
|
+
if (typeof obj_title !== 'string') {
|
|
4463
|
+
return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
|
|
4464
|
+
}
|
|
4459
4465
|
}
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4466
|
+
if (obj.urlName !== undefined) {
|
|
4467
|
+
const obj_urlName = obj.urlName;
|
|
4468
|
+
const path_urlName = path + '.urlName';
|
|
4469
|
+
if (typeof obj_urlName !== 'string') {
|
|
4470
|
+
return new TypeError('Expected "string" but received "' + typeof obj_urlName + '" (at "' + path_urlName + '")');
|
|
4471
|
+
}
|
|
4464
4472
|
}
|
|
4465
4473
|
})();
|
|
4466
4474
|
return v_error === undefined ? null : v_error;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "d0fd48268cc7905a1f72cb4ce492a4c1";
|
|
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: ManagedContentInputRepresentation, existing: ManagedContentInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentInputRepresentationNormalized;
|
|
@@ -23,9 +23,9 @@ export interface ManagedContentInputRepresentationNormalized {
|
|
|
23
23
|
/** Fully qualified name of the content type to create. This field is required. */
|
|
24
24
|
contentType: string;
|
|
25
25
|
/** The title of the managed content. */
|
|
26
|
-
title
|
|
26
|
+
title?: string;
|
|
27
27
|
/** URL-friendly identifier of the content within the org. */
|
|
28
|
-
urlName
|
|
28
|
+
urlName?: string;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Input representation for a managed content
|
|
@@ -39,6 +39,6 @@ export interface ManagedContentInputRepresentation {
|
|
|
39
39
|
};
|
|
40
40
|
contentSpaceOrFolderId: string;
|
|
41
41
|
contentType: string;
|
|
42
|
-
title
|
|
43
|
-
urlName
|
|
42
|
+
title?: string;
|
|
43
|
+
urlName?: string;
|
|
44
44
|
}
|
package/dist/es/es2018/types/src/generated/types/ManagedContentVariantUpdateInputRepresentation.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 = "a1d64e5e5c36eb5bbf9957ddb61abc85";
|
|
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: ManagedContentVariantUpdateInputRepresentation, existing: ManagedContentVariantUpdateInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVariantUpdateInputRepresentationNormalized;
|
|
@@ -19,9 +19,9 @@ export interface ManagedContentVariantUpdateInputRepresentationNormalized {
|
|
|
19
19
|
[key: string]: unknown;
|
|
20
20
|
};
|
|
21
21
|
/** The title of the managed content variant */
|
|
22
|
-
title
|
|
22
|
+
title?: string;
|
|
23
23
|
/** URL-friendly identifier of the content within the org. */
|
|
24
|
-
urlName
|
|
24
|
+
urlName?: string;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* Input representation of a managed content variant for PUT request
|
|
@@ -33,6 +33,6 @@ export interface ManagedContentVariantUpdateInputRepresentation {
|
|
|
33
33
|
contentBody: {
|
|
34
34
|
[key: string]: unknown;
|
|
35
35
|
};
|
|
36
|
-
title
|
|
37
|
-
urlName
|
|
36
|
+
title?: string;
|
|
37
|
+
urlName?: string;
|
|
38
38
|
}
|
package/package.json
CHANGED
package/sfdc/index.js
CHANGED
|
@@ -600,15 +600,19 @@ function validate$Q(obj, path = 'ManagedContentInputRepresentation') {
|
|
|
600
600
|
if (typeof obj_contentType !== 'string') {
|
|
601
601
|
return new TypeError('Expected "string" but received "' + typeof obj_contentType + '" (at "' + path_contentType + '")');
|
|
602
602
|
}
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
603
|
+
if (obj.title !== undefined) {
|
|
604
|
+
const obj_title = obj.title;
|
|
605
|
+
const path_title = path + '.title';
|
|
606
|
+
if (typeof obj_title !== 'string') {
|
|
607
|
+
return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
|
|
608
|
+
}
|
|
607
609
|
}
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
610
|
+
if (obj.urlName !== undefined) {
|
|
611
|
+
const obj_urlName = obj.urlName;
|
|
612
|
+
const path_urlName = path + '.urlName';
|
|
613
|
+
if (typeof obj_urlName !== 'string') {
|
|
614
|
+
return new TypeError('Expected "string" but received "' + typeof obj_urlName + '" (at "' + path_urlName + '")');
|
|
615
|
+
}
|
|
612
616
|
}
|
|
613
617
|
})();
|
|
614
618
|
return v_error === undefined ? null : v_error;
|
|
@@ -8559,15 +8563,19 @@ function validate$2(obj, path = 'ManagedContentVariantUpdateInputRepresentation'
|
|
|
8559
8563
|
return new TypeError('Expected "defined" but received "' + typeof obj_contentBody_prop + '" (at "' + path_contentBody_prop + '")');
|
|
8560
8564
|
}
|
|
8561
8565
|
}
|
|
8562
|
-
|
|
8563
|
-
|
|
8564
|
-
|
|
8565
|
-
|
|
8566
|
+
if (obj.title !== undefined) {
|
|
8567
|
+
const obj_title = obj.title;
|
|
8568
|
+
const path_title = path + '.title';
|
|
8569
|
+
if (typeof obj_title !== 'string') {
|
|
8570
|
+
return new TypeError('Expected "string" but received "' + typeof obj_title + '" (at "' + path_title + '")');
|
|
8571
|
+
}
|
|
8566
8572
|
}
|
|
8567
|
-
|
|
8568
|
-
|
|
8569
|
-
|
|
8570
|
-
|
|
8573
|
+
if (obj.urlName !== undefined) {
|
|
8574
|
+
const obj_urlName = obj.urlName;
|
|
8575
|
+
const path_urlName = path + '.urlName';
|
|
8576
|
+
if (typeof obj_urlName !== 'string') {
|
|
8577
|
+
return new TypeError('Expected "string" but received "' + typeof obj_urlName + '" (at "' + path_urlName + '")');
|
|
8578
|
+
}
|
|
8571
8579
|
}
|
|
8572
8580
|
})();
|
|
8573
8581
|
return v_error === undefined ? null : v_error;
|
|
@@ -9135,4 +9143,4 @@ withDefaultLuvio((luvio) => {
|
|
|
9135
9143
|
});
|
|
9136
9144
|
|
|
9137
9145
|
export { createDeployment, createManagedContent, createManagedContentExportV2Job, createManagedContentImportV2Job, createManagedContentVariant, createTranslationV2Job, deleteManagedContentVariant, getAllCMSJobsForSpace, getAllCMSJobsForSpace_imperative, getCMSJobForSpace, getCMSJobForSpaceNotifyChange, getCMSJobForSpace_imperative, getCollectionItems, getCollectionItems_imperative, getDeploymentById, getDeploymentById_imperative, getManagedContent, getManagedContentByFolderId, getManagedContentByFolderId_imperative, getManagedContentPreviews, getManagedContentPreviews_imperative, getManagedContentReferencedBy, getManagedContentReferencedBy_imperative, getManagedContentSpace, getManagedContentSpaceFolderItemsV1, getManagedContentSpaceFolderItemsV1_imperative, getManagedContentSpaceNotifyChange, getManagedContentSpaceOrchestratorConfig, getManagedContentSpaceOrchestratorConfigNotifyChange, getManagedContentSpaceOrchestratorConfig_imperative, getManagedContentSpace_imperative, getManagedContentSpaces, getManagedContentSpaces_imperative, getManagedContentTypesForMixin, getManagedContentTypesForMixin_imperative, getManagedContentVariant, getManagedContentVariantNotifyChange, getManagedContentVariantReferences, getManagedContentVariantReferences_imperative, getManagedContentVariantRendition, getManagedContentVariantRendition_imperative, getManagedContentVariantVersions, getManagedContentVariantVersionsNotifyChange, getManagedContentVariantVersions_imperative, getManagedContentVariant_imperative, getManagedContent_imperative, getSearchResults, getSearchResults_imperative, patchManagedContentSpace, publishManagedContent, putManagedContentSpaceOrchestratorConfig, replaceManagedContentVariant, unpublishManagedContent };
|
|
9138
|
-
// version: 1.
|
|
9146
|
+
// version: 1.239.0-7d2be7b39
|
package/src/raml/api.raml
CHANGED
|
@@ -951,9 +951,11 @@ types:
|
|
|
951
951
|
title:
|
|
952
952
|
description: The title of the managed content.
|
|
953
953
|
type: string
|
|
954
|
+
required: false # TODO Hand-rolled W-9314597
|
|
954
955
|
urlName:
|
|
955
956
|
description: URL-friendly identifier of the content within the org.
|
|
956
957
|
type: string
|
|
958
|
+
required: false # TODO Hand-rolled W-9314597
|
|
957
959
|
ManagedContentJobBodyCollectionRepresentation:
|
|
958
960
|
description: Information about managed content job body
|
|
959
961
|
type: object
|
|
@@ -2629,9 +2631,11 @@ types:
|
|
|
2629
2631
|
title:
|
|
2630
2632
|
description: The title of the managed content variant
|
|
2631
2633
|
type: string
|
|
2634
|
+
required: false # TODO Hand-rolled W-9314597
|
|
2632
2635
|
urlName:
|
|
2633
2636
|
description: URL-friendly identifier of the content within the org.
|
|
2634
2637
|
type: string
|
|
2638
|
+
required: false # TODO Hand-rolled W-9314597
|
|
2635
2639
|
ManagedContentVariantV1InputRep:
|
|
2636
2640
|
description: Input representation of a managed content variant request
|
|
2637
2641
|
type: object
|
package/src/raml/luvio.raml
CHANGED
|
@@ -313,28 +313,36 @@ types:
|
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
|
-
invalidConfigs:
|
|
317
316
|
- |
|
|
318
317
|
{
|
|
318
|
+
"ManagedContentInputParam": {
|
|
319
319
|
"contentSpaceOrFolderId":"0Zuxx00000001DpCAI",
|
|
320
320
|
"contentType":"news",
|
|
321
|
-
"title":"hello authoring 2.0",
|
|
322
321
|
"urlName":"testurl",
|
|
323
322
|
"contentBody":{
|
|
324
323
|
"title": "hello authoring 2.0",
|
|
325
324
|
"body":"test body",
|
|
326
325
|
"excerpt":"test excerpt"
|
|
327
326
|
}
|
|
327
|
+
}
|
|
328
328
|
}
|
|
329
329
|
- |
|
|
330
330
|
{
|
|
331
331
|
"ManagedContentInputParam": {
|
|
332
|
-
"contentSpaceOrFolderId":"0Zuxx00000001DpCAI"
|
|
332
|
+
"contentSpaceOrFolderId":"0Zuxx00000001DpCAI",
|
|
333
|
+
"contentType":"news",
|
|
334
|
+
"title":"hello authoring 2.0",
|
|
335
|
+
"contentBody":{
|
|
336
|
+
"title": "hello authoring 2.0",
|
|
337
|
+
"body":"test body",
|
|
338
|
+
"excerpt":"test excerpt"
|
|
339
|
+
}
|
|
333
340
|
}
|
|
334
341
|
}
|
|
342
|
+
invalidConfigs:
|
|
335
343
|
- |
|
|
336
344
|
{
|
|
337
|
-
|
|
345
|
+
"contentSpaceOrFolderId":"0Zuxx00000001DpCAI",
|
|
338
346
|
"contentType":"news",
|
|
339
347
|
"title":"hello authoring 2.0",
|
|
340
348
|
"urlName":"testurl",
|
|
@@ -343,12 +351,17 @@ types:
|
|
|
343
351
|
"body":"test body",
|
|
344
352
|
"excerpt":"test excerpt"
|
|
345
353
|
}
|
|
354
|
+
}
|
|
355
|
+
- |
|
|
356
|
+
{
|
|
357
|
+
"ManagedContentInputParam": {
|
|
358
|
+
"contentSpaceOrFolderId":"0Zuxx00000001DpCAI"
|
|
346
359
|
}
|
|
347
360
|
}
|
|
348
361
|
- |
|
|
349
362
|
{
|
|
350
363
|
"ManagedContentInputParam": {
|
|
351
|
-
"
|
|
364
|
+
"contentType":"news",
|
|
352
365
|
"title":"hello authoring 2.0",
|
|
353
366
|
"urlName":"testurl",
|
|
354
367
|
"contentBody":{
|
|
@@ -362,7 +375,7 @@ types:
|
|
|
362
375
|
{
|
|
363
376
|
"ManagedContentInputParam": {
|
|
364
377
|
"contentSpaceOrFolderId":"0Zuxx00000001DpCAI",
|
|
365
|
-
"
|
|
378
|
+
"title":"hello authoring 2.0",
|
|
366
379
|
"urlName":"testurl",
|
|
367
380
|
"contentBody":{
|
|
368
381
|
"title": "hello authoring 2.0",
|