@salesforce/lds-adapters-cms-authoring 1.445.0 → 1.447.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/src/raml/api.raml CHANGED
@@ -1314,37 +1314,6 @@ types:
1314
1314
  description: URL-friendly identifier of the content within the org.
1315
1315
  type: string
1316
1316
  required: false # TODO Hand-rolled W-9314597
1317
- additionalVariants:
1318
- description: Optional list of additional variants to create along with the primary content.
1319
- type: array
1320
- required: false # TODO Hand-rolled W-22268015
1321
- items:
1322
- type: ManagedContentAdditionalVariantInputRepresentation
1323
- ManagedContentAdditionalVariantInputRepresentation:
1324
- description: Input representation for an additional variant to create alongside the primary content.
1325
- type: object
1326
- properties:
1327
- contentBody:
1328
- description: The body of the variant.
1329
- type: object
1330
- properties:
1331
- //:
1332
- type: any # TODO hand rolled. W-22268015
1333
- language:
1334
- description: The language of the variant (locale string). Required.
1335
- type: string
1336
- title:
1337
- description: The title of the variant.
1338
- type: string
1339
- required: false # TODO Hand-rolled W-22268015
1340
- urlName:
1341
- description: URL-friendly identifier of the variant.
1342
- type: string
1343
- required: false # TODO Hand-rolled W-22268015
1344
- variantType:
1345
- description: The type of variant to create (Content, Translation, Variation, Mobile, Tablet). Defaults to Content.
1346
- type: string
1347
- required: false # TODO Hand-rolled W-22268015
1348
1317
  ManagedContentJobBodyCollectionRepresentation:
1349
1318
  description: Information about managed content job body
1350
1319
  type: object
@@ -3291,7 +3260,7 @@ types:
3291
3260
  description: wrapper for Input required for creating a variant
3292
3261
  type: object
3293
3262
  properties:
3294
- managedContentVariantInputParam:
3263
+ ManagedContentVariantInputParam:
3295
3264
  type: ManagedContentVariantInputRepresentation
3296
3265
  ManagedContentVariantInputRepresentation:
3297
3266
  description: Input representation for a managed variant.
@@ -456,32 +456,6 @@ types:
456
456
  }
457
457
  }
458
458
  }
459
- - |
460
- {
461
- "ManagedContentInputParam": {
462
- "contentSpaceOrFolderId":"0Zuxx00000001DpCAI",
463
- "contentType":"news",
464
- "title":"hello authoring 2.0",
465
- "urlName":"testurl",
466
- "contentBody":{
467
- "title": "hello authoring 2.0",
468
- "body":"test body",
469
- "excerpt":"test excerpt"
470
- },
471
- "additionalVariants": [
472
- {
473
- "title": "Mon Article",
474
- "urlName": "mon-article",
475
- "language": "fr",
476
- "variantType": "Translation",
477
- "contentBody": {
478
- "title": "Mon Article",
479
- "body": "corps du test"
480
- }
481
- }
482
- ]
483
- }
484
- }
485
459
  invalidConfigs:
486
460
  - |
487
461
  {
@@ -606,7 +580,7 @@ types:
606
580
  validConfigs:
607
581
  - |
608
582
  {
609
- "managedContentVariantInputParam": {
583
+ "ManagedContentVariantInputParam": {
610
584
  "managedContentKeyOrId": "20YRM0000000CPi2AM",
611
585
  "language": "fr",
612
586
  "title":"French variant",
@@ -619,7 +593,7 @@ types:
619
593
  }
620
594
  - |
621
595
  {
622
- "managedContentVariantInputParam": {
596
+ "ManagedContentVariantInputParam": {
623
597
  "managedContentKeyOrId": "20YRM0000000CPi2AM",
624
598
  "language": "fr",
625
599
  "title":"French variant",
@@ -631,7 +605,7 @@ types:
631
605
  }
632
606
  - |
633
607
  {
634
- "managedContentVariantInputParam": {
608
+ "ManagedContentVariantInputParam": {
635
609
  "managedContentKeyOrId": "20YRM0000000CPi2AM",
636
610
  "language": "fr",
637
611
  "urlName":"french-variant",
@@ -643,7 +617,7 @@ types:
643
617
  }
644
618
  - |
645
619
  {
646
- "managedContentVariantInputParam": {
620
+ "ManagedContentVariantInputParam": {
647
621
  "managedContentKeyOrId": "20YRM0000000CPi2AM",
648
622
  "language": "fr",
649
623
  "contentBody":{
@@ -655,7 +629,7 @@ types:
655
629
  invalidConfigs:
656
630
  - |
657
631
  {
658
- "managedContentVariantInputParam": {
632
+ "ManagedContentVariantInputParam": {
659
633
  "managedContentKeyOrId": "20YRM0000000CPi2AM",
660
634
  "title":"French variant",
661
635
  "urlName":"french-variant",
@@ -667,7 +641,7 @@ types:
667
641
  }
668
642
  - |
669
643
  {
670
- "managedContentVariantInputParam": {
644
+ "ManagedContentVariantInputParam": {
671
645
  "language": "fr",
672
646
  "title":"French variant",
673
647
  "urlName":"french-variant",
@@ -679,7 +653,7 @@ types:
679
653
  }
680
654
  - |
681
655
  {
682
- "managedContentVariantInputParam": {
656
+ "ManagedContentVariantInputParam": {
683
657
  "managedContentKeyOrId": "20YRM0000000CPi2AM",
684
658
  "language": "fr",
685
659
  "title":"French variant",
@@ -1,44 +0,0 @@
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 = "0b793fdd4111ca970f7955e395856de4";
3
- export declare function validate(obj: any, path?: string): TypeError | null;
4
- export declare const RepresentationType: string;
5
- export declare function normalize(input: ManagedContentAdditionalVariantInputRepresentation, existing: ManagedContentAdditionalVariantInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentAdditionalVariantInputRepresentationNormalized;
6
- export declare const select: () => $64$luvio_engine_FragmentSelection;
7
- export declare function equals(existing: ManagedContentAdditionalVariantInputRepresentationNormalized, incoming: ManagedContentAdditionalVariantInputRepresentationNormalized): boolean;
8
- export declare const ingest: $64$luvio_engine_ResourceIngest;
9
- export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ManagedContentAdditionalVariantInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
- /**
11
- * Input representation for an additional variant to create alongside the primary content.
12
- *
13
- * Keys:
14
- * (none)
15
- */
16
- export interface ManagedContentAdditionalVariantInputRepresentationNormalized {
17
- /** The body of the variant. */
18
- contentBody: {
19
- [key: string]: unknown;
20
- };
21
- /** The language of the variant (locale string). Required. */
22
- language: string;
23
- /** The title of the variant. */
24
- title?: string;
25
- /** URL-friendly identifier of the variant. */
26
- urlName?: string;
27
- /** The type of variant to create (Content, Translation, Variation, Mobile, Tablet). Defaults to Content. */
28
- variantType?: string;
29
- }
30
- /**
31
- * Input representation for an additional variant to create alongside the primary content.
32
- *
33
- * Keys:
34
- * (none)
35
- */
36
- export interface ManagedContentAdditionalVariantInputRepresentation {
37
- contentBody: {
38
- [key: string]: unknown;
39
- };
40
- language: string;
41
- title?: string;
42
- urlName?: string;
43
- variantType?: string;
44
- }