@salesforce/lds-adapters-industries-recordaggregation 1.325.0 → 1.327.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.
|
@@ -1606,7 +1606,7 @@ function equals$6(existing, incoming) {
|
|
|
1606
1606
|
return true;
|
|
1607
1607
|
}
|
|
1608
1608
|
|
|
1609
|
-
const VERSION$5 = "
|
|
1609
|
+
const VERSION$5 = "91706e13f7f86b960f59a60821132c46";
|
|
1610
1610
|
function validate$5(obj, path = 'RADOutputRepresentation') {
|
|
1611
1611
|
const v_error = (() => {
|
|
1612
1612
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -1627,6 +1627,11 @@ function validate$5(obj, path = 'RADOutputRepresentation') {
|
|
|
1627
1627
|
return new TypeError(message);
|
|
1628
1628
|
}
|
|
1629
1629
|
}
|
|
1630
|
+
const obj_canDeleteDefinition = obj.canDeleteDefinition;
|
|
1631
|
+
const path_canDeleteDefinition = path + '.canDeleteDefinition';
|
|
1632
|
+
if (typeof obj_canDeleteDefinition !== 'boolean') {
|
|
1633
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_canDeleteDefinition + '" (at "' + path_canDeleteDefinition + '")');
|
|
1634
|
+
}
|
|
1630
1635
|
const obj_canEditDefinition = obj.canEditDefinition;
|
|
1631
1636
|
const path_canEditDefinition = path + '.canEditDefinition';
|
|
1632
1637
|
if (typeof obj_canEditDefinition !== 'boolean') {
|
|
@@ -1693,6 +1698,10 @@ const select$9 = function RADOutputRepresentationSelect() {
|
|
|
1693
1698
|
plural: true,
|
|
1694
1699
|
selections: RADNodeOutputRepresentation__selections
|
|
1695
1700
|
},
|
|
1701
|
+
{
|
|
1702
|
+
name: 'canDeleteDefinition',
|
|
1703
|
+
kind: 'Scalar'
|
|
1704
|
+
},
|
|
1696
1705
|
{
|
|
1697
1706
|
name: 'canEditDefinition',
|
|
1698
1707
|
kind: 'Scalar'
|
|
@@ -1726,6 +1735,11 @@ const select$9 = function RADOutputRepresentationSelect() {
|
|
|
1726
1735
|
};
|
|
1727
1736
|
};
|
|
1728
1737
|
function equals$5(existing, incoming) {
|
|
1738
|
+
const existing_canDeleteDefinition = existing.canDeleteDefinition;
|
|
1739
|
+
const incoming_canDeleteDefinition = incoming.canDeleteDefinition;
|
|
1740
|
+
if (!(existing_canDeleteDefinition === incoming_canDeleteDefinition)) {
|
|
1741
|
+
return false;
|
|
1742
|
+
}
|
|
1729
1743
|
const existing_canEditDefinition = existing.canEditDefinition;
|
|
1730
1744
|
const incoming_canEditDefinition = incoming.canEditDefinition;
|
|
1731
1745
|
if (!(existing_canEditDefinition === incoming_canEditDefinition)) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RADNodeOutputRepresentation as RADNodeOutputRepresentation_RADNodeOutputRepresentation } from './RADNodeOutputRepresentation';
|
|
2
2
|
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "91706e13f7f86b960f59a60821132c46";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -26,6 +26,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
26
26
|
export interface RADOutputRepresentationNormalized {
|
|
27
27
|
/** List of objects included in the record aggregation definition. Each item in this collection represents object details, join field details, and filters. */
|
|
28
28
|
aggregationObjects: Array<RADNodeOutputRepresentation_RADNodeOutputRepresentation>;
|
|
29
|
+
/** Indicates whether the record aggregation definition can be deleted (true) or not (false). */
|
|
30
|
+
canDeleteDefinition: boolean;
|
|
29
31
|
/** Indicates whether the record aggregation definition can be edited (true) or not (false). */
|
|
30
32
|
canEditDefinition: boolean;
|
|
31
33
|
/** Description of the record aggregation definition. */
|
|
@@ -49,6 +51,7 @@ export interface RADOutputRepresentationNormalized {
|
|
|
49
51
|
*/
|
|
50
52
|
export interface RADOutputRepresentation {
|
|
51
53
|
aggregationObjects: Array<RADNodeOutputRepresentation_RADNodeOutputRepresentation>;
|
|
54
|
+
canDeleteDefinition: boolean;
|
|
52
55
|
canEditDefinition: boolean;
|
|
53
56
|
description?: string;
|
|
54
57
|
displayName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-recordaggregation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.327.0",
|
|
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.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.327.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.327.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -615,7 +615,7 @@ function equals$b(existing, incoming) {
|
|
|
615
615
|
return true;
|
|
616
616
|
}
|
|
617
617
|
|
|
618
|
-
const VERSION$a = "
|
|
618
|
+
const VERSION$a = "91706e13f7f86b960f59a60821132c46";
|
|
619
619
|
function validate$f(obj, path = 'RADOutputRepresentation') {
|
|
620
620
|
const v_error = (() => {
|
|
621
621
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -636,6 +636,11 @@ function validate$f(obj, path = 'RADOutputRepresentation') {
|
|
|
636
636
|
return new TypeError(message);
|
|
637
637
|
}
|
|
638
638
|
}
|
|
639
|
+
const obj_canDeleteDefinition = obj.canDeleteDefinition;
|
|
640
|
+
const path_canDeleteDefinition = path + '.canDeleteDefinition';
|
|
641
|
+
if (typeof obj_canDeleteDefinition !== 'boolean') {
|
|
642
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_canDeleteDefinition + '" (at "' + path_canDeleteDefinition + '")');
|
|
643
|
+
}
|
|
639
644
|
const obj_canEditDefinition = obj.canEditDefinition;
|
|
640
645
|
const path_canEditDefinition = path + '.canEditDefinition';
|
|
641
646
|
if (typeof obj_canEditDefinition !== 'boolean') {
|
|
@@ -702,6 +707,10 @@ const select$h = function RADOutputRepresentationSelect() {
|
|
|
702
707
|
plural: true,
|
|
703
708
|
selections: RADNodeOutputRepresentation__selections
|
|
704
709
|
},
|
|
710
|
+
{
|
|
711
|
+
name: 'canDeleteDefinition',
|
|
712
|
+
kind: 'Scalar'
|
|
713
|
+
},
|
|
705
714
|
{
|
|
706
715
|
name: 'canEditDefinition',
|
|
707
716
|
kind: 'Scalar'
|
|
@@ -735,6 +744,11 @@ const select$h = function RADOutputRepresentationSelect() {
|
|
|
735
744
|
};
|
|
736
745
|
};
|
|
737
746
|
function equals$a(existing, incoming) {
|
|
747
|
+
const existing_canDeleteDefinition = existing.canDeleteDefinition;
|
|
748
|
+
const incoming_canDeleteDefinition = incoming.canDeleteDefinition;
|
|
749
|
+
if (!(existing_canDeleteDefinition === incoming_canDeleteDefinition)) {
|
|
750
|
+
return false;
|
|
751
|
+
}
|
|
738
752
|
const existing_canEditDefinition = existing.canEditDefinition;
|
|
739
753
|
const incoming_canEditDefinition = incoming.canEditDefinition;
|
|
740
754
|
if (!(existing_canEditDefinition === incoming_canEditDefinition)) {
|
|
@@ -2958,4 +2972,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2958
2972
|
});
|
|
2959
2973
|
|
|
2960
2974
|
export { deleteRecordAggregationDefinition, getRecordAggregationApplicableObjects, getRecordAggregationApplicableObjects_imperative, getRecordAggregationDefinition, getRecordAggregationDefinitionNotifyChange, getRecordAggregationDefinition_imperative, getRecordAggregationEntityApplicableFields, getRecordAggregationEntityApplicableFields_imperative, patchRecordAggregationDefinition, postGenerateRecordRollupResult, postRecordAggregationCreation, putRecordAggregationDefinition };
|
|
2961
|
-
// version: 1.
|
|
2975
|
+
// version: 1.327.0-a29a47f236
|
package/src/raml/api.raml
CHANGED
|
@@ -144,6 +144,9 @@ types:
|
|
|
144
144
|
recordAggregationDefinitionId:
|
|
145
145
|
description: The Id of the definition.
|
|
146
146
|
type: string
|
|
147
|
+
canDeleteDefinition:
|
|
148
|
+
description: Indicates whether the record aggregation definition can be deleted (true) or not (false).
|
|
149
|
+
type: boolean
|
|
147
150
|
RecordAggregationApplicableFieldOutputRepresentation:
|
|
148
151
|
description: Output representation for applicable field
|
|
149
152
|
type: object
|