@salesforce/lds-adapters-industries-actionablelist 1.134.7 → 1.134.8
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/industries-actionablelist.js +65 -22
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +1 -7
- package/dist/es/es2018/types/src/generated/types/ALDDatasetColumnOutputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ALDMemberStatusOutputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListDatasetByDefinitionRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListDatasetColumnRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListDatasetInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListDatasetRowRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListDatasetWrapperInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListDefinitionCreateInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListDefinitionCreateOutputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListDefinitionGetAllOutputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListDefinitionOutputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListDefinitionStatusOutputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListDefinitionWrapperInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListFilterInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListFilterInputRepresentationList.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListMemberStatusRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListMembersOutputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListUpsertInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListUpsertOutputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/ActionableListWrapperInputRepresentation.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +1 -8
- package/package.json +1 -1
- package/sfdc/index.js +66 -23
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey, StoreKeyMap } from '@luvio/engine';
|
|
7
|
+
import { serializeStructuredKey, StoreKeyMap, deepFreeze } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
|
-
const { keys: ObjectKeys$1,
|
|
10
|
+
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
11
|
+
const { stringify: JSONStringify } = JSON;
|
|
11
12
|
const { isArray: ArrayIsArray$1 } = Array;
|
|
12
13
|
/**
|
|
13
14
|
* Validates an adapter config is well-formed.
|
|
@@ -48,9 +49,64 @@ const snapshotRefreshOptions = {
|
|
|
48
49
|
},
|
|
49
50
|
}
|
|
50
51
|
};
|
|
52
|
+
/**
|
|
53
|
+
* A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
|
|
54
|
+
* This is needed because insertion order for JSON.stringify(object) affects output:
|
|
55
|
+
* JSON.stringify({a: 1, b: 2})
|
|
56
|
+
* "{"a":1,"b":2}"
|
|
57
|
+
* JSON.stringify({b: 2, a: 1})
|
|
58
|
+
* "{"b":2,"a":1}"
|
|
59
|
+
* @param data Data to be JSON-stringified.
|
|
60
|
+
* @returns JSON.stringified value with consistent ordering of keys.
|
|
61
|
+
*/
|
|
62
|
+
function stableJSONStringify(node) {
|
|
63
|
+
// This is for Date values.
|
|
64
|
+
if (node && node.toJSON && typeof node.toJSON === 'function') {
|
|
65
|
+
// eslint-disable-next-line no-param-reassign
|
|
66
|
+
node = node.toJSON();
|
|
67
|
+
}
|
|
68
|
+
if (node === undefined) {
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
if (typeof node === 'number') {
|
|
72
|
+
return isFinite(node) ? '' + node : 'null';
|
|
73
|
+
}
|
|
74
|
+
if (typeof node !== 'object') {
|
|
75
|
+
return JSONStringify(node);
|
|
76
|
+
}
|
|
77
|
+
let i;
|
|
78
|
+
let out;
|
|
79
|
+
if (ArrayIsArray$1(node)) {
|
|
80
|
+
out = '[';
|
|
81
|
+
for (i = 0; i < node.length; i++) {
|
|
82
|
+
if (i) {
|
|
83
|
+
out += ',';
|
|
84
|
+
}
|
|
85
|
+
out += stableJSONStringify(node[i]) || 'null';
|
|
86
|
+
}
|
|
87
|
+
return out + ']';
|
|
88
|
+
}
|
|
89
|
+
if (node === null) {
|
|
90
|
+
return 'null';
|
|
91
|
+
}
|
|
92
|
+
const keys = ObjectKeys$1(node).sort();
|
|
93
|
+
out = '';
|
|
94
|
+
for (i = 0; i < keys.length; i++) {
|
|
95
|
+
const key = keys[i];
|
|
96
|
+
const value = stableJSONStringify(node[key]);
|
|
97
|
+
if (!value) {
|
|
98
|
+
continue;
|
|
99
|
+
}
|
|
100
|
+
if (out) {
|
|
101
|
+
out += ',';
|
|
102
|
+
}
|
|
103
|
+
out += JSONStringify(key) + ':' + value;
|
|
104
|
+
}
|
|
105
|
+
return '{' + out + '}';
|
|
106
|
+
}
|
|
51
107
|
const keyPrefix = 'actionablelist';
|
|
52
108
|
|
|
53
|
-
const {
|
|
109
|
+
const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
54
110
|
const { isArray: ArrayIsArray } = Array;
|
|
55
111
|
function equalsArray(a, b, equalsItem) {
|
|
56
112
|
const aLength = a.length;
|
|
@@ -84,24 +140,6 @@ function equalsObject(a, b, equalsProp) {
|
|
|
84
140
|
}
|
|
85
141
|
return true;
|
|
86
142
|
}
|
|
87
|
-
function deepFreeze(value) {
|
|
88
|
-
// No need to freeze primitives
|
|
89
|
-
if (typeof value !== 'object' || value === null) {
|
|
90
|
-
return;
|
|
91
|
-
}
|
|
92
|
-
if (ArrayIsArray(value)) {
|
|
93
|
-
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
94
|
-
deepFreeze(value[i]);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
const keys = ObjectKeys(value);
|
|
99
|
-
for (let i = 0, len = keys.length; i < len; i += 1) {
|
|
100
|
-
deepFreeze(value[keys[i]]);
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
ObjectFreeze(value);
|
|
104
|
-
}
|
|
105
143
|
function createLink(ref) {
|
|
106
144
|
return {
|
|
107
145
|
__ref: serializeStructuredKey(ref),
|
|
@@ -774,6 +812,7 @@ function ingestSuccess$4(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
774
812
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
775
813
|
}
|
|
776
814
|
}
|
|
815
|
+
deepFreeze(snapshot.data);
|
|
777
816
|
return snapshot;
|
|
778
817
|
}
|
|
779
818
|
function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
@@ -1131,6 +1170,7 @@ function ingestSuccess$3(luvio, resourceParams, response) {
|
|
|
1131
1170
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1132
1171
|
}
|
|
1133
1172
|
}
|
|
1173
|
+
deepFreeze(snapshot.data);
|
|
1134
1174
|
return snapshot;
|
|
1135
1175
|
}
|
|
1136
1176
|
function createResourceRequest$3(config) {
|
|
@@ -1327,6 +1367,7 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1327
1367
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1328
1368
|
}
|
|
1329
1369
|
}
|
|
1370
|
+
deepFreeze(snapshot.data);
|
|
1330
1371
|
return snapshot;
|
|
1331
1372
|
}
|
|
1332
1373
|
function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
@@ -1891,6 +1932,7 @@ function ingestSuccess$1(luvio, resourceParams, response) {
|
|
|
1891
1932
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1892
1933
|
}
|
|
1893
1934
|
}
|
|
1935
|
+
deepFreeze(snapshot.data);
|
|
1894
1936
|
return snapshot;
|
|
1895
1937
|
}
|
|
1896
1938
|
function createResourceRequest$1(config) {
|
|
@@ -2829,7 +2871,7 @@ function select(luvio, params) {
|
|
|
2829
2871
|
return select$1();
|
|
2830
2872
|
}
|
|
2831
2873
|
function keyBuilder$1(luvio, params) {
|
|
2832
|
-
return keyPrefix + '::ActionableListDatasetByDefinitionRepresentation:(' + (params.body.actionableListDataset.actionableListDefinitionId === undefined ? 'actionableListDataset.actionableListDefinitionId' : 'actionableListDataset.actionableListDefinitionId:' + params.body.actionableListDataset.actionableListDefinitionId) + '::' + (params.body.actionableListDataset.filterLogic === undefined ? 'actionableListDataset.filterLogic' : 'actionableListDataset.filterLogic:' + params.body.actionableListDataset.filterLogic) + '::' + +'::' + (params.body.actionableListDataset.offset === undefined ? 'actionableListDataset.offset' : 'actionableListDataset.offset:' + params.body.actionableListDataset.offset) + '::' + (params.body.actionableListDataset.orderBy === undefined ? 'actionableListDataset.orderBy' : 'actionableListDataset.orderBy:' + params.body.actionableListDataset.orderBy) + '::' + (params.body.actionableListDataset.queryType === undefined ? 'actionableListDataset.queryType' : 'actionableListDataset.queryType:' + params.body.actionableListDataset.queryType) + '::' + (params.body.actionableListDataset.rowLimit === undefined ? 'actionableListDataset.rowLimit' : 'actionableListDataset.rowLimit:' + params.body.actionableListDataset.rowLimit) + '::' + (params.body.actionableListDataset.shouldReturnCurrencyCode === undefined ? 'actionableListDataset.shouldReturnCurrencyCode' : 'actionableListDataset.shouldReturnCurrencyCode:' + params.body.actionableListDataset.shouldReturnCurrencyCode) + '::' + (params.body.actionableListDataset.sortOrder === undefined ? 'actionableListDataset.sortOrder' : 'actionableListDataset.sortOrder:' + params.body.actionableListDataset.sortOrder) + ')';
|
|
2874
|
+
return keyPrefix + '::ActionableListDatasetByDefinitionRepresentation:(' + (params.body.actionableListDataset.actionableListDefinitionId === undefined ? 'actionableListDataset.actionableListDefinitionId' : 'actionableListDataset.actionableListDefinitionId:' + params.body.actionableListDataset.actionableListDefinitionId) + '::' + (params.body.actionableListDataset.filterLogic === undefined ? 'actionableListDataset.filterLogic' : 'actionableListDataset.filterLogic:' + params.body.actionableListDataset.filterLogic) + '::' + stableJSONStringify(params.body.actionableListDataset.filters) + '::' + (params.body.actionableListDataset.offset === undefined ? 'actionableListDataset.offset' : 'actionableListDataset.offset:' + params.body.actionableListDataset.offset) + '::' + (params.body.actionableListDataset.orderBy === undefined ? 'actionableListDataset.orderBy' : 'actionableListDataset.orderBy:' + params.body.actionableListDataset.orderBy) + '::' + (params.body.actionableListDataset.queryType === undefined ? 'actionableListDataset.queryType' : 'actionableListDataset.queryType:' + params.body.actionableListDataset.queryType) + '::' + (params.body.actionableListDataset.rowLimit === undefined ? 'actionableListDataset.rowLimit' : 'actionableListDataset.rowLimit:' + params.body.actionableListDataset.rowLimit) + '::' + (params.body.actionableListDataset.shouldReturnCurrencyCode === undefined ? 'actionableListDataset.shouldReturnCurrencyCode' : 'actionableListDataset.shouldReturnCurrencyCode:' + params.body.actionableListDataset.shouldReturnCurrencyCode) + '::' + (params.body.actionableListDataset.sortOrder === undefined ? 'actionableListDataset.sortOrder' : 'actionableListDataset.sortOrder:' + params.body.actionableListDataset.sortOrder) + ')';
|
|
2833
2875
|
}
|
|
2834
2876
|
function getResponseCacheKeys(luvio, resourceParams, response) {
|
|
2835
2877
|
return getTypeCacheKeys(luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
@@ -2848,6 +2890,7 @@ function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2848
2890
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
2849
2891
|
}
|
|
2850
2892
|
}
|
|
2893
|
+
deepFreeze(snapshot.data);
|
|
2851
2894
|
return snapshot;
|
|
2852
2895
|
}
|
|
2853
2896
|
function ingestError(luvio, params, error, snapshotRefresh) {
|
|
@@ -3,17 +3,11 @@ export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
|
|
|
3
3
|
declare const ObjectKeys: {
|
|
4
4
|
(o: object): string[];
|
|
5
5
|
(o: {}): string[];
|
|
6
|
-
}, ObjectFreeze: {
|
|
7
|
-
<T extends Function>(f: T): T;
|
|
8
|
-
<T_1 extends {
|
|
9
|
-
[idx: string]: object | U | null | undefined;
|
|
10
|
-
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
11
|
-
<T_2>(o: T_2): Readonly<T_2>;
|
|
12
6
|
}, ObjectCreate: {
|
|
13
7
|
(o: object | null): any;
|
|
14
8
|
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
15
9
|
};
|
|
16
|
-
export {
|
|
10
|
+
export { ObjectCreate, ObjectKeys };
|
|
17
11
|
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
18
12
|
export declare const ArrayPrototypePush: (...items: any[]) => number;
|
|
19
13
|
export interface AdapterValidationConfig {
|
|
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
|
|
|
6
6
|
export declare function normalize(input: ALDDatasetColumnOutputRepresentation, existing: ALDDatasetColumnOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ALDDatasetColumnOutputRepresentationNormalized;
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: ALDDatasetColumnOutputRepresentationNormalized, incoming: ALDDatasetColumnOutputRepresentationNormalized): boolean;
|
|
9
|
-
export declare function deepFreeze(input: ALDDatasetColumnOutputRepresentation): void;
|
|
10
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
10
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ALDDatasetColumnOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
11
|
/**
|
|
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
|
|
|
6
6
|
export declare function normalize(input: ALDMemberStatusOutputRepresentation, existing: ALDMemberStatusOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ALDMemberStatusOutputRepresentationNormalized;
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: ALDMemberStatusOutputRepresentationNormalized, incoming: ALDMemberStatusOutputRepresentationNormalized): boolean;
|
|
9
|
-
export declare function deepFreeze(input: ALDMemberStatusOutputRepresentation): void;
|
|
10
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
10
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ALDMemberStatusOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
11
|
/**
|
|
@@ -9,7 +9,6 @@ export declare const RepresentationType: string;
|
|
|
9
9
|
export declare function normalize(input: ActionableListDatasetByDefinitionRepresentation, existing: ActionableListDatasetByDefinitionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListDatasetByDefinitionRepresentationNormalized;
|
|
10
10
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
11
11
|
export declare function equals(existing: ActionableListDatasetByDefinitionRepresentationNormalized, incoming: ActionableListDatasetByDefinitionRepresentationNormalized): boolean;
|
|
12
|
-
export declare function deepFreeze(input: ActionableListDatasetByDefinitionRepresentation): void;
|
|
13
12
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
14
13
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListDatasetByDefinitionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
15
14
|
/**
|
package/dist/es/es2018/types/src/generated/types/ActionableListDatasetColumnRepresentation.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ActionableListDatasetColumnRepresentation, existing: ActionableListDatasetColumnRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListDatasetColumnRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ActionableListDatasetColumnRepresentationNormalized, incoming: ActionableListDatasetColumnRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ActionableListDatasetColumnRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListDatasetColumnRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
package/dist/es/es2018/types/src/generated/types/ActionableListDatasetInputRepresentation.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ActionableListDatasetInputRepresentation, existing: ActionableListDatasetInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListDatasetInputRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ActionableListDatasetInputRepresentationNormalized, incoming: ActionableListDatasetInputRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ActionableListDatasetInputRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListDatasetInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
package/dist/es/es2018/types/src/generated/types/ActionableListDatasetRowRepresentation.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ActionableListDatasetRowRepresentation, existing: ActionableListDatasetRowRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListDatasetRowRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ActionableListDatasetRowRepresentationNormalized, incoming: ActionableListDatasetRowRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ActionableListDatasetRowRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListDatasetRowRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
|
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
|
|
|
6
6
|
export declare function normalize(input: ActionableListDatasetWrapperInputRepresentation, existing: ActionableListDatasetWrapperInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListDatasetWrapperInputRepresentationNormalized;
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: ActionableListDatasetWrapperInputRepresentationNormalized, incoming: ActionableListDatasetWrapperInputRepresentationNormalized): boolean;
|
|
9
|
-
export declare function deepFreeze(input: ActionableListDatasetWrapperInputRepresentation): void;
|
|
10
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
10
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListDatasetWrapperInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
11
|
/**
|
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ActionableListDefinitionCreateInputRepresentation, existing: ActionableListDefinitionCreateInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListDefinitionCreateInputRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ActionableListDefinitionCreateInputRepresentationNormalized, incoming: ActionableListDefinitionCreateInputRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ActionableListDefinitionCreateInputRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListDefinitionCreateInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
|
@@ -17,7 +17,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
|
|
|
17
17
|
export declare function normalize(input: ActionableListDefinitionCreateOutputRepresentation, existing: ActionableListDefinitionCreateOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListDefinitionCreateOutputRepresentationNormalized;
|
|
18
18
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
19
19
|
export declare function equals(existing: ActionableListDefinitionCreateOutputRepresentationNormalized, incoming: ActionableListDefinitionCreateOutputRepresentationNormalized): boolean;
|
|
20
|
-
export declare function deepFreeze(input: ActionableListDefinitionCreateOutputRepresentation): void;
|
|
21
20
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
22
21
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListDefinitionCreateOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
23
22
|
/**
|
|
@@ -7,7 +7,6 @@ export declare const RepresentationType: string;
|
|
|
7
7
|
export declare function normalize(input: ActionableListDefinitionGetAllOutputRepresentation, existing: ActionableListDefinitionGetAllOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListDefinitionGetAllOutputRepresentationNormalized;
|
|
8
8
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
9
|
export declare function equals(existing: ActionableListDefinitionGetAllOutputRepresentationNormalized, incoming: ActionableListDefinitionGetAllOutputRepresentationNormalized): boolean;
|
|
10
|
-
export declare function deepFreeze(input: ActionableListDefinitionGetAllOutputRepresentation): void;
|
|
11
10
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
12
11
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListDefinitionGetAllOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
13
12
|
/**
|
package/dist/es/es2018/types/src/generated/types/ActionableListDefinitionOutputRepresentation.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ export declare const RepresentationType: string;
|
|
|
8
8
|
export declare function normalize(input: ActionableListDefinitionOutputRepresentation, existing: ActionableListDefinitionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListDefinitionOutputRepresentationNormalized;
|
|
9
9
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
10
10
|
export declare function equals(existing: ActionableListDefinitionOutputRepresentationNormalized, incoming: ActionableListDefinitionOutputRepresentationNormalized): boolean;
|
|
11
|
-
export declare function deepFreeze(input: ActionableListDefinitionOutputRepresentation): void;
|
|
12
11
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
13
12
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListDefinitionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
14
13
|
/**
|
|
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
|
|
|
6
6
|
export declare function normalize(input: ActionableListDefinitionStatusOutputRepresentation, existing: ActionableListDefinitionStatusOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListDefinitionStatusOutputRepresentationNormalized;
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: ActionableListDefinitionStatusOutputRepresentationNormalized, incoming: ActionableListDefinitionStatusOutputRepresentationNormalized): boolean;
|
|
9
|
-
export declare function deepFreeze(input: ActionableListDefinitionStatusOutputRepresentation): void;
|
|
10
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
10
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListDefinitionStatusOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
11
|
/**
|
|
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
|
|
|
6
6
|
export declare function normalize(input: ActionableListDefinitionWrapperInputRepresentation, existing: ActionableListDefinitionWrapperInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListDefinitionWrapperInputRepresentationNormalized;
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: ActionableListDefinitionWrapperInputRepresentationNormalized, incoming: ActionableListDefinitionWrapperInputRepresentationNormalized): boolean;
|
|
9
|
-
export declare function deepFreeze(input: ActionableListDefinitionWrapperInputRepresentation): void;
|
|
10
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
10
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListDefinitionWrapperInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
11
|
/**
|
package/dist/es/es2018/types/src/generated/types/ActionableListFilterInputRepresentation.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ActionableListFilterInputRepresentation, existing: ActionableListFilterInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListFilterInputRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ActionableListFilterInputRepresentationNormalized, incoming: ActionableListFilterInputRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ActionableListFilterInputRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListFilterInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
package/dist/es/es2018/types/src/generated/types/ActionableListFilterInputRepresentationList.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ActionableListFilterInputRepresentationList, existing: ActionableListFilterInputRepresentationListNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListFilterInputRepresentationListNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ActionableListFilterInputRepresentationListNormalized, incoming: ActionableListFilterInputRepresentationListNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ActionableListFilterInputRepresentationList): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListFilterInputRepresentationList, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
package/dist/es/es2018/types/src/generated/types/ActionableListMemberStatusRepresentation.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ActionableListMemberStatusRepresentation, existing: ActionableListMemberStatusRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListMemberStatusRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ActionableListMemberStatusRepresentationNormalized, incoming: ActionableListMemberStatusRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ActionableListMemberStatusRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListMemberStatusRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
package/dist/es/es2018/types/src/generated/types/ActionableListMembersOutputRepresentation.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
|
|
|
6
6
|
export declare function normalize(input: ActionableListMembersOutputRepresentation, existing: ActionableListMembersOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListMembersOutputRepresentationNormalized;
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: ActionableListMembersOutputRepresentationNormalized, incoming: ActionableListMembersOutputRepresentationNormalized): boolean;
|
|
9
|
-
export declare function deepFreeze(input: ActionableListMembersOutputRepresentation): void;
|
|
10
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
10
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListMembersOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
11
|
/**
|
package/dist/es/es2018/types/src/generated/types/ActionableListUpsertInputRepresentation.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ export declare const RepresentationType: string;
|
|
|
5
5
|
export declare function normalize(input: ActionableListUpsertInputRepresentation, existing: ActionableListUpsertInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListUpsertInputRepresentationNormalized;
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: ActionableListUpsertInputRepresentationNormalized, incoming: ActionableListUpsertInputRepresentationNormalized): boolean;
|
|
8
|
-
export declare function deepFreeze(input: ActionableListUpsertInputRepresentation): void;
|
|
9
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
9
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListUpsertInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
10
|
/**
|
package/dist/es/es2018/types/src/generated/types/ActionableListUpsertOutputRepresentation.d.ts
CHANGED
|
@@ -15,7 +15,6 @@ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine
|
|
|
15
15
|
export declare function normalize(input: ActionableListUpsertOutputRepresentation, existing: ActionableListUpsertOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListUpsertOutputRepresentationNormalized;
|
|
16
16
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
17
|
export declare function equals(existing: ActionableListUpsertOutputRepresentationNormalized, incoming: ActionableListUpsertOutputRepresentationNormalized): boolean;
|
|
18
|
-
export declare function deepFreeze(input: ActionableListUpsertOutputRepresentation): void;
|
|
19
18
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
19
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListUpsertOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
21
20
|
/**
|
package/dist/es/es2018/types/src/generated/types/ActionableListWrapperInputRepresentation.d.ts
CHANGED
|
@@ -6,7 +6,6 @@ export declare const RepresentationType: string;
|
|
|
6
6
|
export declare function normalize(input: ActionableListWrapperInputRepresentation, existing: ActionableListWrapperInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ActionableListWrapperInputRepresentationNormalized;
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: ActionableListWrapperInputRepresentationNormalized, incoming: ActionableListWrapperInputRepresentationNormalized): boolean;
|
|
9
|
-
export declare function deepFreeze(input: ActionableListWrapperInputRepresentation): void;
|
|
10
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
10
|
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ActionableListWrapperInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
11
|
/**
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const
|
|
3
|
-
<T extends Function>(f: T): T;
|
|
4
|
-
<T_1 extends {
|
|
5
|
-
[idx: string]: object | U | null | undefined;
|
|
6
|
-
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
7
|
-
<T_2>(o: T_2): Readonly<T_2>;
|
|
8
|
-
}, ObjectKeys: {
|
|
2
|
+
export declare const ObjectKeys: {
|
|
9
3
|
(o: object): string[];
|
|
10
4
|
(o: {}): string[];
|
|
11
5
|
}, ObjectCreate: {
|
|
@@ -31,7 +25,6 @@ export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (i
|
|
|
31
25
|
export declare function equalsObject<U, V extends {
|
|
32
26
|
[key: string]: U;
|
|
33
27
|
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
34
|
-
export declare function deepFreeze(value: any): void;
|
|
35
28
|
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
36
29
|
__ref: string;
|
|
37
30
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-actionablelist",
|
|
3
|
-
"version": "1.134.
|
|
3
|
+
"version": "1.134.8",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapter for actionable list connect APIs",
|
|
6
6
|
"main": "dist/es/es2018/industries-actionablelist.js",
|
package/sfdc/index.js
CHANGED
|
@@ -14,10 +14,11 @@
|
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { createInstrumentedAdapter, createLDSAdapter, createWireAdapterConstructor, createImperativeAdapter } from 'force/ldsBindings';
|
|
16
16
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
17
|
-
import { serializeStructuredKey, StoreKeyMap } from 'force/luvioEngine';
|
|
17
|
+
import { serializeStructuredKey, StoreKeyMap, deepFreeze } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
|
-
const { keys: ObjectKeys$1,
|
|
20
|
+
const { keys: ObjectKeys$1, create: ObjectCreate$1 } = Object;
|
|
21
|
+
const { stringify: JSONStringify } = JSON;
|
|
21
22
|
const { isArray: ArrayIsArray$1 } = Array;
|
|
22
23
|
/**
|
|
23
24
|
* Validates an adapter config is well-formed.
|
|
@@ -58,9 +59,64 @@ const snapshotRefreshOptions = {
|
|
|
58
59
|
},
|
|
59
60
|
}
|
|
60
61
|
};
|
|
62
|
+
/**
|
|
63
|
+
* A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
|
|
64
|
+
* This is needed because insertion order for JSON.stringify(object) affects output:
|
|
65
|
+
* JSON.stringify({a: 1, b: 2})
|
|
66
|
+
* "{"a":1,"b":2}"
|
|
67
|
+
* JSON.stringify({b: 2, a: 1})
|
|
68
|
+
* "{"b":2,"a":1}"
|
|
69
|
+
* @param data Data to be JSON-stringified.
|
|
70
|
+
* @returns JSON.stringified value with consistent ordering of keys.
|
|
71
|
+
*/
|
|
72
|
+
function stableJSONStringify(node) {
|
|
73
|
+
// This is for Date values.
|
|
74
|
+
if (node && node.toJSON && typeof node.toJSON === 'function') {
|
|
75
|
+
// eslint-disable-next-line no-param-reassign
|
|
76
|
+
node = node.toJSON();
|
|
77
|
+
}
|
|
78
|
+
if (node === undefined) {
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
if (typeof node === 'number') {
|
|
82
|
+
return isFinite(node) ? '' + node : 'null';
|
|
83
|
+
}
|
|
84
|
+
if (typeof node !== 'object') {
|
|
85
|
+
return JSONStringify(node);
|
|
86
|
+
}
|
|
87
|
+
let i;
|
|
88
|
+
let out;
|
|
89
|
+
if (ArrayIsArray$1(node)) {
|
|
90
|
+
out = '[';
|
|
91
|
+
for (i = 0; i < node.length; i++) {
|
|
92
|
+
if (i) {
|
|
93
|
+
out += ',';
|
|
94
|
+
}
|
|
95
|
+
out += stableJSONStringify(node[i]) || 'null';
|
|
96
|
+
}
|
|
97
|
+
return out + ']';
|
|
98
|
+
}
|
|
99
|
+
if (node === null) {
|
|
100
|
+
return 'null';
|
|
101
|
+
}
|
|
102
|
+
const keys = ObjectKeys$1(node).sort();
|
|
103
|
+
out = '';
|
|
104
|
+
for (i = 0; i < keys.length; i++) {
|
|
105
|
+
const key = keys[i];
|
|
106
|
+
const value = stableJSONStringify(node[key]);
|
|
107
|
+
if (!value) {
|
|
108
|
+
continue;
|
|
109
|
+
}
|
|
110
|
+
if (out) {
|
|
111
|
+
out += ',';
|
|
112
|
+
}
|
|
113
|
+
out += JSONStringify(key) + ':' + value;
|
|
114
|
+
}
|
|
115
|
+
return '{' + out + '}';
|
|
116
|
+
}
|
|
61
117
|
const keyPrefix = 'actionablelist';
|
|
62
118
|
|
|
63
|
-
const {
|
|
119
|
+
const { keys: ObjectKeys, create: ObjectCreate, assign: ObjectAssign } = Object;
|
|
64
120
|
const { isArray: ArrayIsArray } = Array;
|
|
65
121
|
function equalsArray(a, b, equalsItem) {
|
|
66
122
|
const aLength = a.length;
|
|
@@ -94,24 +150,6 @@ function equalsObject(a, b, equalsProp) {
|
|
|
94
150
|
}
|
|
95
151
|
return true;
|
|
96
152
|
}
|
|
97
|
-
function deepFreeze(value) {
|
|
98
|
-
// No need to freeze primitives
|
|
99
|
-
if (typeof value !== 'object' || value === null) {
|
|
100
|
-
return;
|
|
101
|
-
}
|
|
102
|
-
if (ArrayIsArray(value)) {
|
|
103
|
-
for (let i = 0, len = value.length; i < len; i += 1) {
|
|
104
|
-
deepFreeze(value[i]);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
else {
|
|
108
|
-
const keys = ObjectKeys(value);
|
|
109
|
-
for (let i = 0, len = keys.length; i < len; i += 1) {
|
|
110
|
-
deepFreeze(value[keys[i]]);
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
ObjectFreeze(value);
|
|
114
|
-
}
|
|
115
153
|
function createLink(ref) {
|
|
116
154
|
return {
|
|
117
155
|
__ref: serializeStructuredKey(ref),
|
|
@@ -870,6 +908,7 @@ function ingestSuccess$4(luvio, resourceParams, response) {
|
|
|
870
908
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
871
909
|
}
|
|
872
910
|
}
|
|
911
|
+
deepFreeze(snapshot.data);
|
|
873
912
|
return snapshot;
|
|
874
913
|
}
|
|
875
914
|
function createResourceRequest$4(config) {
|
|
@@ -1808,7 +1847,7 @@ function select$6(luvio, params) {
|
|
|
1808
1847
|
return select$7();
|
|
1809
1848
|
}
|
|
1810
1849
|
function keyBuilder$6(luvio, params) {
|
|
1811
|
-
return keyPrefix + '::ActionableListDatasetByDefinitionRepresentation:(' + (params.body.actionableListDataset.actionableListDefinitionId === undefined ? 'actionableListDataset.actionableListDefinitionId' : 'actionableListDataset.actionableListDefinitionId:' + params.body.actionableListDataset.actionableListDefinitionId) + '::' + (params.body.actionableListDataset.filterLogic === undefined ? 'actionableListDataset.filterLogic' : 'actionableListDataset.filterLogic:' + params.body.actionableListDataset.filterLogic) + '::' + +'::' + (params.body.actionableListDataset.offset === undefined ? 'actionableListDataset.offset' : 'actionableListDataset.offset:' + params.body.actionableListDataset.offset) + '::' + (params.body.actionableListDataset.orderBy === undefined ? 'actionableListDataset.orderBy' : 'actionableListDataset.orderBy:' + params.body.actionableListDataset.orderBy) + '::' + (params.body.actionableListDataset.queryType === undefined ? 'actionableListDataset.queryType' : 'actionableListDataset.queryType:' + params.body.actionableListDataset.queryType) + '::' + (params.body.actionableListDataset.rowLimit === undefined ? 'actionableListDataset.rowLimit' : 'actionableListDataset.rowLimit:' + params.body.actionableListDataset.rowLimit) + '::' + (params.body.actionableListDataset.shouldReturnCurrencyCode === undefined ? 'actionableListDataset.shouldReturnCurrencyCode' : 'actionableListDataset.shouldReturnCurrencyCode:' + params.body.actionableListDataset.shouldReturnCurrencyCode) + '::' + (params.body.actionableListDataset.sortOrder === undefined ? 'actionableListDataset.sortOrder' : 'actionableListDataset.sortOrder:' + params.body.actionableListDataset.sortOrder) + ')';
|
|
1850
|
+
return keyPrefix + '::ActionableListDatasetByDefinitionRepresentation:(' + (params.body.actionableListDataset.actionableListDefinitionId === undefined ? 'actionableListDataset.actionableListDefinitionId' : 'actionableListDataset.actionableListDefinitionId:' + params.body.actionableListDataset.actionableListDefinitionId) + '::' + (params.body.actionableListDataset.filterLogic === undefined ? 'actionableListDataset.filterLogic' : 'actionableListDataset.filterLogic:' + params.body.actionableListDataset.filterLogic) + '::' + stableJSONStringify(params.body.actionableListDataset.filters) + '::' + (params.body.actionableListDataset.offset === undefined ? 'actionableListDataset.offset' : 'actionableListDataset.offset:' + params.body.actionableListDataset.offset) + '::' + (params.body.actionableListDataset.orderBy === undefined ? 'actionableListDataset.orderBy' : 'actionableListDataset.orderBy:' + params.body.actionableListDataset.orderBy) + '::' + (params.body.actionableListDataset.queryType === undefined ? 'actionableListDataset.queryType' : 'actionableListDataset.queryType:' + params.body.actionableListDataset.queryType) + '::' + (params.body.actionableListDataset.rowLimit === undefined ? 'actionableListDataset.rowLimit' : 'actionableListDataset.rowLimit:' + params.body.actionableListDataset.rowLimit) + '::' + (params.body.actionableListDataset.shouldReturnCurrencyCode === undefined ? 'actionableListDataset.shouldReturnCurrencyCode' : 'actionableListDataset.shouldReturnCurrencyCode:' + params.body.actionableListDataset.shouldReturnCurrencyCode) + '::' + (params.body.actionableListDataset.sortOrder === undefined ? 'actionableListDataset.sortOrder' : 'actionableListDataset.sortOrder:' + params.body.actionableListDataset.sortOrder) + ')';
|
|
1812
1851
|
}
|
|
1813
1852
|
function getResponseCacheKeys$3(luvio, resourceParams, response) {
|
|
1814
1853
|
return getTypeCacheKeys$3(luvio, response, () => keyBuilder$6(luvio, resourceParams));
|
|
@@ -1827,6 +1866,7 @@ function ingestSuccess$3(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
1827
1866
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
1828
1867
|
}
|
|
1829
1868
|
}
|
|
1869
|
+
deepFreeze(snapshot.data);
|
|
1830
1870
|
return snapshot;
|
|
1831
1871
|
}
|
|
1832
1872
|
function ingestError$2(luvio, params, error, snapshotRefresh) {
|
|
@@ -2087,6 +2127,7 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2087
2127
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
2088
2128
|
}
|
|
2089
2129
|
}
|
|
2130
|
+
deepFreeze(snapshot.data);
|
|
2090
2131
|
return snapshot;
|
|
2091
2132
|
}
|
|
2092
2133
|
function ingestError$1(luvio, params, error, snapshotRefresh) {
|
|
@@ -2353,6 +2394,7 @@ function ingestSuccess$1(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
2353
2394
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
2354
2395
|
}
|
|
2355
2396
|
}
|
|
2397
|
+
deepFreeze(snapshot.data);
|
|
2356
2398
|
return snapshot;
|
|
2357
2399
|
}
|
|
2358
2400
|
function ingestError(luvio, params, error, snapshotRefresh) {
|
|
@@ -2917,6 +2959,7 @@ function ingestSuccess(luvio, resourceParams, response) {
|
|
|
2917
2959
|
throw new Error('Invalid network response. Expected resource response to result in Fulfilled snapshot');
|
|
2918
2960
|
}
|
|
2919
2961
|
}
|
|
2962
|
+
deepFreeze(snapshot.data);
|
|
2920
2963
|
return snapshot;
|
|
2921
2964
|
}
|
|
2922
2965
|
function createResourceRequest(config) {
|
|
@@ -3042,4 +3085,4 @@ withDefaultLuvio((luvio) => {
|
|
|
3042
3085
|
});
|
|
3043
3086
|
|
|
3044
3087
|
export { createActionableListDefinition, getActionableListDatasetInfo, getActionableListDatasetInfo_imperative, getActionableListDefinitions, getActionableListDefinitions_imperative, getActionableListMembers, getActionableListMembers_imperative, upsertActionableList };
|
|
3045
|
-
// version: 1.134.
|
|
3088
|
+
// version: 1.134.8-c3d6d2cfc
|