@salesforce/lds-adapters-industries-timeline 1.282.0 → 1.283.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.
|
@@ -2011,6 +2011,13 @@ function validate$2(obj, path = 'TimelineEventTypeMetadataRepresentation') {
|
|
|
2011
2011
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2012
2012
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2013
2013
|
}
|
|
2014
|
+
if (obj.additionalEventData !== undefined) {
|
|
2015
|
+
const obj_additionalEventData = obj.additionalEventData;
|
|
2016
|
+
const path_additionalEventData = path + '.additionalEventData';
|
|
2017
|
+
if (obj_additionalEventData === undefined) {
|
|
2018
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_additionalEventData + '" (at "' + path_additionalEventData + '")');
|
|
2019
|
+
}
|
|
2020
|
+
}
|
|
2014
2021
|
if (obj.anchorReferenceField !== undefined) {
|
|
2015
2022
|
const obj_anchorReferenceField = obj.anchorReferenceField;
|
|
2016
2023
|
const path_anchorReferenceField = path + '.anchorReferenceField';
|
|
@@ -2073,13 +2080,6 @@ function validate$2(obj, path = 'TimelineEventTypeMetadataRepresentation') {
|
|
|
2073
2080
|
message += '\n' + obj_entityLabel_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2074
2081
|
return new TypeError(message);
|
|
2075
2082
|
}
|
|
2076
|
-
if (obj.extraEventData !== undefined) {
|
|
2077
|
-
const obj_extraEventData = obj.extraEventData;
|
|
2078
|
-
const path_extraEventData = path + '.extraEventData';
|
|
2079
|
-
if (obj_extraEventData === undefined) {
|
|
2080
|
-
return new TypeError('Expected "defined" but received "' + typeof obj_extraEventData + '" (at "' + path_extraEventData + '")');
|
|
2081
|
-
}
|
|
2082
|
-
}
|
|
2083
2083
|
if (obj.fieldsToDisplay !== undefined) {
|
|
2084
2084
|
const obj_fieldsToDisplay = obj.fieldsToDisplay;
|
|
2085
2085
|
const path_fieldsToDisplay = path + '.fieldsToDisplay';
|
package/dist/es/es2018/types/src/generated/types/TimelineEventTypeMetadataRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TimelineElementRepresentation as TimelineElementRepresentation_TimelineElementRepresentation } from './TimelineElementRepresentation';
|
|
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 = "a8a2c45599ba9d7f65480375e340a758";
|
|
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: TimelineEventTypeMetadataRepresentation, existing: TimelineEventTypeMetadataRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TimelineEventTypeMetadataRepresentationNormalized;
|
|
@@ -15,13 +15,13 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
* (none)
|
|
16
16
|
*/
|
|
17
17
|
export interface TimelineEventTypeMetadataRepresentationNormalized {
|
|
18
|
+
/** Event Entity Additional Data */
|
|
19
|
+
additionalEventData?: unknown;
|
|
18
20
|
anchorReferenceField?: TimelineElementRepresentation_TimelineElementRepresentation;
|
|
19
21
|
/** Event Entity API Name */
|
|
20
22
|
entityApiName: string | null;
|
|
21
23
|
/** Event Entity Label Name */
|
|
22
24
|
entityLabel: string | null;
|
|
23
|
-
/** Event Entity Extra Data */
|
|
24
|
-
extraEventData?: unknown;
|
|
25
25
|
/** Event Object fieldsToDisplay List */
|
|
26
26
|
fieldsToDisplay?: Array<TimelineElementRepresentation_TimelineElementRepresentation>;
|
|
27
27
|
/** Whether Event Entity is creatable */
|
|
@@ -42,10 +42,10 @@ export interface TimelineEventTypeMetadataRepresentationNormalized {
|
|
|
42
42
|
* (none)
|
|
43
43
|
*/
|
|
44
44
|
export interface TimelineEventTypeMetadataRepresentation {
|
|
45
|
+
additionalEventData?: unknown;
|
|
45
46
|
anchorReferenceField?: TimelineElementRepresentation_TimelineElementRepresentation;
|
|
46
47
|
entityApiName: string | null;
|
|
47
48
|
entityLabel: string | null;
|
|
48
|
-
extraEventData?: unknown;
|
|
49
49
|
fieldsToDisplay?: Array<TimelineElementRepresentation_TimelineElementRepresentation>;
|
|
50
50
|
isCreatable?: boolean;
|
|
51
51
|
relatedlistsToDisplay?: Array<TimelineElementRepresentation_TimelineElementRepresentation>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-timeline",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.283.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": " GET Resource to get the Timeline Data",
|
|
6
6
|
"main": "dist/es/es2018/industries-timeline.js",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"test:unit": "jest"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@salesforce/lds-bindings": "^1.
|
|
42
|
+
"@salesforce/lds-bindings": "^1.283.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
-
"@salesforce/lds-karma": "^1.
|
|
45
|
+
"@salesforce/lds-compiler-plugins": "^1.283.0",
|
|
46
|
+
"@salesforce/lds-karma": "^1.283.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -2021,6 +2021,13 @@ function validate$2(obj, path = 'TimelineEventTypeMetadataRepresentation') {
|
|
|
2021
2021
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2022
2022
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2023
2023
|
}
|
|
2024
|
+
if (obj.additionalEventData !== undefined) {
|
|
2025
|
+
const obj_additionalEventData = obj.additionalEventData;
|
|
2026
|
+
const path_additionalEventData = path + '.additionalEventData';
|
|
2027
|
+
if (obj_additionalEventData === undefined) {
|
|
2028
|
+
return new TypeError('Expected "defined" but received "' + typeof obj_additionalEventData + '" (at "' + path_additionalEventData + '")');
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2024
2031
|
if (obj.anchorReferenceField !== undefined) {
|
|
2025
2032
|
const obj_anchorReferenceField = obj.anchorReferenceField;
|
|
2026
2033
|
const path_anchorReferenceField = path + '.anchorReferenceField';
|
|
@@ -2083,13 +2090,6 @@ function validate$2(obj, path = 'TimelineEventTypeMetadataRepresentation') {
|
|
|
2083
2090
|
message += '\n' + obj_entityLabel_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
2084
2091
|
return new TypeError(message);
|
|
2085
2092
|
}
|
|
2086
|
-
if (obj.extraEventData !== undefined) {
|
|
2087
|
-
const obj_extraEventData = obj.extraEventData;
|
|
2088
|
-
const path_extraEventData = path + '.extraEventData';
|
|
2089
|
-
if (obj_extraEventData === undefined) {
|
|
2090
|
-
return new TypeError('Expected "defined" but received "' + typeof obj_extraEventData + '" (at "' + path_extraEventData + '")');
|
|
2091
|
-
}
|
|
2092
|
-
}
|
|
2093
2093
|
if (obj.fieldsToDisplay !== undefined) {
|
|
2094
2094
|
const obj_fieldsToDisplay = obj.fieldsToDisplay;
|
|
2095
2095
|
const path_fieldsToDisplay = path + '.fieldsToDisplay';
|
|
@@ -2616,4 +2616,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2616
2616
|
});
|
|
2617
2617
|
|
|
2618
2618
|
export { getDataGraphMetadata, getDataGraphMetadata_imperative, getDataModelObjects, getDataModelObjects_imperative, getEngagementEvents, getEngagementEvents_imperative, getTimelineData, getTimelineData_imperative, getTimelineMetadata, getTimelineMetadata_imperative };
|
|
2619
|
-
// version: 1.
|
|
2619
|
+
// version: 1.283.0-80ddb6c3c
|
package/src/raml/api.raml
CHANGED
|
@@ -435,8 +435,8 @@ types:
|
|
|
435
435
|
description: Whether Event Entity is creatable
|
|
436
436
|
type: boolean
|
|
437
437
|
required: false
|
|
438
|
-
|
|
439
|
-
description: Event Entity
|
|
438
|
+
additionalEventData:
|
|
439
|
+
description: Event Entity Additional Data
|
|
440
440
|
type: any
|
|
441
441
|
required: false
|
|
442
442
|
fieldsToDisplay:
|