@salesforce/lds-adapters-marketing-cdp 1.419.0 → 1.421.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/marketing-cdp.js +14 -0
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphFieldInputRepresentation.d.ts +4 -1
- package/dist/es/es2018/types/src/generated/types/CdpDataGraphFieldOutputRepresentation.d.ts +4 -1
- package/package.json +4 -4
- package/sfdc/index.js +15 -1
- package/src/raml/api.raml +12 -0
|
@@ -456,6 +456,20 @@ function validate$a(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.fieldRoles !== undefined) {
|
|
460
|
+
const obj_fieldRoles = obj.fieldRoles;
|
|
461
|
+
const path_fieldRoles = path + '.fieldRoles';
|
|
462
|
+
if (!ArrayIsArray(obj_fieldRoles)) {
|
|
463
|
+
return new TypeError('Expected "array" but received "' + typeof obj_fieldRoles + '" (at "' + path_fieldRoles + '")');
|
|
464
|
+
}
|
|
465
|
+
for (let i = 0; i < obj_fieldRoles.length; i++) {
|
|
466
|
+
const obj_fieldRoles_item = obj_fieldRoles[i];
|
|
467
|
+
const path_fieldRoles_item = path_fieldRoles + '[' + i + ']';
|
|
468
|
+
if (typeof obj_fieldRoles_item !== 'string') {
|
|
469
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldRoles_item + '" (at "' + path_fieldRoles_item + '")');
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
}
|
|
459
473
|
if (obj.isDGRootKeyField !== undefined) {
|
|
460
474
|
const obj_isDGRootKeyField = obj.isDGRootKeyField;
|
|
461
475
|
const path_isDGRootKeyField = path + '.isDGRootKeyField';
|
|
@@ -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 = "bcc837b8189e3356fd08b43a4128620c";
|
|
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;
|
|
@@ -20,6 +20,8 @@ export interface CdpDataGraphFieldInputRepresentationNormalized {
|
|
|
20
20
|
dataType?: string;
|
|
21
21
|
/** developer name */
|
|
22
22
|
devName?: string;
|
|
23
|
+
/** data graph field roles */
|
|
24
|
+
fieldRoles?: Array<string>;
|
|
23
25
|
/** Is DG Root Key Field */
|
|
24
26
|
isDGRootKeyField?: boolean;
|
|
25
27
|
/** is column a key */
|
|
@@ -43,6 +45,7 @@ export interface CdpDataGraphFieldInputRepresentation {
|
|
|
43
45
|
ciFieldType?: string;
|
|
44
46
|
dataType?: string;
|
|
45
47
|
devName?: string;
|
|
48
|
+
fieldRoles?: Array<string>;
|
|
46
49
|
isDGRootKeyField?: boolean;
|
|
47
50
|
isKeyColumn: boolean;
|
|
48
51
|
isProjected?: boolean;
|
|
@@ -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 = "
|
|
3
|
+
export declare const VERSION = "2a9340dd4221292c608bdaa20508a29d";
|
|
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
|
+
/** data graph field roles */
|
|
29
|
+
fieldRoles?: Array<string>;
|
|
28
30
|
/** Is DG Root Key Field */
|
|
29
31
|
isDGRootKeyField?: boolean;
|
|
30
32
|
/** isKeyColumn */
|
|
@@ -52,6 +54,7 @@ export interface CdpDataGraphFieldOutputRepresentation {
|
|
|
52
54
|
dataType?: string;
|
|
53
55
|
dependency?: Array<DependencyOutputRepresentation_DependencyOutputRepresentation>;
|
|
54
56
|
devName?: string;
|
|
57
|
+
fieldRoles?: Array<string>;
|
|
55
58
|
isDGRootKeyField?: boolean;
|
|
56
59
|
isKeyColumn: boolean;
|
|
57
60
|
isProjected?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-marketing-cdp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.421.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.
|
|
46
|
+
"@salesforce/lds-bindings": "^1.421.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
50
|
-
"@salesforce/lds-karma": "^1.
|
|
49
|
+
"@salesforce/lds-compiler-plugins": "^1.421.0",
|
|
50
|
+
"@salesforce/lds-karma": "^1.421.0"
|
|
51
51
|
},
|
|
52
52
|
"nx": {
|
|
53
53
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -466,6 +466,20 @@ function validate$a(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.fieldRoles !== undefined) {
|
|
470
|
+
const obj_fieldRoles = obj.fieldRoles;
|
|
471
|
+
const path_fieldRoles = path + '.fieldRoles';
|
|
472
|
+
if (!ArrayIsArray(obj_fieldRoles)) {
|
|
473
|
+
return new TypeError('Expected "array" but received "' + typeof obj_fieldRoles + '" (at "' + path_fieldRoles + '")');
|
|
474
|
+
}
|
|
475
|
+
for (let i = 0; i < obj_fieldRoles.length; i++) {
|
|
476
|
+
const obj_fieldRoles_item = obj_fieldRoles[i];
|
|
477
|
+
const path_fieldRoles_item = path_fieldRoles + '[' + i + ']';
|
|
478
|
+
if (typeof obj_fieldRoles_item !== 'string') {
|
|
479
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldRoles_item + '" (at "' + path_fieldRoles_item + '")');
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
}
|
|
469
483
|
if (obj.isDGRootKeyField !== undefined) {
|
|
470
484
|
const obj_isDGRootKeyField = obj.isDGRootKeyField;
|
|
471
485
|
const path_isDGRootKeyField = path + '.isDGRootKeyField';
|
|
@@ -2606,4 +2620,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2606
2620
|
});
|
|
2607
2621
|
|
|
2608
2622
|
export { createDataGraph, deleteDataGraph, editDataGraph, getDataGraph, getDataGraphDependency, getDataGraphDependencyNotifyChange, getDataGraphDependency_imperative, getDataGraphDraft, getDataGraphDraftNotifyChange, getDataGraphDraft_imperative, getDataGraphNotifyChange, getDataGraph_imperative, retryDataGraph, saveDataGraphDraft };
|
|
2609
|
-
// version: 1.
|
|
2623
|
+
// version: 1.421.0-45320a2742
|
package/src/raml/api.raml
CHANGED
|
@@ -124,6 +124,12 @@ types:
|
|
|
124
124
|
description: developer name
|
|
125
125
|
type: string
|
|
126
126
|
required: false
|
|
127
|
+
fieldRoles:
|
|
128
|
+
description: data graph field roles
|
|
129
|
+
required: false
|
|
130
|
+
type: array
|
|
131
|
+
items:
|
|
132
|
+
type: string
|
|
127
133
|
isDGRootKeyField:
|
|
128
134
|
description: Is DG Root Key Field
|
|
129
135
|
type: boolean
|
|
@@ -158,6 +164,12 @@ types:
|
|
|
158
164
|
description: Field Data Type
|
|
159
165
|
type: string
|
|
160
166
|
required: false
|
|
167
|
+
fieldRoles:
|
|
168
|
+
description: data graph field roles
|
|
169
|
+
required: false
|
|
170
|
+
type: array
|
|
171
|
+
items:
|
|
172
|
+
type: string
|
|
161
173
|
isDGRootKeyField:
|
|
162
174
|
description: Is DG Root Key Field
|
|
163
175
|
type: boolean
|