@salesforce/lds-adapters-industries-timeline 1.284.0 → 1.286.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.
@@ -2026,6 +2026,13 @@ function validate$2(obj, path = 'TimelineEventTypeMetadataRepresentation') {
2026
2026
  return new TypeError('Expected "defined" but received "' + typeof obj_additionalEventData + '" (at "' + path_additionalEventData + '")');
2027
2027
  }
2028
2028
  }
2029
+ if (obj.allowNew !== undefined) {
2030
+ const obj_allowNew = obj.allowNew;
2031
+ const path_allowNew = path + '.allowNew';
2032
+ if (typeof obj_allowNew !== 'boolean') {
2033
+ return new TypeError('Expected "boolean" but received "' + typeof obj_allowNew + '" (at "' + path_allowNew + '")');
2034
+ }
2035
+ }
2029
2036
  if (obj.anchorReferenceField !== undefined) {
2030
2037
  const obj_anchorReferenceField = obj.anchorReferenceField;
2031
2038
  const path_anchorReferenceField = path + '.anchorReferenceField';
@@ -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 = "a8a2c45599ba9d7f65480375e340a758";
3
+ export declare const VERSION = "f03915e801e44531dceba98c9b5978c0";
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;
@@ -17,6 +17,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
17
17
  export interface TimelineEventTypeMetadataRepresentationNormalized {
18
18
  /** Event Entity Additional Data */
19
19
  additionalEventData?: unknown;
20
+ /** Event Entity allowNew boolean */
21
+ allowNew?: boolean;
20
22
  anchorReferenceField?: TimelineElementRepresentation_TimelineElementRepresentation;
21
23
  /** Event Entity API Name */
22
24
  entityApiName: string | null;
@@ -43,6 +45,7 @@ export interface TimelineEventTypeMetadataRepresentationNormalized {
43
45
  */
44
46
  export interface TimelineEventTypeMetadataRepresentation {
45
47
  additionalEventData?: unknown;
48
+ allowNew?: boolean;
46
49
  anchorReferenceField?: TimelineElementRepresentation_TimelineElementRepresentation;
47
50
  entityApiName: string | null;
48
51
  entityLabel: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-timeline",
3
- "version": "1.284.0",
3
+ "version": "1.286.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.284.0"
42
+ "@salesforce/lds-bindings": "^1.286.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@salesforce/lds-compiler-plugins": "^1.284.0",
46
- "@salesforce/lds-karma": "^1.284.0"
45
+ "@salesforce/lds-compiler-plugins": "^1.286.0",
46
+ "@salesforce/lds-karma": "^1.286.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -2036,6 +2036,13 @@ function validate$2(obj, path = 'TimelineEventTypeMetadataRepresentation') {
2036
2036
  return new TypeError('Expected "defined" but received "' + typeof obj_additionalEventData + '" (at "' + path_additionalEventData + '")');
2037
2037
  }
2038
2038
  }
2039
+ if (obj.allowNew !== undefined) {
2040
+ const obj_allowNew = obj.allowNew;
2041
+ const path_allowNew = path + '.allowNew';
2042
+ if (typeof obj_allowNew !== 'boolean') {
2043
+ return new TypeError('Expected "boolean" but received "' + typeof obj_allowNew + '" (at "' + path_allowNew + '")');
2044
+ }
2045
+ }
2039
2046
  if (obj.anchorReferenceField !== undefined) {
2040
2047
  const obj_anchorReferenceField = obj.anchorReferenceField;
2041
2048
  const path_anchorReferenceField = path + '.anchorReferenceField';
@@ -2624,4 +2631,4 @@ withDefaultLuvio((luvio) => {
2624
2631
  });
2625
2632
 
2626
2633
  export { getDataGraphMetadata, getDataGraphMetadata_imperative, getDataModelObjects, getDataModelObjects_imperative, getEngagementEvents, getEngagementEvents_imperative, getTimelineData, getTimelineData_imperative, getTimelineMetadata, getTimelineMetadata_imperative };
2627
- // version: 1.284.0-8b78b708e
2634
+ // version: 1.286.0-27bef7c46
package/src/raml/api.raml CHANGED
@@ -443,6 +443,10 @@ types:
443
443
  description: Event Entity Additional Data
444
444
  type: any
445
445
  required: false
446
+ allowNew:
447
+ description: Event Entity allowNew boolean
448
+ type: boolean
449
+ required: false
446
450
  fieldsToDisplay:
447
451
  description: Event Object fieldsToDisplay List
448
452
  type: array