@salesforce/lds-adapters-marketing-cdp 1.340.0 → 1.341.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.
@@ -456,6 +456,13 @@ function validate$8(obj, path = 'CdpDataGraphFieldOutputRepresentation') {
456
456
  return new TypeError('Expected "string" but received "' + typeof obj_devName + '" (at "' + path_devName + '")');
457
457
  }
458
458
  }
459
+ if (obj.isDGRootKeyField !== undefined) {
460
+ const obj_isDGRootKeyField = obj.isDGRootKeyField;
461
+ const path_isDGRootKeyField = path + '.isDGRootKeyField';
462
+ if (typeof obj_isDGRootKeyField !== 'boolean') {
463
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isDGRootKeyField + '" (at "' + path_isDGRootKeyField + '")');
464
+ }
465
+ }
459
466
  const obj_isKeyColumn = obj.isKeyColumn;
460
467
  const path_isKeyColumn = path + '.isKeyColumn';
461
468
  if (typeof obj_isKeyColumn !== 'boolean') {
@@ -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 = "46a5ba1c14cb367940e88fc6013fd90d";
2
+ export declare const VERSION = "0276de9ecbe1163fc89dc53e609993a2";
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: CdpDataGraphFieldInputRepresentation, existing: CdpDataGraphFieldInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphFieldInputRepresentationNormalized;
@@ -18,6 +18,10 @@ export interface CdpDataGraphFieldInputRepresentationNormalized {
18
18
  ciFieldType?: string;
19
19
  /** Field Data Type */
20
20
  dataType?: string;
21
+ /** developer name */
22
+ devName?: string;
23
+ /** Is DG Root Key Field */
24
+ isDGRootKeyField?: boolean;
21
25
  /** is column a key */
22
26
  isKeyColumn: boolean;
23
27
  /** is projected field */
@@ -38,6 +42,8 @@ export interface CdpDataGraphFieldInputRepresentationNormalized {
38
42
  export interface CdpDataGraphFieldInputRepresentation {
39
43
  ciFieldType?: string;
40
44
  dataType?: string;
45
+ devName?: string;
46
+ isDGRootKeyField?: boolean;
41
47
  isKeyColumn: boolean;
42
48
  isProjected?: boolean;
43
49
  keyQualifierName?: string;
@@ -1,6 +1,6 @@
1
1
  import { DependencyOutputRepresentation as DependencyOutputRepresentation_DependencyOutputRepresentation } from './DependencyOutputRepresentation';
2
2
  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';
3
- export declare const VERSION = "219de7a0da486bc572343a015392900f";
3
+ export declare const VERSION = "991b5c8bc47159686224c9bc779e0230";
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: CdpDataGraphFieldOutputRepresentation, existing: CdpDataGraphFieldOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpDataGraphFieldOutputRepresentationNormalized;
@@ -25,6 +25,8 @@ export interface CdpDataGraphFieldOutputRepresentationNormalized {
25
25
  dependency?: Array<DependencyOutputRepresentation_DependencyOutputRepresentation>;
26
26
  /** dev_name */
27
27
  devName?: string;
28
+ /** Is DG Root Key Field */
29
+ isDGRootKeyField?: boolean;
28
30
  /** isKeyColumn */
29
31
  isKeyColumn: boolean;
30
32
  /** is_projected */
@@ -50,6 +52,7 @@ export interface CdpDataGraphFieldOutputRepresentation {
50
52
  dataType?: string;
51
53
  dependency?: Array<DependencyOutputRepresentation_DependencyOutputRepresentation>;
52
54
  devName?: string;
55
+ isDGRootKeyField?: boolean;
53
56
  isKeyColumn: boolean;
54
57
  isProjected?: boolean;
55
58
  keyQualifierName?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-marketing-cdp",
3
- "version": "1.340.0",
3
+ "version": "1.341.0",
4
4
  "description": "LDS adapters for CDP",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/marketing-cdp.js",
@@ -43,11 +43,11 @@
43
43
  "test:unit": "jest"
44
44
  },
45
45
  "dependencies": {
46
- "@salesforce/lds-bindings": "^1.340.0"
46
+ "@salesforce/lds-bindings": "^1.341.0"
47
47
  },
48
48
  "devDependencies": {
49
- "@salesforce/lds-compiler-plugins": "^1.340.0",
50
- "@salesforce/lds-karma": "^1.340.0"
49
+ "@salesforce/lds-compiler-plugins": "^1.341.0",
50
+ "@salesforce/lds-karma": "^1.341.0"
51
51
  },
52
52
  "nx": {
53
53
  "targets": {
package/sfdc/index.js CHANGED
@@ -466,6 +466,13 @@ function validate$8(obj, path = 'CdpDataGraphFieldOutputRepresentation') {
466
466
  return new TypeError('Expected "string" but received "' + typeof obj_devName + '" (at "' + path_devName + '")');
467
467
  }
468
468
  }
469
+ if (obj.isDGRootKeyField !== undefined) {
470
+ const obj_isDGRootKeyField = obj.isDGRootKeyField;
471
+ const path_isDGRootKeyField = path + '.isDGRootKeyField';
472
+ if (typeof obj_isDGRootKeyField !== 'boolean') {
473
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isDGRootKeyField + '" (at "' + path_isDGRootKeyField + '")');
474
+ }
475
+ }
469
476
  const obj_isKeyColumn = obj.isKeyColumn;
470
477
  const path_isKeyColumn = path + '.isKeyColumn';
471
478
  if (typeof obj_isKeyColumn !== 'boolean') {
@@ -2505,4 +2512,4 @@ withDefaultLuvio((luvio) => {
2505
2512
  });
2506
2513
 
2507
2514
  export { createDataGraph, deleteDataGraph, editDataGraph, getDataGraph, getDataGraphDependency, getDataGraphDependencyNotifyChange, getDataGraphDependency_imperative, getDataGraphDraft, getDataGraphDraftNotifyChange, getDataGraphDraft_imperative, getDataGraphNotifyChange, getDataGraph_imperative, retryDataGraph, saveDataGraphDraft };
2508
- // version: 1.340.0-08235a5e1b
2515
+ // version: 1.341.0-7420e11050
package/src/raml/api.raml CHANGED
@@ -120,6 +120,14 @@ types:
120
120
  description: Field Data Type
121
121
  type: string
122
122
  required: false
123
+ devName:
124
+ description: developer name
125
+ type: string
126
+ required: false
127
+ isDGRootKeyField:
128
+ description: Is DG Root Key Field
129
+ type: boolean
130
+ required: false
123
131
  isKeyColumn:
124
132
  description: is column a key
125
133
  type: boolean
@@ -150,6 +158,10 @@ types:
150
158
  description: Field Data Type
151
159
  type: string
152
160
  required: false
161
+ isDGRootKeyField:
162
+ description: Is DG Root Key Field
163
+ type: boolean
164
+ required: false
153
165
  isKeyColumn:
154
166
  description: isKeyColumn
155
167
  type: boolean