@salesforce/lds-adapters-industries-context 1.439.0 → 1.441.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/industries-context.js +2842 -2462
- package/dist/es/es2018/types/src/generated/adapters/createContextQueryTags.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectContextsQueryTags.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/types/ContextTagDataRepresentation.d.ts +9 -9
- package/dist/es/es2018/types/src/generated/types/FilterConditionInputRepresentation.d.ts +20 -10
- package/dist/es/es2018/types/src/generated/types/OperandInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/QueryTagsInputRepresentation.d.ts +8 -8
- package/dist/es/es2018/types/src/generated/types/QueryTagsResultRepresentation.d.ts +11 -5
- package/package.json +4 -4
- package/sfdc/index.js +1551 -1159
- package/src/raml/api.raml +103 -59
- package/src/raml/luvio.raml +8 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { FilterConditionInputRepresentation as types_FilterConditionInputRepresentation_FilterConditionInputRepresentation } from '../types/FilterConditionInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectContextsQueryTags_ResourceRequestConfig } from '../resources/postConnectContextsQueryTags';
|
|
5
|
+
import { QueryTagsResultRepresentation as types_QueryTagsResultRepresentation_QueryTagsResultRepresentation } from '../types/QueryTagsResultRepresentation';
|
|
6
|
+
export declare const adapterName = "createContextQueryTags";
|
|
7
|
+
export declare const createContextQueryTags_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const createContextQueryTags_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface CreateContextQueryTagsConfig {
|
|
10
|
+
contextId: string;
|
|
11
|
+
tags: Array<string>;
|
|
12
|
+
filter?: Array<types_FilterConditionInputRepresentation_FilterConditionInputRepresentation>;
|
|
13
|
+
}
|
|
14
|
+
export declare const createResourceParams: (config: CreateContextQueryTagsConfig) => resources_postConnectContextsQueryTags_ResourceRequestConfig;
|
|
15
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: CreateContextQueryTagsConfig): string;
|
|
16
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: CreateContextQueryTagsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
17
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateContextQueryTagsConfig>): adapter$45$utils_Untrusted<CreateContextQueryTagsConfig>;
|
|
18
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateContextQueryTagsConfig | null;
|
|
19
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: CreateContextQueryTagsConfig): $64$luvio_engine_Fragment;
|
|
20
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateContextQueryTagsConfig): $64$luvio_engine_Snapshot<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation, any>;
|
|
21
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: CreateContextQueryTagsConfig, resourceParams: resources_postConnectContextsQueryTags_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation, any>>;
|
|
22
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: CreateContextQueryTagsConfig, resourceParams: resources_postConnectContextsQueryTags_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
23
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateContextQueryTagsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation, any>>;
|
|
24
|
+
export type BuildSnapshotContext = {
|
|
25
|
+
luvio: $64$luvio_engine_Luvio;
|
|
26
|
+
config: CreateContextQueryTagsConfig;
|
|
27
|
+
};
|
|
28
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation, any>>;
|
|
29
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation>): $64$luvio_engine_Snapshot<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation, any>;
|
|
30
|
+
export declare const createContextQueryTagsAdapterFactory: $64$luvio_engine_AdapterFactory<CreateContextQueryTagsConfig, types_QueryTagsResultRepresentation_QueryTagsResultRepresentation>;
|
|
@@ -56,6 +56,7 @@ export { updateContextMappingAdapterFactory } from '../adapters/updateContextMap
|
|
|
56
56
|
export { buildContextAdapterFactory } from '../adapters/buildContext';
|
|
57
57
|
export { buildAndQueryRecordsFilterAdapterFactory } from '../adapters/buildAndQueryRecordsFilter';
|
|
58
58
|
export { createContextQueryRecordsAdapterFactory } from '../adapters/createContextQueryRecords';
|
|
59
|
+
export { createContextQueryTagsAdapterFactory } from '../adapters/createContextQueryTags';
|
|
59
60
|
export { deleteContextAdapterFactory } from '../adapters/deleteContext';
|
|
60
61
|
export { getContextInfoAdapterFactory } from '../adapters/getContextInfo';
|
|
61
62
|
export { getContextTranslationAdapterFactory } from '../adapters/getContextTranslation';
|
|
@@ -13,6 +13,7 @@ declare let createContextNodeMapping: any;
|
|
|
13
13
|
declare let createContextNodeMappings: any;
|
|
14
14
|
declare let createContextNodes: any;
|
|
15
15
|
declare let createContextQueryRecords: any;
|
|
16
|
+
declare let createContextQueryTags: any;
|
|
16
17
|
declare let createContextServiceDefinition: any;
|
|
17
18
|
declare let createContextTags: any;
|
|
18
19
|
declare let deleteContext: any;
|
|
@@ -80,6 +81,7 @@ declare let updateContextNodes: any;
|
|
|
80
81
|
declare let updateContextServiceDefinition: any;
|
|
81
82
|
declare let updateContextTags: any;
|
|
82
83
|
declare let upgradeContextServiceDefinition: any;
|
|
84
|
+
declare let createContextQueryTags_imperative: any;
|
|
83
85
|
declare let getContext_imperative: any;
|
|
84
86
|
declare let getContextAttributeMapping_imperative: any;
|
|
85
87
|
declare let getContextDefinitions_imperative: any;
|
|
@@ -100,4 +102,4 @@ declare let getContextServiceTag_imperative: any;
|
|
|
100
102
|
declare let getContextTags_imperative: any;
|
|
101
103
|
declare let getContextTranslation_imperative: any;
|
|
102
104
|
declare let getDynamicAttributes_imperative: any;
|
|
103
|
-
export { buildAndQueryRecordsFilter, buildContext, buildContextAndQuery, cloneContextMappings, contextDefinitionTransformationClone, createContextAttributeMapping, createContextAttributeMappings, createContextAttributes, createContextFilters, createContextMapping, createContextMappings, createContextNodeMapping, createContextNodeMappings, createContextNodes, createContextQueryRecords, createContextServiceDefinition, createContextTags, deleteContext, deleteContextAttributeMapping, deleteContextFilter, deleteContextMapping, deleteContextNodeMapping, deleteContextServiceAttribute, deleteContextServiceAttributeMapping, deleteContextServiceDefinition, deleteContextServiceMapping, deleteContextServiceNode, deleteContextServiceNodeMapping, deleteContextServiceTag, deleteContextTransformations, getContext, getContextAttributeMapping, getContextAttributeMappingNotifyChange, getContextDefinitions, getContextFilter, getContextFilterNotifyChange, getContextFilters, getContextFiltersNotifyChange, getContextInfo, getContextInfoNotifyChange, getContextMapping, getContextMappingNotifyChange, getContextNodeMapping, getContextNodeMappingNotifyChange, getContextNotifyChange, getContextServiceAccess, getContextServiceAccessNotifyChange, getContextServiceAttribute, getContextServiceAttributeMapping, getContextServiceAttributeMappingNotifyChange, getContextServiceAttributeNotifyChange, getContextServiceDefinition, getContextServiceDefinitionInfo, getContextServiceDefinitionInfoNotifyChange, getContextServiceDefinitionNotifyChange, getContextServiceMapping, getContextServiceMappingNotifyChange, getContextServiceNode, getContextServiceNodeMapping, getContextServiceNodeMappingNotifyChange, getContextServiceNodeNotifyChange, getContextServiceTag, getContextServiceTagNotifyChange, getContextTags, getContextTagsNotifyChange, getContextTranslation, getDynamicAttributes, getDynamicAttributesNotifyChange, putContextServiceAccess, queryContextRecordAndChildren, updateContextAttributeMapping, updateContextAttributeMappings, updateContextAttributes, updateContextFilter, updateContextMapping, updateContextMappings, updateContextNodeMapping, updateContextNodeMappings, updateContextNodes, updateContextServiceDefinition, updateContextTags, upgradeContextServiceDefinition, getContext_imperative, getContextAttributeMapping_imperative, getContextDefinitions_imperative, getContextFilter_imperative, getContextFilters_imperative, getContextInfo_imperative, getContextMapping_imperative, getContextNodeMapping_imperative, getContextServiceAccess_imperative, getContextServiceAttribute_imperative, getContextServiceAttributeMapping_imperative, getContextServiceDefinition_imperative, getContextServiceDefinitionInfo_imperative, getContextServiceMapping_imperative, getContextServiceNode_imperative, getContextServiceNodeMapping_imperative, getContextServiceTag_imperative, getContextTags_imperative, getContextTranslation_imperative, getDynamicAttributes_imperative, };
|
|
105
|
+
export { buildAndQueryRecordsFilter, buildContext, buildContextAndQuery, cloneContextMappings, contextDefinitionTransformationClone, createContextAttributeMapping, createContextAttributeMappings, createContextAttributes, createContextFilters, createContextMapping, createContextMappings, createContextNodeMapping, createContextNodeMappings, createContextNodes, createContextQueryRecords, createContextQueryTags, createContextServiceDefinition, createContextTags, deleteContext, deleteContextAttributeMapping, deleteContextFilter, deleteContextMapping, deleteContextNodeMapping, deleteContextServiceAttribute, deleteContextServiceAttributeMapping, deleteContextServiceDefinition, deleteContextServiceMapping, deleteContextServiceNode, deleteContextServiceNodeMapping, deleteContextServiceTag, deleteContextTransformations, getContext, getContextAttributeMapping, getContextAttributeMappingNotifyChange, getContextDefinitions, getContextFilter, getContextFilterNotifyChange, getContextFilters, getContextFiltersNotifyChange, getContextInfo, getContextInfoNotifyChange, getContextMapping, getContextMappingNotifyChange, getContextNodeMapping, getContextNodeMappingNotifyChange, getContextNotifyChange, getContextServiceAccess, getContextServiceAccessNotifyChange, getContextServiceAttribute, getContextServiceAttributeMapping, getContextServiceAttributeMappingNotifyChange, getContextServiceAttributeNotifyChange, getContextServiceDefinition, getContextServiceDefinitionInfo, getContextServiceDefinitionInfoNotifyChange, getContextServiceDefinitionNotifyChange, getContextServiceMapping, getContextServiceMappingNotifyChange, getContextServiceNode, getContextServiceNodeMapping, getContextServiceNodeMappingNotifyChange, getContextServiceNodeNotifyChange, getContextServiceTag, getContextServiceTagNotifyChange, getContextTags, getContextTagsNotifyChange, getContextTranslation, getDynamicAttributes, getDynamicAttributesNotifyChange, putContextServiceAccess, queryContextRecordAndChildren, updateContextAttributeMapping, updateContextAttributeMappings, updateContextAttributes, updateContextFilter, updateContextMapping, updateContextMappings, updateContextNodeMapping, updateContextNodeMappings, updateContextNodes, updateContextServiceDefinition, updateContextTags, upgradeContextServiceDefinition, createContextQueryTags_imperative, getContext_imperative, getContextAttributeMapping_imperative, getContextDefinitions_imperative, getContextFilter_imperative, getContextFilters_imperative, getContextInfo_imperative, getContextMapping_imperative, getContextNodeMapping_imperative, getContextServiceAccess_imperative, getContextServiceAttribute_imperative, getContextServiceAttributeMapping_imperative, getContextServiceDefinition_imperative, getContextServiceDefinitionInfo_imperative, getContextServiceMapping_imperative, getContextServiceNode_imperative, getContextServiceNodeMapping_imperative, getContextServiceTag_imperative, getContextTags_imperative, getContextTranslation_imperative, getDynamicAttributes_imperative, };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FilterConditionInputRepresentation as types_FilterConditionInputRepresentation_FilterConditionInputRepresentation } from '../types/FilterConditionInputRepresentation';
|
|
2
|
+
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';
|
|
3
|
+
import { QueryTagsResultRepresentation as types_QueryTagsResultRepresentation_QueryTagsResultRepresentation } from '../types/QueryTagsResultRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
body: {
|
|
6
|
+
contextId: string;
|
|
7
|
+
tags: Array<string>;
|
|
8
|
+
filter?: Array<types_FilterConditionInputRepresentation_FilterConditionInputRepresentation>;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_QueryTagsResultRepresentation_QueryTagsResultRepresentation): void;
|
|
15
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation, any>;
|
|
16
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
17
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
18
|
+
export default createResourceRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "8dd321049925ab5df28da9ada3ae5ae2";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: ContextTagDataRepresentation, existing: ContextTagDataRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextTagDataRepresentationNormalized;
|
|
@@ -8,24 +8,24 @@ export declare function equals(existing: ContextTagDataRepresentationNormalized,
|
|
|
8
8
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
9
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ContextTagDataRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
10
|
/**
|
|
11
|
-
* Context Tag Data
|
|
11
|
+
* Output representation of Context Tag Data
|
|
12
12
|
*
|
|
13
13
|
* Keys:
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface ContextTagDataRepresentationNormalized {
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
/** Tag
|
|
20
|
-
tagValue?:
|
|
17
|
+
/** Data Path */
|
|
18
|
+
dataPath?: Array<string>;
|
|
19
|
+
/** Tag Value - Primitive or ContextDataRecordRepresentation */
|
|
20
|
+
tagValue?: {};
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Context Tag Data
|
|
23
|
+
* Output representation of Context Tag Data
|
|
24
24
|
*
|
|
25
25
|
* Keys:
|
|
26
26
|
* (none)
|
|
27
27
|
*/
|
|
28
28
|
export interface ContextTagDataRepresentation {
|
|
29
|
-
|
|
30
|
-
tagValue?:
|
|
29
|
+
dataPath?: Array<string>;
|
|
30
|
+
tagValue?: {};
|
|
31
31
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { OperandInputRepresentation as OperandInputRepresentation_OperandInputRepresentation } from './OperandInputRepresentation';
|
|
1
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';
|
|
2
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "bbb30efa8a6541c592ac19c5b1b409f1";
|
|
3
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
5
|
export declare const RepresentationType: string;
|
|
5
6
|
export declare function normalize(input: FilterConditionInputRepresentation, existing: FilterConditionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FilterConditionInputRepresentationNormalized;
|
|
@@ -8,27 +9,36 @@ export declare function equals(existing: FilterConditionInputRepresentationNorma
|
|
|
8
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
10
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: FilterConditionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
11
|
/**
|
|
11
|
-
* Input representation
|
|
12
|
+
* Input representation of Filter Condition
|
|
12
13
|
*
|
|
13
14
|
* Keys:
|
|
14
15
|
* (none)
|
|
15
16
|
*/
|
|
16
17
|
export interface FilterConditionInputRepresentationNormalized {
|
|
17
|
-
/**
|
|
18
|
-
|
|
19
|
-
/** Operator
|
|
18
|
+
/** Attribute Name */
|
|
19
|
+
attributeName: string;
|
|
20
|
+
/** Logical Operator */
|
|
21
|
+
logicalOperator: string;
|
|
22
|
+
/** Node Name */
|
|
23
|
+
nodeName: string;
|
|
24
|
+
/** Operands */
|
|
25
|
+
operands: Array<OperandInputRepresentation_OperandInputRepresentation>;
|
|
26
|
+
/** Operator */
|
|
20
27
|
operator: string;
|
|
21
|
-
/**
|
|
22
|
-
|
|
28
|
+
/** Underlying Conditions */
|
|
29
|
+
underlyingConditions: Array<FilterConditionInputRepresentation>;
|
|
23
30
|
}
|
|
24
31
|
/**
|
|
25
|
-
* Input representation
|
|
32
|
+
* Input representation of Filter Condition
|
|
26
33
|
*
|
|
27
34
|
* Keys:
|
|
28
35
|
* (none)
|
|
29
36
|
*/
|
|
30
37
|
export interface FilterConditionInputRepresentation {
|
|
31
|
-
|
|
38
|
+
attributeName: string;
|
|
39
|
+
logicalOperator: string;
|
|
40
|
+
nodeName: string;
|
|
41
|
+
operands: Array<OperandInputRepresentation_OperandInputRepresentation>;
|
|
32
42
|
operator: string;
|
|
33
|
-
|
|
43
|
+
underlyingConditions: Array<FilterConditionInputRepresentation>;
|
|
34
44
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "347b1b3fcabd497189db1516e0bb6f92";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: OperandInputRepresentation, existing: OperandInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): OperandInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: OperandInputRepresentationNormalized, incoming: OperandInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: OperandInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation of Operand
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface OperandInputRepresentationNormalized {
|
|
17
|
+
/** Type */
|
|
18
|
+
type: string;
|
|
19
|
+
/** Value */
|
|
20
|
+
value: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Input representation of Operand
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface OperandInputRepresentation {
|
|
29
|
+
type: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FilterConditionInputRepresentation as FilterConditionInputRepresentation_FilterConditionInputRepresentation } from './FilterConditionInputRepresentation';
|
|
2
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
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "9651e1f4d3737f9dec917a2bf0bfbe8b";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: QueryTagsInputRepresentation, existing: QueryTagsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): QueryTagsInputRepresentationNormalized;
|
|
@@ -9,21 +9,21 @@ export declare function equals(existing: QueryTagsInputRepresentationNormalized,
|
|
|
9
9
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
10
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: QueryTagsInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
11
|
/**
|
|
12
|
-
* Input representation for querying
|
|
12
|
+
* Input representation for querying Context Tags
|
|
13
13
|
*
|
|
14
14
|
* Keys:
|
|
15
15
|
* (none)
|
|
16
16
|
*/
|
|
17
17
|
export interface QueryTagsInputRepresentationNormalized {
|
|
18
|
-
/** Context
|
|
18
|
+
/** Context Id */
|
|
19
19
|
contextId: string;
|
|
20
|
-
/** Filter
|
|
20
|
+
/** Attribute Filter */
|
|
21
21
|
filter?: Array<FilterConditionInputRepresentation_FilterConditionInputRepresentation>;
|
|
22
|
-
/** List of
|
|
23
|
-
tags
|
|
22
|
+
/** List of Tags */
|
|
23
|
+
tags: Array<string>;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
* Input representation for querying
|
|
26
|
+
* Input representation for querying Context Tags
|
|
27
27
|
*
|
|
28
28
|
* Keys:
|
|
29
29
|
* (none)
|
|
@@ -31,5 +31,5 @@ export interface QueryTagsInputRepresentationNormalized {
|
|
|
31
31
|
export interface QueryTagsInputRepresentation {
|
|
32
32
|
contextId: string;
|
|
33
33
|
filter?: Array<FilterConditionInputRepresentation_FilterConditionInputRepresentation>;
|
|
34
|
-
tags
|
|
34
|
+
tags: Array<string>;
|
|
35
35
|
}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { ContextTagDataRepresentation as ContextTagDataRepresentation_ContextTagDataRepresentation } from './ContextTagDataRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 1000;
|
|
4
|
+
export declare const VERSION = "8aef0c1bac428c9a044d37d4109f7df6";
|
|
3
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
6
|
export declare const RepresentationType: string;
|
|
5
7
|
export declare function normalize(input: QueryTagsResultRepresentation, existing: QueryTagsResultRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): QueryTagsResultRepresentationNormalized;
|
|
6
|
-
export declare const select: () => $64$
|
|
8
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
7
9
|
export declare function equals(existing: QueryTagsResultRepresentationNormalized, incoming: QueryTagsResultRepresentationNormalized): boolean;
|
|
8
10
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
11
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: QueryTagsResultRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
@@ -19,7 +21,9 @@ export interface QueryTagsResultRepresentationNormalized {
|
|
|
19
21
|
/** Success */
|
|
20
22
|
isSuccess?: boolean;
|
|
21
23
|
/** Map of Tag and TagData */
|
|
22
|
-
queryResult?:
|
|
24
|
+
queryResult?: {
|
|
25
|
+
[key: string]: Array<ContextTagDataRepresentation_ContextTagDataRepresentation>;
|
|
26
|
+
};
|
|
23
27
|
}
|
|
24
28
|
/**
|
|
25
29
|
* Output representation of QueryResult-ContextTags
|
|
@@ -30,5 +34,7 @@ export interface QueryTagsResultRepresentationNormalized {
|
|
|
30
34
|
export interface QueryTagsResultRepresentation {
|
|
31
35
|
isDone?: boolean;
|
|
32
36
|
isSuccess?: boolean;
|
|
33
|
-
queryResult?:
|
|
37
|
+
queryResult?: {
|
|
38
|
+
[key: string]: Array<ContextTagDataRepresentation_ContextTagDataRepresentation>;
|
|
39
|
+
};
|
|
34
40
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-context",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.441.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Normandy Context Service",
|
|
6
6
|
"main": "dist/es/es2018/industries-context.js",
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
"test:unit": "jest --config=./jest.config.js"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@salesforce/lds-bindings": "^1.
|
|
47
|
+
"@salesforce/lds-bindings": "^1.441.0"
|
|
48
48
|
},
|
|
49
49
|
"volta": {
|
|
50
50
|
"extends": "../../package.json"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
54
|
-
"@salesforce/lds-karma": "^1.
|
|
53
|
+
"@salesforce/lds-compiler-plugins": "^1.441.0",
|
|
54
|
+
"@salesforce/lds-karma": "^1.441.0"
|
|
55
55
|
},
|
|
56
56
|
"nx": {
|
|
57
57
|
"targets": {
|