@salesforce/lds-adapters-platform-flow-builder 1.169.0 → 1.170.1
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/platform-flow-builder.js +9 -7
- package/dist/es/es2018/types/src/generated/resources/getConnectInteractionBuilderRules.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/resources/getConnectInteractionOrchestrationInstances.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FlowOperatorParameterRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FlowOperatorRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FlowOperatorRuleCollectionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FlowOperatorRuleRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FlowOrchestrationInstanceCollectionRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FlowOrchestrationInstanceRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FlowOrchestrationStageInstanceRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FlowOrchestrationStepInstanceRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FlowOrchestrationWorkItemRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FlowRuntimeNavigateRequestRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FlowRuntimeNavigationFieldValueRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/FlowRuntimeResponseRepresentation.d.ts +2 -2
- package/package.json +1 -1
- package/sfdc/index.js +10 -8
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey,
|
|
7
|
+
import { serializeStructuredKey, deepFreeze, StoreKeyMap } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
10
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
@@ -705,8 +705,7 @@ const ingest = function FlowOperatorRuleCollectionRepresentationIngest(input, pa
|
|
|
705
705
|
}
|
|
706
706
|
return createLink(key);
|
|
707
707
|
};
|
|
708
|
-
function getTypeCacheKeys(luvio, input, fullPathFactory) {
|
|
709
|
-
const rootKeySet = new StoreKeyMap();
|
|
708
|
+
function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
710
709
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
711
710
|
const rootKey = fullPathFactory();
|
|
712
711
|
rootKeySet.set(rootKey, {
|
|
@@ -714,7 +713,6 @@ function getTypeCacheKeys(luvio, input, fullPathFactory) {
|
|
|
714
713
|
representationName: RepresentationType,
|
|
715
714
|
mergeable: false
|
|
716
715
|
});
|
|
717
|
-
return rootKeySet;
|
|
718
716
|
}
|
|
719
717
|
|
|
720
718
|
function select(luvio, params) {
|
|
@@ -723,8 +721,8 @@ function select(luvio, params) {
|
|
|
723
721
|
function keyBuilder$1(luvio, params) {
|
|
724
722
|
return keyPrefix + '::FlowOperatorRuleCollectionRepresentation:(' + 'flowProcessType:' + params.queryParams.flowProcessType + ',' + 'flowTriggerType:' + params.queryParams.flowTriggerType + ',' + 'recordTriggerType:' + params.queryParams.recordTriggerType + ')';
|
|
725
723
|
}
|
|
726
|
-
function getResponseCacheKeys(luvio, resourceParams, response) {
|
|
727
|
-
|
|
724
|
+
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
725
|
+
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
728
726
|
}
|
|
729
727
|
function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
|
|
730
728
|
const { body } = response;
|
|
@@ -834,7 +832,11 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
834
832
|
const request = createResourceRequest(resourceParams);
|
|
835
833
|
return luvio.dispatchResourceRequest(request, options)
|
|
836
834
|
.then((response) => {
|
|
837
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () =>
|
|
835
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
|
|
836
|
+
const cache = new StoreKeyMap();
|
|
837
|
+
getResponseCacheKeys(cache, luvio, resourceParams, response.body);
|
|
838
|
+
return cache;
|
|
839
|
+
});
|
|
838
840
|
}, (response) => {
|
|
839
841
|
return luvio.handleErrorResponse(() => onFetchResponseError(luvio, config, resourceParams, response));
|
|
840
842
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { FlowOperatorRuleCollectionRepresentation as types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation } from '../types/FlowOperatorRuleCollectionRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
queryParams: {
|
|
@@ -10,7 +10,7 @@ export interface ResourceRequestConfig {
|
|
|
10
10
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
11
11
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
12
12
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation):
|
|
13
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation): void;
|
|
14
14
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation, any>;
|
|
15
15
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowOperatorRuleCollectionRepresentation_FlowOperatorRuleCollectionRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
16
16
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata,
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { FlowOrchestrationInstanceCollectionRepresentation as types_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation } from '../types/FlowOrchestrationInstanceCollectionRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
queryParams: {
|
|
@@ -8,7 +8,7 @@ export interface ResourceRequestConfig {
|
|
|
8
8
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
9
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
10
|
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
-
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation):
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation): void;
|
|
12
12
|
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation, any>;
|
|
13
13
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_FlowOrchestrationInstanceCollectionRepresentation_FlowOrchestrationInstanceCollectionRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
14
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
@@ -1,4 +1,4 @@
|
|
|
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,
|
|
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
2
|
export declare const VERSION = "1fbcf3729a54064347b98620da65caee";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: FlowOperatorParameterRepresentation, ex
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: FlowOperatorParameterRepresentationNormalized, incoming: FlowOperatorParameterRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOperatorParameterRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FlowOperatorParameterRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Parameter on the left or right hand side of an operation
|
|
12
12
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
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,
|
|
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
2
|
export declare const VERSION = "f21baf31691a4049568a8fd0232f6f99";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: FlowOperatorRepresentation, existing: F
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: FlowOperatorRepresentationNormalized, incoming: FlowOperatorRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOperatorRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FlowOperatorRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Operator in rules
|
|
12
12
|
*
|
package/dist/es/es2018/types/src/generated/types/FlowOperatorRuleCollectionRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FlowOperatorRuleRepresentation as FlowOperatorRuleRepresentation_FlowOperatorRuleRepresentation } from './FlowOperatorRuleRepresentation';
|
|
2
|
-
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,
|
|
2
|
+
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';
|
|
3
3
|
export declare const VERSION = "7b00537edb93014057d98c364ea0fc84";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
@@ -7,7 +7,7 @@ export declare function normalize(input: FlowOperatorRuleCollectionRepresentatio
|
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: FlowOperatorRuleCollectionRepresentationNormalized, incoming: FlowOperatorRuleCollectionRepresentationNormalized): boolean;
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOperatorRuleCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FlowOperatorRuleCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
12
|
* Collection of Flow Operator rules
|
|
13
13
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FlowOperatorRepresentation as FlowOperatorRepresentation_FlowOperatorRepresentation } from './FlowOperatorRepresentation';
|
|
2
2
|
import { FlowOperatorParameterRepresentation as FlowOperatorParameterRepresentation_FlowOperatorParameterRepresentation } from './FlowOperatorParameterRepresentation';
|
|
3
|
-
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,
|
|
3
|
+
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';
|
|
4
4
|
export declare const VERSION = "db9c200fd0583df1c75001ba9a103995";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
@@ -8,7 +8,7 @@ export declare function normalize(input: FlowOperatorRuleRepresentation, existin
|
|
|
8
8
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
9
|
export declare function equals(existing: FlowOperatorRuleRepresentationNormalized, incoming: FlowOperatorRuleRepresentationNormalized): boolean;
|
|
10
10
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOperatorRuleRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FlowOperatorRuleRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
12
|
/**
|
|
13
13
|
* Flow operator rule: LHS parameter type, operator, RHS parameter types, list of elements it can be applied to
|
|
14
14
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FlowOrchestrationInstanceRepresentation as FlowOrchestrationInstanceRepresentation_FlowOrchestrationInstanceRepresentation } from './FlowOrchestrationInstanceRepresentation';
|
|
2
|
-
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,
|
|
2
|
+
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';
|
|
3
3
|
export declare const VERSION = "ff1028f6e4a6a9aeed322135fdf518b5";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
@@ -7,7 +7,7 @@ export declare function normalize(input: FlowOrchestrationInstanceCollectionRepr
|
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: FlowOrchestrationInstanceCollectionRepresentationNormalized, incoming: FlowOrchestrationInstanceCollectionRepresentationNormalized): boolean;
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOrchestrationInstanceCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FlowOrchestrationInstanceCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
12
|
* Information about a collection of Orchestration instances.
|
|
13
13
|
*
|
package/dist/es/es2018/types/src/generated/types/FlowOrchestrationInstanceRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FlowOrchestrationStageInstanceRepresentation as FlowOrchestrationStageInstanceRepresentation_FlowOrchestrationStageInstanceRepresentation } from './FlowOrchestrationStageInstanceRepresentation';
|
|
2
|
-
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,
|
|
2
|
+
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';
|
|
3
3
|
export declare const VERSION = "5cd09fe6e4e088f4787a6cf1b9ab7a2a";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
@@ -7,7 +7,7 @@ export declare function normalize(input: FlowOrchestrationInstanceRepresentation
|
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: FlowOrchestrationInstanceRepresentationNormalized, incoming: FlowOrchestrationInstanceRepresentationNormalized): boolean;
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOrchestrationInstanceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FlowOrchestrationInstanceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
12
|
* Information about an Orchestration instance.
|
|
13
13
|
*
|
package/dist/es/es2018/types/src/generated/types/FlowOrchestrationStageInstanceRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FlowOrchestrationStepInstanceRepresentation as FlowOrchestrationStepInstanceRepresentation_FlowOrchestrationStepInstanceRepresentation } from './FlowOrchestrationStepInstanceRepresentation';
|
|
2
|
-
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,
|
|
2
|
+
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';
|
|
3
3
|
export declare const VERSION = "4d586ae3293b53e776853c9b4e1ad36b";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
@@ -7,7 +7,7 @@ export declare function normalize(input: FlowOrchestrationStageInstanceRepresent
|
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: FlowOrchestrationStageInstanceRepresentationNormalized, incoming: FlowOrchestrationStageInstanceRepresentationNormalized): boolean;
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOrchestrationStageInstanceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FlowOrchestrationStageInstanceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
12
|
* Information about an Orchestration stage instance.
|
|
13
13
|
*
|
package/dist/es/es2018/types/src/generated/types/FlowOrchestrationStepInstanceRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FlowOrchestrationWorkItemRepresentation as FlowOrchestrationWorkItemRepresentation_FlowOrchestrationWorkItemRepresentation } from './FlowOrchestrationWorkItemRepresentation';
|
|
2
|
-
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,
|
|
2
|
+
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';
|
|
3
3
|
export declare const VERSION = "9817b563e81370d761a0d7f4b18410e4";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
@@ -7,7 +7,7 @@ export declare function normalize(input: FlowOrchestrationStepInstanceRepresenta
|
|
|
7
7
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: FlowOrchestrationStepInstanceRepresentationNormalized, incoming: FlowOrchestrationStepInstanceRepresentationNormalized): boolean;
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOrchestrationStepInstanceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FlowOrchestrationStepInstanceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
12
|
* Information about an Orchestration step instance.
|
|
13
13
|
*
|
package/dist/es/es2018/types/src/generated/types/FlowOrchestrationWorkItemRepresentation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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,
|
|
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
2
|
export declare const VERSION = "ab05f41c9070286098c01e14dc5587f6";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: FlowOrchestrationWorkItemRepresentation
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: FlowOrchestrationWorkItemRepresentationNormalized, incoming: FlowOrchestrationWorkItemRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowOrchestrationWorkItemRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FlowOrchestrationWorkItemRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Information about an Orchestration work item.
|
|
12
12
|
*
|
package/dist/es/es2018/types/src/generated/types/FlowRuntimeNavigateRequestRepresentation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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,
|
|
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
2
|
export declare const VERSION = "624753ed7434c1a955979452cc7a6b4e";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: FlowRuntimeNavigateRequestRepresentatio
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: FlowRuntimeNavigateRequestRepresentationNormalized, incoming: FlowRuntimeNavigateRequestRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowRuntimeNavigateRequestRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FlowRuntimeNavigateRequestRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Flow navigate request
|
|
12
12
|
*
|
package/dist/es/es2018/types/src/generated/types/FlowRuntimeNavigationFieldValueRepresentation.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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,
|
|
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
2
|
export declare const VERSION = "5008c0fbc999a1e0e6ed4e26d4b27c73";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: FlowRuntimeNavigationFieldValueRepresen
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: FlowRuntimeNavigationFieldValueRepresentationNormalized, incoming: FlowRuntimeNavigationFieldValueRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowRuntimeNavigationFieldValueRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FlowRuntimeNavigationFieldValueRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* A value of an input field on a flow screen
|
|
12
12
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
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,
|
|
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
2
|
export declare const VERSION = "f7290426c8cf6a864f3b52a3aa2c8987";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
@@ -6,7 +6,7 @@ export declare function normalize(input: FlowRuntimeResponseRepresentation, exis
|
|
|
6
6
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
7
|
export declare function equals(existing: FlowRuntimeResponseRepresentationNormalized, incoming: FlowRuntimeResponseRepresentationNormalized): boolean;
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
-
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FlowRuntimeResponseRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata):
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FlowRuntimeResponseRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
11
|
* Flow Runtime Response Representation
|
|
12
12
|
*
|
package/package.json
CHANGED
package/sfdc/index.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
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,
|
|
17
|
+
import { serializeStructuredKey, deepFreeze, StoreKeyMap } from 'force/luvioEngine';
|
|
18
18
|
|
|
19
19
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
20
20
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
@@ -715,8 +715,7 @@ const ingest = function FlowOperatorRuleCollectionRepresentationIngest(input, pa
|
|
|
715
715
|
}
|
|
716
716
|
return createLink(key);
|
|
717
717
|
};
|
|
718
|
-
function getTypeCacheKeys(luvio, input, fullPathFactory) {
|
|
719
|
-
const rootKeySet = new StoreKeyMap();
|
|
718
|
+
function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
720
719
|
// root cache key (uses fullPathFactory if keyBuilderFromType isn't defined)
|
|
721
720
|
const rootKey = fullPathFactory();
|
|
722
721
|
rootKeySet.set(rootKey, {
|
|
@@ -724,7 +723,6 @@ function getTypeCacheKeys(luvio, input, fullPathFactory) {
|
|
|
724
723
|
representationName: RepresentationType,
|
|
725
724
|
mergeable: false
|
|
726
725
|
});
|
|
727
|
-
return rootKeySet;
|
|
728
726
|
}
|
|
729
727
|
|
|
730
728
|
function select(luvio, params) {
|
|
@@ -733,8 +731,8 @@ function select(luvio, params) {
|
|
|
733
731
|
function keyBuilder$1(luvio, params) {
|
|
734
732
|
return keyPrefix + '::FlowOperatorRuleCollectionRepresentation:(' + 'flowProcessType:' + params.queryParams.flowProcessType + ',' + 'flowTriggerType:' + params.queryParams.flowTriggerType + ',' + 'recordTriggerType:' + params.queryParams.recordTriggerType + ')';
|
|
735
733
|
}
|
|
736
|
-
function getResponseCacheKeys(luvio, resourceParams, response) {
|
|
737
|
-
|
|
734
|
+
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
735
|
+
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
738
736
|
}
|
|
739
737
|
function ingestSuccess(luvio, resourceParams, response, snapshotRefresh) {
|
|
740
738
|
const { body } = response;
|
|
@@ -844,7 +842,11 @@ function buildNetworkSnapshot(luvio, config, options) {
|
|
|
844
842
|
const request = createResourceRequest(resourceParams);
|
|
845
843
|
return luvio.dispatchResourceRequest(request, options)
|
|
846
844
|
.then((response) => {
|
|
847
|
-
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () =>
|
|
845
|
+
return luvio.handleSuccessResponse(() => onFetchResponseSuccess(luvio, config, resourceParams, response), () => {
|
|
846
|
+
const cache = new StoreKeyMap();
|
|
847
|
+
getResponseCacheKeys(cache, luvio, resourceParams, response.body);
|
|
848
|
+
return cache;
|
|
849
|
+
});
|
|
848
850
|
}, (response) => {
|
|
849
851
|
return luvio.handleErrorResponse(() => onFetchResponseError(luvio, config, resourceParams, response));
|
|
850
852
|
});
|
|
@@ -911,4 +913,4 @@ withDefaultLuvio((luvio) => {
|
|
|
911
913
|
});
|
|
912
914
|
|
|
913
915
|
export { getRules, getRules_imperative };
|
|
914
|
-
// version: 1.
|
|
916
|
+
// version: 1.170.1-5fb216cf1
|