@salesforce/lds-adapters-industries-recordaggregation 1.287.0-dev6 → 1.287.0-dev7
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.
|
@@ -742,7 +742,7 @@ const getRecordAggregationApplicableObjectsAdapterFactory = (luvio) => function
|
|
|
742
742
|
buildCachedSnapshotCachePolicy$2, buildNetworkSnapshotCachePolicy$2);
|
|
743
743
|
};
|
|
744
744
|
|
|
745
|
-
const VERSION$c = "
|
|
745
|
+
const VERSION$c = "47b9bd810af3efccf4b2c011f8e6c7be";
|
|
746
746
|
function validate$c(obj, path = 'RecordAggregationApplicableFieldOutputRepresentation') {
|
|
747
747
|
const v_error = (() => {
|
|
748
748
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -763,6 +763,13 @@ function validate$c(obj, path = 'RecordAggregationApplicableFieldOutputRepresent
|
|
|
763
763
|
if (typeof obj_isCompound !== 'boolean') {
|
|
764
764
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isCompound + '" (at "' + path_isCompound + '")');
|
|
765
765
|
}
|
|
766
|
+
if (obj.isCustom !== undefined) {
|
|
767
|
+
const obj_isCustom = obj.isCustom;
|
|
768
|
+
const path_isCustom = path + '.isCustom';
|
|
769
|
+
if (typeof obj_isCustom !== 'boolean') {
|
|
770
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isCustom + '" (at "' + path_isCustom + '")');
|
|
771
|
+
}
|
|
772
|
+
}
|
|
766
773
|
const obj_label = obj.label;
|
|
767
774
|
const path_label = path + '.label';
|
|
768
775
|
if (typeof obj_label !== 'string') {
|
|
@@ -789,6 +796,11 @@ const select$h = function RecordAggregationApplicableFieldOutputRepresentationSe
|
|
|
789
796
|
name: 'isCompound',
|
|
790
797
|
kind: 'Scalar'
|
|
791
798
|
},
|
|
799
|
+
{
|
|
800
|
+
name: 'isCustom',
|
|
801
|
+
kind: 'Scalar',
|
|
802
|
+
required: false
|
|
803
|
+
},
|
|
792
804
|
{
|
|
793
805
|
name: 'label',
|
|
794
806
|
kind: 'Scalar'
|
|
@@ -802,6 +814,19 @@ function equals$c(existing, incoming) {
|
|
|
802
814
|
if (!(existing_isCompound === incoming_isCompound)) {
|
|
803
815
|
return false;
|
|
804
816
|
}
|
|
817
|
+
const existing_isCustom = existing.isCustom;
|
|
818
|
+
const incoming_isCustom = incoming.isCustom;
|
|
819
|
+
// if at least one of these optionals is defined
|
|
820
|
+
if (existing_isCustom !== undefined || incoming_isCustom !== undefined) {
|
|
821
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
822
|
+
// not equal
|
|
823
|
+
if (existing_isCustom === undefined || incoming_isCustom === undefined) {
|
|
824
|
+
return false;
|
|
825
|
+
}
|
|
826
|
+
if (!(existing_isCustom === incoming_isCustom)) {
|
|
827
|
+
return false;
|
|
828
|
+
}
|
|
829
|
+
}
|
|
805
830
|
const existing_apiName = existing.apiName;
|
|
806
831
|
const incoming_apiName = incoming.apiName;
|
|
807
832
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -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 = "47b9bd810af3efccf4b2c011f8e6c7be";
|
|
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: RecordAggregationApplicableFieldOutputRepresentation, existing: RecordAggregationApplicableFieldOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecordAggregationApplicableFieldOutputRepresentationNormalized;
|
|
@@ -18,8 +18,10 @@ export interface RecordAggregationApplicableFieldOutputRepresentationNormalized
|
|
|
18
18
|
apiName: string;
|
|
19
19
|
/** Datatype of the field. */
|
|
20
20
|
dataType: string;
|
|
21
|
-
/**
|
|
21
|
+
/** Indicates if the specified field is a compound field (true) or not (false). */
|
|
22
22
|
isCompound: boolean;
|
|
23
|
+
/** Indicates if the specified field is a custom field (true) or not (false). */
|
|
24
|
+
isCustom?: boolean;
|
|
23
25
|
/** The field label. */
|
|
24
26
|
label: string;
|
|
25
27
|
}
|
|
@@ -33,5 +35,6 @@ export interface RecordAggregationApplicableFieldOutputRepresentation {
|
|
|
33
35
|
apiName: string;
|
|
34
36
|
dataType: string;
|
|
35
37
|
isCompound: boolean;
|
|
38
|
+
isCustom?: boolean;
|
|
36
39
|
label: string;
|
|
37
40
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-recordaggregation",
|
|
3
|
-
"version": "1.287.0-
|
|
3
|
+
"version": "1.287.0-dev7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/industries-recordaggregation.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.287.0-
|
|
43
|
+
"@salesforce/lds-bindings": "^1.287.0-dev7"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.287.0-
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.287.0-dev7"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1207,7 +1207,7 @@ const getRecordAggregationDefinitionAdapterFactory = (luvio) => function Industr
|
|
|
1207
1207
|
buildCachedSnapshotCachePolicy$1, buildNetworkSnapshotCachePolicy$1);
|
|
1208
1208
|
};
|
|
1209
1209
|
|
|
1210
|
-
const VERSION$7 = "
|
|
1210
|
+
const VERSION$7 = "47b9bd810af3efccf4b2c011f8e6c7be";
|
|
1211
1211
|
function validate$c(obj, path = 'RecordAggregationApplicableFieldOutputRepresentation') {
|
|
1212
1212
|
const v_error = (() => {
|
|
1213
1213
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1228,6 +1228,13 @@ function validate$c(obj, path = 'RecordAggregationApplicableFieldOutputRepresent
|
|
|
1228
1228
|
if (typeof obj_isCompound !== 'boolean') {
|
|
1229
1229
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isCompound + '" (at "' + path_isCompound + '")');
|
|
1230
1230
|
}
|
|
1231
|
+
if (obj.isCustom !== undefined) {
|
|
1232
|
+
const obj_isCustom = obj.isCustom;
|
|
1233
|
+
const path_isCustom = path + '.isCustom';
|
|
1234
|
+
if (typeof obj_isCustom !== 'boolean') {
|
|
1235
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isCustom + '" (at "' + path_isCustom + '")');
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1231
1238
|
const obj_label = obj.label;
|
|
1232
1239
|
const path_label = path + '.label';
|
|
1233
1240
|
if (typeof obj_label !== 'string') {
|
|
@@ -1254,6 +1261,11 @@ const select$c = function RecordAggregationApplicableFieldOutputRepresentationSe
|
|
|
1254
1261
|
name: 'isCompound',
|
|
1255
1262
|
kind: 'Scalar'
|
|
1256
1263
|
},
|
|
1264
|
+
{
|
|
1265
|
+
name: 'isCustom',
|
|
1266
|
+
kind: 'Scalar',
|
|
1267
|
+
required: false
|
|
1268
|
+
},
|
|
1257
1269
|
{
|
|
1258
1270
|
name: 'label',
|
|
1259
1271
|
kind: 'Scalar'
|
|
@@ -1267,6 +1279,19 @@ function equals$7(existing, incoming) {
|
|
|
1267
1279
|
if (!(existing_isCompound === incoming_isCompound)) {
|
|
1268
1280
|
return false;
|
|
1269
1281
|
}
|
|
1282
|
+
const existing_isCustom = existing.isCustom;
|
|
1283
|
+
const incoming_isCustom = incoming.isCustom;
|
|
1284
|
+
// if at least one of these optionals is defined
|
|
1285
|
+
if (existing_isCustom !== undefined || incoming_isCustom !== undefined) {
|
|
1286
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1287
|
+
// not equal
|
|
1288
|
+
if (existing_isCustom === undefined || incoming_isCustom === undefined) {
|
|
1289
|
+
return false;
|
|
1290
|
+
}
|
|
1291
|
+
if (!(existing_isCustom === incoming_isCustom)) {
|
|
1292
|
+
return false;
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1270
1295
|
const existing_apiName = existing.apiName;
|
|
1271
1296
|
const incoming_apiName = incoming.apiName;
|
|
1272
1297
|
if (!(existing_apiName === incoming_apiName)) {
|
|
@@ -2781,4 +2806,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2781
2806
|
});
|
|
2782
2807
|
|
|
2783
2808
|
export { getRecordAggregationApplicableObjects, getRecordAggregationApplicableObjects_imperative, getRecordAggregationDefinition, getRecordAggregationDefinition_imperative, getRecordAggregationEntityApplicableFields, getRecordAggregationEntityApplicableFields_imperative, patchRecordAggregationDefinition, postGenerateRecordRollupResult, postRecordAggregationCreation, putRecordAggregationDefinition };
|
|
2784
|
-
// version: 1.287.0-
|
|
2809
|
+
// version: 1.287.0-dev7-62bbd479a
|
package/src/raml/api.raml
CHANGED
|
@@ -155,8 +155,12 @@ types:
|
|
|
155
155
|
description: The field label.
|
|
156
156
|
type: string
|
|
157
157
|
isCompound:
|
|
158
|
-
description:
|
|
158
|
+
description: Indicates if the specified field is a compound field (true) or not (false).
|
|
159
159
|
type: boolean
|
|
160
|
+
isCustom:
|
|
161
|
+
description: Indicates if the specified field is a custom field (true) or not (false).
|
|
162
|
+
type: boolean
|
|
163
|
+
required: false
|
|
160
164
|
RecordAggregationApplicableObjectOutputRepresentation:
|
|
161
165
|
description: Output representation for applicable object in record rollups.
|
|
162
166
|
type: object
|