@salesforce/lds-adapters-experience-model 1.447.1 → 1.448.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.
@@ -1787,8 +1787,8 @@ function validate$8(obj, path = 'ExperienceModelDesignConfigInputRepresentation'
1787
1787
  const key = obj_designConfigJson_keys[i];
1788
1788
  const obj_designConfigJson_prop = obj_designConfigJson[key];
1789
1789
  const path_designConfigJson_prop = path_designConfigJson + '["' + key + '"]';
1790
- if (typeof obj_designConfigJson_prop !== 'object' || ArrayIsArray(obj_designConfigJson_prop) || obj_designConfigJson_prop === null) {
1791
- return new TypeError('Expected "object" but received "' + typeof obj_designConfigJson_prop + '" (at "' + path_designConfigJson_prop + '")');
1790
+ if (obj_designConfigJson_prop === undefined) {
1791
+ return new TypeError('Expected "defined" but received "' + typeof obj_designConfigJson_prop + '" (at "' + path_designConfigJson_prop + '")');
1792
1792
  }
1793
1793
  }
1794
1794
  }
@@ -1861,8 +1861,8 @@ function validate$7(obj, path = 'ExperienceModelRenditionConfigInputRepresentati
1861
1861
  const key = obj_renditionConfigJson_keys[i];
1862
1862
  const obj_renditionConfigJson_prop = obj_renditionConfigJson[key];
1863
1863
  const path_renditionConfigJson_prop = path_renditionConfigJson + '["' + key + '"]';
1864
- if (typeof obj_renditionConfigJson_prop !== 'object' || ArrayIsArray(obj_renditionConfigJson_prop) || obj_renditionConfigJson_prop === null) {
1865
- return new TypeError('Expected "object" but received "' + typeof obj_renditionConfigJson_prop + '" (at "' + path_renditionConfigJson_prop + '")');
1864
+ if (obj_renditionConfigJson_prop === undefined) {
1865
+ return new TypeError('Expected "defined" but received "' + typeof obj_renditionConfigJson_prop + '" (at "' + path_renditionConfigJson_prop + '")');
1866
1866
  }
1867
1867
  }
1868
1868
  }
@@ -1931,8 +1931,8 @@ function validate$5(obj, path = 'ExperienceModelSchemaConfigInputRepresentation'
1931
1931
  const key = obj_schema_keys[i];
1932
1932
  const obj_schema_prop = obj_schema[key];
1933
1933
  const path_schema_prop = path_schema + '["' + key + '"]';
1934
- if (typeof obj_schema_prop !== 'object' || ArrayIsArray(obj_schema_prop) || obj_schema_prop === null) {
1935
- return new TypeError('Expected "object" but received "' + typeof obj_schema_prop + '" (at "' + path_schema_prop + '")');
1934
+ if (obj_schema_prop === undefined) {
1935
+ return new TypeError('Expected "defined" but received "' + typeof obj_schema_prop + '" (at "' + path_schema_prop + '")');
1936
1936
  }
1937
1937
  }
1938
1938
  }
@@ -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 = "2728876b4d2ef27e0c684db2ebce1a66";
2
+ export declare const VERSION = "cc2a12c358470b01d118693941cfdec7";
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: ExperienceModelDesignConfigInputRepresentation, existing: ExperienceModelDesignConfigInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExperienceModelDesignConfigInputRepresentationNormalized;
@@ -18,7 +18,7 @@ export interface ExperienceModelDesignConfigInputRepresentationNormalized {
18
18
  actionConfig?: boolean;
19
19
  /** Editor JSON body for transient registration */
20
20
  designConfigJson?: {
21
- [key: string]: {};
21
+ [key: string]: unknown;
22
22
  };
23
23
  /** Boolean property for force default generation */
24
24
  forceDefaultGeneration?: boolean;
@@ -38,7 +38,7 @@ export interface ExperienceModelDesignConfigInputRepresentationNormalized {
38
38
  export interface ExperienceModelDesignConfigInputRepresentation {
39
39
  actionConfig?: boolean;
40
40
  designConfigJson?: {
41
- [key: string]: {};
41
+ [key: string]: unknown;
42
42
  };
43
43
  forceDefaultGeneration?: boolean;
44
44
  maxViewDepth?: number;
@@ -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 = "a8a2e53d1380888a3ba3866614a9bc83";
2
+ export declare const VERSION = "72ac70ec20dd10cb107f973a5dab7929";
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: ExperienceModelRenditionConfigInputRepresentation, existing: ExperienceModelRenditionConfigInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExperienceModelRenditionConfigInputRepresentationNormalized;
@@ -22,7 +22,7 @@ export interface ExperienceModelRenditionConfigInputRepresentationNormalized {
22
22
  maxViewDepth?: number;
23
23
  /** Renderer JSON body for transient registration */
24
24
  renditionConfigJson?: {
25
- [key: string]: {};
25
+ [key: string]: unknown;
26
26
  };
27
27
  /** Boolean property if sub-view should be included */
28
28
  subViewDefinitions?: boolean;
@@ -40,7 +40,7 @@ export interface ExperienceModelRenditionConfigInputRepresentation {
40
40
  forceDefaultGeneration?: boolean;
41
41
  maxViewDepth?: number;
42
42
  renditionConfigJson?: {
43
- [key: string]: {};
43
+ [key: string]: unknown;
44
44
  };
45
45
  subViewDefinitions?: boolean;
46
46
  target?: string;
@@ -1,6 +1,6 @@
1
1
  import { ExperienceModelFilterConfigInputRepresentation as ExperienceModelFilterConfigInputRepresentation_ExperienceModelFilterConfigInputRepresentation } from './ExperienceModelFilterConfigInputRepresentation';
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
- export declare const VERSION = "d971237b9151c6b726bbd39a7c9c2a35";
3
+ export declare const VERSION = "e17fb3a897ead0164b0bf860933a84ab";
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: ExperienceModelSchemaConfigInputRepresentation, existing: ExperienceModelSchemaConfigInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExperienceModelSchemaConfigInputRepresentationNormalized;
@@ -18,7 +18,7 @@ export interface ExperienceModelSchemaConfigInputRepresentationNormalized {
18
18
  filterConfig?: ExperienceModelFilterConfigInputRepresentation_ExperienceModelFilterConfigInputRepresentation;
19
19
  /** Raw schema JSON for transient type registration (INTERNAL USE ONLY) */
20
20
  schema?: {
21
- [key: string]: {};
21
+ [key: string]: unknown;
22
22
  };
23
23
  /** Boolean property if sub-schema should be included */
24
24
  subSchemaDefinitions?: boolean;
@@ -34,7 +34,7 @@ export interface ExperienceModelSchemaConfigInputRepresentationNormalized {
34
34
  export interface ExperienceModelSchemaConfigInputRepresentation {
35
35
  filterConfig?: ExperienceModelFilterConfigInputRepresentation_ExperienceModelFilterConfigInputRepresentation;
36
36
  schema?: {
37
- [key: string]: {};
37
+ [key: string]: unknown;
38
38
  };
39
39
  subSchemaDefinitions?: boolean;
40
40
  type?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-experience-model",
3
- "version": "1.447.1",
3
+ "version": "1.448.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "APIs to read and query all the 'types' in the Unified Experience Model",
6
6
  "main": "dist/es/es2018/experience-model.js",
@@ -44,11 +44,11 @@
44
44
  "test:unit": "jest"
45
45
  },
46
46
  "dependencies": {
47
- "@salesforce/lds-bindings": "^1.447.1"
47
+ "@salesforce/lds-bindings": "^1.448.0"
48
48
  },
49
49
  "devDependencies": {
50
- "@salesforce/lds-compiler-plugins": "^1.447.1",
51
- "@salesforce/lds-karma": "^1.447.1"
50
+ "@salesforce/lds-compiler-plugins": "^1.448.0",
51
+ "@salesforce/lds-karma": "^1.448.0"
52
52
  },
53
53
  "nx": {
54
54
  "targets": {
package/sfdc/index.js CHANGED
@@ -1797,8 +1797,8 @@ function validate$8(obj, path = 'ExperienceModelDesignConfigInputRepresentation'
1797
1797
  const key = obj_designConfigJson_keys[i];
1798
1798
  const obj_designConfigJson_prop = obj_designConfigJson[key];
1799
1799
  const path_designConfigJson_prop = path_designConfigJson + '["' + key + '"]';
1800
- if (typeof obj_designConfigJson_prop !== 'object' || ArrayIsArray(obj_designConfigJson_prop) || obj_designConfigJson_prop === null) {
1801
- return new TypeError('Expected "object" but received "' + typeof obj_designConfigJson_prop + '" (at "' + path_designConfigJson_prop + '")');
1800
+ if (obj_designConfigJson_prop === undefined) {
1801
+ return new TypeError('Expected "defined" but received "' + typeof obj_designConfigJson_prop + '" (at "' + path_designConfigJson_prop + '")');
1802
1802
  }
1803
1803
  }
1804
1804
  }
@@ -1871,8 +1871,8 @@ function validate$7(obj, path = 'ExperienceModelRenditionConfigInputRepresentati
1871
1871
  const key = obj_renditionConfigJson_keys[i];
1872
1872
  const obj_renditionConfigJson_prop = obj_renditionConfigJson[key];
1873
1873
  const path_renditionConfigJson_prop = path_renditionConfigJson + '["' + key + '"]';
1874
- if (typeof obj_renditionConfigJson_prop !== 'object' || ArrayIsArray(obj_renditionConfigJson_prop) || obj_renditionConfigJson_prop === null) {
1875
- return new TypeError('Expected "object" but received "' + typeof obj_renditionConfigJson_prop + '" (at "' + path_renditionConfigJson_prop + '")');
1874
+ if (obj_renditionConfigJson_prop === undefined) {
1875
+ return new TypeError('Expected "defined" but received "' + typeof obj_renditionConfigJson_prop + '" (at "' + path_renditionConfigJson_prop + '")');
1876
1876
  }
1877
1877
  }
1878
1878
  }
@@ -1941,8 +1941,8 @@ function validate$5(obj, path = 'ExperienceModelSchemaConfigInputRepresentation'
1941
1941
  const key = obj_schema_keys[i];
1942
1942
  const obj_schema_prop = obj_schema[key];
1943
1943
  const path_schema_prop = path_schema + '["' + key + '"]';
1944
- if (typeof obj_schema_prop !== 'object' || ArrayIsArray(obj_schema_prop) || obj_schema_prop === null) {
1945
- return new TypeError('Expected "object" but received "' + typeof obj_schema_prop + '" (at "' + path_schema_prop + '")');
1944
+ if (obj_schema_prop === undefined) {
1945
+ return new TypeError('Expected "defined" but received "' + typeof obj_schema_prop + '" (at "' + path_schema_prop + '")');
1946
1946
  }
1947
1947
  }
1948
1948
  }
@@ -2452,4 +2452,4 @@ withDefaultLuvio((luvio) => {
2452
2452
  });
2453
2453
 
2454
2454
  export { getBlockType, getBlockType_imperative, getBlockTypes, getBlockTypes_imperative, getContentType, getContentType_imperative, getContentTypes, getContentTypes_imperative, getPropertyType, getPropertyType_imperative, getPropertyTypes, getPropertyTypes_imperative, getTypes, getTypes_imperative };
2455
- // version: 1.447.1-482943d2ff
2455
+ // version: 1.448.0-8bacde725a
package/src/raml/api.raml CHANGED
@@ -434,7 +434,7 @@ types:
434
434
  required: false
435
435
  properties:
436
436
  //:
437
- type: object
437
+ type: any
438
438
  subSchemaDefinitions:
439
439
  description: Boolean property if sub-schema should be included
440
440
  type: boolean
@@ -492,7 +492,7 @@ types:
492
492
  required: false
493
493
  properties:
494
494
  //:
495
- type: object
495
+ type: any
496
496
  ExperienceModelDesignConfigInputRepresentation:
497
497
  type: object
498
498
  description: Input Representation for Experience Model type design configuration
@@ -533,7 +533,7 @@ types:
533
533
  required: false
534
534
  properties:
535
535
  //:
536
- type: object
536
+ type: any
537
537
  ExperienceModelFilterConfigInputRepresentation:
538
538
  type: object
539
539
  description: Input Representation for Experience Model type Filter configuration