@salesforce/lds-adapters-cms-delivery 1.272.0 → 1.273.1

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.
@@ -1261,7 +1261,7 @@ function validate$2(obj, path = 'ReferenceRepresentation') {
1261
1261
  }
1262
1262
 
1263
1263
  const TTL = 3600000;
1264
- const VERSION$1 = "ce50e14585c86e6b3e7d029adbe702cc";
1264
+ const VERSION$1 = "491bb0e1e249741b4ae64daf0f542156";
1265
1265
  function validate$1(obj, path = 'ManagedContentVersionInternalRepresentation') {
1266
1266
  const v_error = (() => {
1267
1267
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1330,10 +1330,10 @@ function validate$1(obj, path = 'ManagedContentVersionInternalRepresentation') {
1330
1330
  if (typeof obj_managedContentId !== 'string') {
1331
1331
  return new TypeError('Expected "string" but received "' + typeof obj_managedContentId + '" (at "' + path_managedContentId + '")');
1332
1332
  }
1333
- const obj_masterLanguage = obj.masterLanguage;
1334
- const path_masterLanguage = path + '.masterLanguage';
1335
- if (typeof obj_masterLanguage !== 'string') {
1336
- return new TypeError('Expected "string" but received "' + typeof obj_masterLanguage + '" (at "' + path_masterLanguage + '")');
1333
+ const obj_primaryLanguage = obj.primaryLanguage;
1334
+ const path_primaryLanguage = path + '.primaryLanguage';
1335
+ if (typeof obj_primaryLanguage !== 'string') {
1336
+ return new TypeError('Expected "string" but received "' + typeof obj_primaryLanguage + '" (at "' + path_primaryLanguage + '")');
1337
1337
  }
1338
1338
  const obj_publishDate = obj.publishDate;
1339
1339
  const path_publishDate = path + '.publishDate';
@@ -2,7 +2,7 @@ import { ManagedContentAssociationsRepresentation as ManagedContentAssociationsR
2
2
  import { ReferenceRepresentation as ReferenceRepresentation_ReferenceRepresentation } from './ReferenceRepresentation';
3
3
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
4
4
  export declare const TTL = 3600000;
5
- export declare const VERSION = "ce50e14585c86e6b3e7d029adbe702cc";
5
+ export declare const VERSION = "491bb0e1e249741b4ae64daf0f542156";
6
6
  export declare function validate(obj: any, path?: string): TypeError | null;
7
7
  export declare const RepresentationType: string;
8
8
  export declare function normalize(input: ManagedContentVersionInternalRepresentation, existing: ManagedContentVersionInternalRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ManagedContentVersionInternalRepresentationNormalized;
@@ -35,8 +35,8 @@ export interface ManagedContentVersionInternalRepresentationNormalized {
35
35
  lastUpdatedByReference: ReferenceRepresentation_ReferenceRepresentation;
36
36
  /** Id of the managed content that this is a version of */
37
37
  managedContentId: string;
38
- /** Master Language of the managed content in the authoring space. */
39
- masterLanguage: string;
38
+ /** Primary Language of the managed content in the authoring space. */
39
+ primaryLanguage: string;
40
40
  /** Get the date when managed content version was published. */
41
41
  publishDate: string;
42
42
  /** The status of the managed content version. */
@@ -70,7 +70,7 @@ export interface ManagedContentVersionInternalRepresentation {
70
70
  id: string;
71
71
  lastUpdatedByReference: ReferenceRepresentation_ReferenceRepresentation;
72
72
  managedContentId: string;
73
- masterLanguage: string;
73
+ primaryLanguage: string;
74
74
  publishDate: string;
75
75
  status: string;
76
76
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cms-delivery",
3
- "version": "1.272.0",
3
+ "version": "1.273.1",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "Wire adapters for CMS endpoints",
6
6
  "main": "dist/es/es2018/cms-delivery.js",
@@ -29,11 +29,11 @@
29
29
  "release:core": "../../scripts/release/core.js --adapter=lds-adapters-cms-delivery"
30
30
  },
31
31
  "dependencies": {
32
- "@salesforce/lds-bindings": "^1.272.0"
32
+ "@salesforce/lds-bindings": "^1.273.1"
33
33
  },
34
34
  "devDependencies": {
35
- "@salesforce/lds-compiler-plugins": "^1.272.0",
36
- "@salesforce/lds-karma": "^1.272.0"
35
+ "@salesforce/lds-compiler-plugins": "^1.273.1",
36
+ "@salesforce/lds-karma": "^1.273.1"
37
37
  },
38
38
  "nx": {
39
39
  "targets": {
package/sfdc/index.js CHANGED
@@ -1572,7 +1572,7 @@ function validate$2(obj, path = 'ReferenceRepresentation') {
1572
1572
  }
1573
1573
 
1574
1574
  const TTL = 3600000;
1575
- const VERSION$1 = "ce50e14585c86e6b3e7d029adbe702cc";
1575
+ const VERSION$1 = "491bb0e1e249741b4ae64daf0f542156";
1576
1576
  function validate$1(obj, path = 'ManagedContentVersionInternalRepresentation') {
1577
1577
  const v_error = (() => {
1578
1578
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1641,10 +1641,10 @@ function validate$1(obj, path = 'ManagedContentVersionInternalRepresentation') {
1641
1641
  if (typeof obj_managedContentId !== 'string') {
1642
1642
  return new TypeError('Expected "string" but received "' + typeof obj_managedContentId + '" (at "' + path_managedContentId + '")');
1643
1643
  }
1644
- const obj_masterLanguage = obj.masterLanguage;
1645
- const path_masterLanguage = path + '.masterLanguage';
1646
- if (typeof obj_masterLanguage !== 'string') {
1647
- return new TypeError('Expected "string" but received "' + typeof obj_masterLanguage + '" (at "' + path_masterLanguage + '")');
1644
+ const obj_primaryLanguage = obj.primaryLanguage;
1645
+ const path_primaryLanguage = path + '.primaryLanguage';
1646
+ if (typeof obj_primaryLanguage !== 'string') {
1647
+ return new TypeError('Expected "string" but received "' + typeof obj_primaryLanguage + '" (at "' + path_primaryLanguage + '")');
1648
1648
  }
1649
1649
  const obj_publishDate = obj.publishDate;
1650
1650
  const path_publishDate = path + '.publishDate';
@@ -2055,4 +2055,4 @@ withDefaultLuvio((luvio) => {
2055
2055
  });
2056
2056
 
2057
2057
  export { getCollectionItemsForChannel, getCollectionItemsForChannel_imperative, getCollectionItemsForSite, getCollectionItemsForSite_imperative, getCollectionMetadataForChannel, getCollectionMetadataForChannel_imperative, getCollectionMetadataForSite, getCollectionMetadataForSite_imperative, listContent, listContentInternal, listContentInternal_imperative, listContent_imperative };
2058
- // version: 1.272.0-579ff1ba0
2058
+ // version: 1.273.1-e93c18811
package/src/raml/api.raml CHANGED
@@ -1082,8 +1082,8 @@ types:
1082
1082
  managedContentId:
1083
1083
  description: Id of the managed content that this is a version of
1084
1084
  type: string
1085
- masterLanguage:
1086
- description: Master Language of the managed content in the authoring space.
1085
+ primaryLanguage:
1086
+ description: Primary Language of the managed content in the authoring space.
1087
1087
  type: string
1088
1088
  publishDate:
1089
1089
  description: Get the date when managed content version was published.