@salesforce/lds-adapters-experience-model 1.447.1 → 1.449.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/experience-model.js +6 -6
- package/dist/es/es2018/types/src/generated/types/ExperienceModelDesignConfigInputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/ExperienceModelRenditionConfigInputRepresentation.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/types/ExperienceModelSchemaConfigInputRepresentation.d.ts +3 -3
- package/package.json +4 -7
- package/sfdc/index.js +7 -7
- package/src/raml/api.raml +3 -3
|
@@ -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 (
|
|
1791
|
-
return new TypeError('Expected "
|
|
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 (
|
|
1865
|
-
return new TypeError('Expected "
|
|
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 (
|
|
1935
|
-
return new TypeError('Expected "
|
|
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
|
}
|
package/dist/es/es2018/types/src/generated/types/ExperienceModelDesignConfigInputRepresentation.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 = "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 = "
|
|
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;
|
package/dist/es/es2018/types/src/generated/types/ExperienceModelSchemaConfigInputRepresentation.d.ts
CHANGED
|
@@ -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 = "
|
|
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.
|
|
3
|
+
"version": "1.449.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",
|
|
@@ -33,22 +33,19 @@
|
|
|
33
33
|
],
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "yarn build:services",
|
|
36
|
-
"build:karma": "rollup --bundleConfigAsCjs --config rollup.config.karma.js",
|
|
37
36
|
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
|
|
38
37
|
"build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
|
|
39
38
|
"clean": "rm -rf dist sfdc src/generated karma/dist",
|
|
40
39
|
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-experience-model",
|
|
41
40
|
"release:corejar": "yarn build && packages/core-build/scripts/core.js --adapter=lds-adapters-experience-model",
|
|
42
|
-
"start": "nx build:karma && karma start",
|
|
43
|
-
"test": "nx build:karma && karma start --single-run",
|
|
44
41
|
"test:unit": "jest"
|
|
45
42
|
},
|
|
46
43
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
44
|
+
"@salesforce/lds-bindings": "^1.449.0"
|
|
48
45
|
},
|
|
49
46
|
"devDependencies": {
|
|
50
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
51
|
-
"@salesforce/lds-karma": "^1.
|
|
47
|
+
"@salesforce/lds-compiler-plugins": "^1.449.0",
|
|
48
|
+
"@salesforce/lds-karma": "^1.449.0"
|
|
52
49
|
},
|
|
53
50
|
"nx": {
|
|
54
51
|
"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 (
|
|
1801
|
-
return new TypeError('Expected "
|
|
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 (
|
|
1875
|
-
return new TypeError('Expected "
|
|
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 (
|
|
1945
|
-
return new TypeError('Expected "
|
|
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.
|
|
2455
|
+
// version: 1.449.0-7b415dc950
|
package/src/raml/api.raml
CHANGED
|
@@ -434,7 +434,7 @@ types:
|
|
|
434
434
|
required: false
|
|
435
435
|
properties:
|
|
436
436
|
//:
|
|
437
|
-
type:
|
|
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:
|
|
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:
|
|
536
|
+
type: any
|
|
537
537
|
ExperienceModelFilterConfigInputRepresentation:
|
|
538
538
|
type: object
|
|
539
539
|
description: Input Representation for Experience Model type Filter configuration
|