@salesforce/lds-adapters-industries-context 1.441.0 → 1.443.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 +2724 -2435
- package/dist/es/es2018/types/src/generated/adapters/createContextQueryTags.d.ts +2 -14
- package/dist/es/es2018/types/src/generated/adapters/createContextUpdateAttribute.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/createWriteThroughTags.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/resources/patchConnectContextsAttributes.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/resources/patchConnectContextsWriteThroughTags.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectContextsQueryTags.d.ts +2 -5
- package/dist/es/es2018/types/src/generated/types/ContextAttributeValueInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ContextOutputRepresentation.d.ts +18 -5
- package/dist/es/es2018/types/src/generated/types/ContextTagValueInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/NodePathAndAttributesInputRepresentation.d.ts +8 -10
- package/dist/es/es2018/types/src/generated/types/NodePathAndTagValuesInputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/QueryTagsResultRepresentation.d.ts +16 -4
- package/dist/es/es2018/types/src/generated/types/UpdateContextAttributesInputRepresentation.d.ts +4 -7
- package/dist/es/es2018/types/src/generated/types/WriteThroughTagsInputRepresentation.d.ts +32 -0
- package/package.json +4 -4
- package/sfdc/index.js +1885 -1599
- package/src/raml/api.raml +86 -13
- package/src/raml/luvio.raml +15 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio,
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
2
|
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
3
|
import { FilterConditionInputRepresentation as types_FilterConditionInputRepresentation_FilterConditionInputRepresentation } from '../types/FilterConditionInputRepresentation';
|
|
4
4
|
import { ResourceRequestConfig as resources_postConnectContextsQueryTags_ResourceRequestConfig } from '../resources/postConnectContextsQueryTags';
|
|
@@ -12,19 +12,7 @@ export interface CreateContextQueryTagsConfig {
|
|
|
12
12
|
filter?: Array<types_FilterConditionInputRepresentation_FilterConditionInputRepresentation>;
|
|
13
13
|
}
|
|
14
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
15
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateContextQueryTagsConfig>): adapter$45$utils_Untrusted<CreateContextQueryTagsConfig>;
|
|
18
16
|
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateContextQueryTagsConfig | null;
|
|
19
|
-
export declare function
|
|
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>;
|
|
17
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateContextQueryTagsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_QueryTagsResultRepresentation_QueryTagsResultRepresentation, any>>;
|
|
30
18
|
export declare const createContextQueryTagsAdapterFactory: $64$luvio_engine_AdapterFactory<CreateContextQueryTagsConfig, types_QueryTagsResultRepresentation_QueryTagsResultRepresentation>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, 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 { NodePathAndAttributesInputRepresentation as types_NodePathAndAttributesInputRepresentation_NodePathAndAttributesInputRepresentation } from '../types/NodePathAndAttributesInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_patchConnectContextsAttributes_ResourceRequestConfig } from '../resources/patchConnectContextsAttributes';
|
|
5
|
+
import { ContextOutputRepresentation as types_ContextOutputRepresentation_ContextOutputRepresentation } from '../types/ContextOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "createContextUpdateAttribute";
|
|
7
|
+
export declare const createContextUpdateAttribute_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const createContextUpdateAttribute_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface CreateContextUpdateAttributeConfig {
|
|
10
|
+
contextId: string;
|
|
11
|
+
nodePathAndAttributes: Array<types_NodePathAndAttributesInputRepresentation_NodePathAndAttributesInputRepresentation>;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: CreateContextUpdateAttributeConfig) => resources_patchConnectContextsAttributes_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateContextUpdateAttributeConfig>): adapter$45$utils_Untrusted<CreateContextUpdateAttributeConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateContextUpdateAttributeConfig | null;
|
|
16
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateContextUpdateAttributeConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ContextOutputRepresentation_ContextOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ContextOutputRepresentation_ContextOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ContextOutputRepresentation_ContextOutputRepresentation, any>>;
|
|
17
|
+
export declare const createContextUpdateAttributeAdapterFactory: $64$luvio_engine_AdapterFactory<CreateContextUpdateAttributeConfig, types_ContextOutputRepresentation_ContextOutputRepresentation>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, 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 { NodePathAndTagValuesInputRepresentation as types_NodePathAndTagValuesInputRepresentation_NodePathAndTagValuesInputRepresentation } from '../types/NodePathAndTagValuesInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_patchConnectContextsWriteThroughTags_ResourceRequestConfig } from '../resources/patchConnectContextsWriteThroughTags';
|
|
5
|
+
import { ContextOutputRepresentation as types_ContextOutputRepresentation_ContextOutputRepresentation } from '../types/ContextOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "createWriteThroughTags";
|
|
7
|
+
export declare const createWriteThroughTags_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const createWriteThroughTags_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface CreateWriteThroughTagsConfig {
|
|
10
|
+
contextId: string;
|
|
11
|
+
nodePathAndTagValues: Array<types_NodePathAndTagValuesInputRepresentation_NodePathAndTagValuesInputRepresentation>;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: CreateWriteThroughTagsConfig) => resources_patchConnectContextsWriteThroughTags_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateWriteThroughTagsConfig>): adapter$45$utils_Untrusted<CreateWriteThroughTagsConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateWriteThroughTagsConfig | null;
|
|
16
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateWriteThroughTagsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ContextOutputRepresentation_ContextOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ContextOutputRepresentation_ContextOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ContextOutputRepresentation_ContextOutputRepresentation, any>>;
|
|
17
|
+
export declare const createWriteThroughTagsAdapterFactory: $64$luvio_engine_AdapterFactory<CreateWriteThroughTagsConfig, types_ContextOutputRepresentation_ContextOutputRepresentation>;
|
|
@@ -57,6 +57,8 @@ export { buildContextAdapterFactory } from '../adapters/buildContext';
|
|
|
57
57
|
export { buildAndQueryRecordsFilterAdapterFactory } from '../adapters/buildAndQueryRecordsFilter';
|
|
58
58
|
export { createContextQueryRecordsAdapterFactory } from '../adapters/createContextQueryRecords';
|
|
59
59
|
export { createContextQueryTagsAdapterFactory } from '../adapters/createContextQueryTags';
|
|
60
|
+
export { createWriteThroughTagsAdapterFactory } from '../adapters/createWriteThroughTags';
|
|
61
|
+
export { createContextUpdateAttributeAdapterFactory } from '../adapters/createContextUpdateAttribute';
|
|
60
62
|
export { deleteContextAdapterFactory } from '../adapters/deleteContext';
|
|
61
63
|
export { getContextInfoAdapterFactory } from '../adapters/getContextInfo';
|
|
62
64
|
export { getContextTranslationAdapterFactory } from '../adapters/getContextTranslation';
|
|
@@ -16,6 +16,8 @@ declare let createContextQueryRecords: any;
|
|
|
16
16
|
declare let createContextQueryTags: any;
|
|
17
17
|
declare let createContextServiceDefinition: any;
|
|
18
18
|
declare let createContextTags: any;
|
|
19
|
+
declare let createContextUpdateAttribute: any;
|
|
20
|
+
declare let createWriteThroughTags: any;
|
|
19
21
|
declare let deleteContext: any;
|
|
20
22
|
declare let deleteContextAttributeMapping: any;
|
|
21
23
|
declare let deleteContextFilter: any;
|
|
@@ -81,7 +83,6 @@ declare let updateContextNodes: any;
|
|
|
81
83
|
declare let updateContextServiceDefinition: any;
|
|
82
84
|
declare let updateContextTags: any;
|
|
83
85
|
declare let upgradeContextServiceDefinition: any;
|
|
84
|
-
declare let createContextQueryTags_imperative: any;
|
|
85
86
|
declare let getContext_imperative: any;
|
|
86
87
|
declare let getContextAttributeMapping_imperative: any;
|
|
87
88
|
declare let getContextDefinitions_imperative: any;
|
|
@@ -102,4 +103,4 @@ declare let getContextServiceTag_imperative: any;
|
|
|
102
103
|
declare let getContextTags_imperative: any;
|
|
103
104
|
declare let getContextTranslation_imperative: any;
|
|
104
105
|
declare let getDynamicAttributes_imperative: any;
|
|
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,
|
|
106
|
+
export { buildAndQueryRecordsFilter, buildContext, buildContextAndQuery, cloneContextMappings, contextDefinitionTransformationClone, createContextAttributeMapping, createContextAttributeMappings, createContextAttributes, createContextFilters, createContextMapping, createContextMappings, createContextNodeMapping, createContextNodeMappings, createContextNodes, createContextQueryRecords, createContextQueryTags, createContextServiceDefinition, createContextTags, createContextUpdateAttribute, createWriteThroughTags, 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, };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NodePathAndAttributesInputRepresentation as types_NodePathAndAttributesInputRepresentation_NodePathAndAttributesInputRepresentation } from '../types/NodePathAndAttributesInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { ContextOutputRepresentation as types_ContextOutputRepresentation_ContextOutputRepresentation } from '../types/ContextOutputRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
body: {
|
|
6
|
+
contextId: string;
|
|
7
|
+
nodePathAndAttributes: Array<types_NodePathAndAttributesInputRepresentation_NodePathAndAttributesInputRepresentation>;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ContextOutputRepresentation_ContextOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ContextOutputRepresentation_ContextOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ContextOutputRepresentation_ContextOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ContextOutputRepresentation_ContextOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ContextOutputRepresentation_ContextOutputRepresentation, any>;
|
|
13
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
14
|
+
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/patchConnectContextsWriteThroughTags.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NodePathAndTagValuesInputRepresentation as types_NodePathAndTagValuesInputRepresentation_NodePathAndTagValuesInputRepresentation } from '../types/NodePathAndTagValuesInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
|
+
import { ContextOutputRepresentation as types_ContextOutputRepresentation_ContextOutputRepresentation } from '../types/ContextOutputRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
body: {
|
|
6
|
+
contextId: string;
|
|
7
|
+
nodePathAndTagValues: Array<types_NodePathAndTagValuesInputRepresentation_NodePathAndTagValuesInputRepresentation>;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ContextOutputRepresentation_ContextOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ContextOutputRepresentation_ContextOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ContextOutputRepresentation_ContextOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ContextOutputRepresentation_ContextOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ContextOutputRepresentation_ContextOutputRepresentation, any>;
|
|
13
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
14
|
+
export default createResourceRequest;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FilterConditionInputRepresentation as types_FilterConditionInputRepresentation_FilterConditionInputRepresentation } from '../types/FilterConditionInputRepresentation';
|
|
2
|
-
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
3
|
import { QueryTagsResultRepresentation as types_QueryTagsResultRepresentation_QueryTagsResultRepresentation } from '../types/QueryTagsResultRepresentation';
|
|
4
4
|
export interface ResourceRequestConfig {
|
|
5
5
|
body: {
|
|
@@ -9,10 +9,7 @@ export interface ResourceRequestConfig {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
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
12
|
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
|
|
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;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<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>;
|
|
17
14
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
18
15
|
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/types/ContextAttributeValueInputRepresentation.d.ts
ADDED
|
@@ -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 = "53deddc5fbd97fbbb2ff57686ef0b3c7";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ContextAttributeValueInputRepresentation, existing: ContextAttributeValueInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextAttributeValueInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ContextAttributeValueInputRepresentationNormalized, incoming: ContextAttributeValueInputRepresentationNormalized): 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: ContextAttributeValueInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation for Context Attribute Value
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ContextAttributeValueInputRepresentationNormalized {
|
|
17
|
+
/** Context Attribute Name */
|
|
18
|
+
attributeName: string;
|
|
19
|
+
/** Context Attribute Value */
|
|
20
|
+
attributeValue: unknown;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Input representation for Context Attribute Value
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface ContextAttributeValueInputRepresentation {
|
|
29
|
+
attributeName: string;
|
|
30
|
+
attributeValue: unknown;
|
|
31
|
+
}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const TTL = 1000;
|
|
3
|
+
export declare const VERSION = "02686f29f71381b4f34749d062a837c2";
|
|
3
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
5
|
export declare const RepresentationType: string;
|
|
6
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
7
|
+
id: string;
|
|
8
|
+
}
|
|
9
|
+
export type ContextOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialContextOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): ContextOutputRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ContextOutputRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ContextOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
5
15
|
export declare function normalize(input: ContextOutputRepresentation, existing: ContextOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextOutputRepresentationNormalized;
|
|
6
|
-
export declare const select: () => $64$
|
|
16
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
7
17
|
export declare function equals(existing: ContextOutputRepresentationNormalized, incoming: ContextOutputRepresentationNormalized): boolean;
|
|
8
18
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
19
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ContextOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
@@ -11,9 +21,11 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
11
21
|
* Context Output Representation
|
|
12
22
|
*
|
|
13
23
|
* Keys:
|
|
14
|
-
* (
|
|
24
|
+
* id (string): contextId
|
|
15
25
|
*/
|
|
16
26
|
export interface ContextOutputRepresentationNormalized {
|
|
27
|
+
/** Identifier of the context the operation was performed on */
|
|
28
|
+
contextId: string;
|
|
17
29
|
/** Success */
|
|
18
30
|
isSuccess?: boolean;
|
|
19
31
|
}
|
|
@@ -21,8 +33,9 @@ export interface ContextOutputRepresentationNormalized {
|
|
|
21
33
|
* Context Output Representation
|
|
22
34
|
*
|
|
23
35
|
* Keys:
|
|
24
|
-
* (
|
|
36
|
+
* id (string): contextId
|
|
25
37
|
*/
|
|
26
38
|
export interface ContextOutputRepresentation {
|
|
39
|
+
contextId: string;
|
|
27
40
|
isSuccess?: boolean;
|
|
28
41
|
}
|
|
@@ -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 = "0751fd1360ae190713bd86355cd7fc5f";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ContextTagValueInputRepresentation, existing: ContextTagValueInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextTagValueInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ContextTagValueInputRepresentationNormalized, incoming: ContextTagValueInputRepresentationNormalized): 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: ContextTagValueInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation for Context Tag Value
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ContextTagValueInputRepresentationNormalized {
|
|
17
|
+
/** Context Tag Name */
|
|
18
|
+
tagName: string;
|
|
19
|
+
/** Context Tag Value */
|
|
20
|
+
tagValue: unknown;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Input representation for Context Tag Value
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface ContextTagValueInputRepresentation {
|
|
29
|
+
tagName: string;
|
|
30
|
+
tagValue: unknown;
|
|
31
|
+
}
|
package/dist/es/es2018/types/src/generated/types/NodePathAndAttributesInputRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { ContextAttributeValueInputRepresentation as ContextAttributeValueInputRepresentation_ContextAttributeValueInputRepresentation } from './ContextAttributeValueInputRepresentation';
|
|
2
|
+
import { ContextDataPathInputRepresentation as ContextDataPathInputRepresentation_ContextDataPathInputRepresentation } from './ContextDataPathInputRepresentation';
|
|
1
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';
|
|
2
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "df33fd067d05ba89bc0c6b0c9189d9cd";
|
|
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: NodePathAndAttributesInputRepresentation, existing: NodePathAndAttributesInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): NodePathAndAttributesInputRepresentationNormalized;
|
|
@@ -14,12 +16,10 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
16
|
* (none)
|
|
15
17
|
*/
|
|
16
18
|
export interface NodePathAndAttributesInputRepresentationNormalized {
|
|
17
|
-
/**
|
|
18
|
-
attributes:
|
|
19
|
-
[key: string]: {};
|
|
20
|
-
};
|
|
19
|
+
/** List of Context Attribute Values */
|
|
20
|
+
attributes: Array<ContextAttributeValueInputRepresentation_ContextAttributeValueInputRepresentation>;
|
|
21
21
|
/** Node Path */
|
|
22
|
-
nodePath:
|
|
22
|
+
nodePath: ContextDataPathInputRepresentation_ContextDataPathInputRepresentation;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Input representation for NodePath and Attributes
|
|
@@ -28,8 +28,6 @@ export interface NodePathAndAttributesInputRepresentationNormalized {
|
|
|
28
28
|
* (none)
|
|
29
29
|
*/
|
|
30
30
|
export interface NodePathAndAttributesInputRepresentation {
|
|
31
|
-
attributes:
|
|
32
|
-
|
|
33
|
-
};
|
|
34
|
-
nodePath: Array<string>;
|
|
31
|
+
attributes: Array<ContextAttributeValueInputRepresentation_ContextAttributeValueInputRepresentation>;
|
|
32
|
+
nodePath: ContextDataPathInputRepresentation_ContextDataPathInputRepresentation;
|
|
35
33
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ContextDataPathInputRepresentation as ContextDataPathInputRepresentation_ContextDataPathInputRepresentation } from './ContextDataPathInputRepresentation';
|
|
2
|
+
import { ContextTagValueInputRepresentation as ContextTagValueInputRepresentation_ContextTagValueInputRepresentation } from './ContextTagValueInputRepresentation';
|
|
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
|
+
export declare const VERSION = "8d78bdbfcb1b0217667a57f2ff7f43c7";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: NodePathAndTagValuesInputRepresentation, existing: NodePathAndTagValuesInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): NodePathAndTagValuesInputRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: NodePathAndTagValuesInputRepresentationNormalized, incoming: NodePathAndTagValuesInputRepresentationNormalized): boolean;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: NodePathAndTagValuesInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Input representation for NodePath and Tag Values
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface NodePathAndTagValuesInputRepresentationNormalized {
|
|
19
|
+
/** Node Path */
|
|
20
|
+
nodePath: ContextDataPathInputRepresentation_ContextDataPathInputRepresentation;
|
|
21
|
+
/** Tag Value Map */
|
|
22
|
+
tagValues: Array<ContextTagValueInputRepresentation_ContextTagValueInputRepresentation>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Input representation for NodePath and Tag Values
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface NodePathAndTagValuesInputRepresentation {
|
|
31
|
+
nodePath: ContextDataPathInputRepresentation_ContextDataPathInputRepresentation;
|
|
32
|
+
tagValues: Array<ContextTagValueInputRepresentation_ContextTagValueInputRepresentation>;
|
|
33
|
+
}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { ContextTagDataRepresentation as ContextTagDataRepresentation_ContextTagDataRepresentation } from './ContextTagDataRepresentation';
|
|
2
|
-
import {
|
|
2
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
3
|
export declare const TTL = 1000;
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "1057cddc78fdb0f8896f59ad30183a1c";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
+
id: string;
|
|
9
|
+
}
|
|
10
|
+
export type QueryTagsResultRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialQueryTagsResultRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): QueryTagsResultRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: QueryTagsResultRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: QueryTagsResultRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
7
16
|
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;
|
|
8
17
|
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
9
18
|
export declare function equals(existing: QueryTagsResultRepresentationNormalized, incoming: QueryTagsResultRepresentationNormalized): boolean;
|
|
@@ -13,9 +22,11 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
13
22
|
* Output representation of QueryResult-ContextTags
|
|
14
23
|
*
|
|
15
24
|
* Keys:
|
|
16
|
-
* (
|
|
25
|
+
* id (string): contextId
|
|
17
26
|
*/
|
|
18
27
|
export interface QueryTagsResultRepresentationNormalized {
|
|
28
|
+
/** Identifier of the context the operation was performed on */
|
|
29
|
+
contextId: string;
|
|
19
30
|
/** Done */
|
|
20
31
|
isDone?: boolean;
|
|
21
32
|
/** Success */
|
|
@@ -29,9 +40,10 @@ export interface QueryTagsResultRepresentationNormalized {
|
|
|
29
40
|
* Output representation of QueryResult-ContextTags
|
|
30
41
|
*
|
|
31
42
|
* Keys:
|
|
32
|
-
* (
|
|
43
|
+
* id (string): contextId
|
|
33
44
|
*/
|
|
34
45
|
export interface QueryTagsResultRepresentation {
|
|
46
|
+
contextId: string;
|
|
35
47
|
isDone?: boolean;
|
|
36
48
|
isSuccess?: boolean;
|
|
37
49
|
queryResult?: {
|
package/dist/es/es2018/types/src/generated/types/UpdateContextAttributesInputRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { NodePathAndAttributesInputRepresentation as NodePathAndAttributesInputRepresentation_NodePathAndAttributesInputRepresentation } from './NodePathAndAttributesInputRepresentation';
|
|
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 = "362596037ce5927ea453519f21047de9";
|
|
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: UpdateContextAttributesInputRepresentation, existing: UpdateContextAttributesInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateContextAttributesInputRepresentationNormalized;
|
|
@@ -17,9 +18,7 @@ export interface UpdateContextAttributesInputRepresentationNormalized {
|
|
|
17
18
|
/** Context Id */
|
|
18
19
|
contextId: string;
|
|
19
20
|
/** List of Node Path to Attribute */
|
|
20
|
-
|
|
21
|
-
[key: string]: {};
|
|
22
|
-
}>;
|
|
21
|
+
nodePathAndAttributes: Array<NodePathAndAttributesInputRepresentation_NodePathAndAttributesInputRepresentation>;
|
|
23
22
|
}
|
|
24
23
|
/**
|
|
25
24
|
* Input representation for updating ContextAttributes
|
|
@@ -29,7 +28,5 @@ export interface UpdateContextAttributesInputRepresentationNormalized {
|
|
|
29
28
|
*/
|
|
30
29
|
export interface UpdateContextAttributesInputRepresentation {
|
|
31
30
|
contextId: string;
|
|
32
|
-
|
|
33
|
-
[key: string]: {};
|
|
34
|
-
}>;
|
|
31
|
+
nodePathAndAttributes: Array<NodePathAndAttributesInputRepresentation_NodePathAndAttributesInputRepresentation>;
|
|
35
32
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { NodePathAndTagValuesInputRepresentation as NodePathAndTagValuesInputRepresentation_NodePathAndTagValuesInputRepresentation } from './NodePathAndTagValuesInputRepresentation';
|
|
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 = "571ec0d978e1d559f3d34e17648d8d6e";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: WriteThroughTagsInputRepresentation, existing: WriteThroughTagsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): WriteThroughTagsInputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: WriteThroughTagsInputRepresentationNormalized, incoming: WriteThroughTagsInputRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: WriteThroughTagsInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Input representation for updating Context Attributes through Tags
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface WriteThroughTagsInputRepresentationNormalized {
|
|
18
|
+
/** Context Id */
|
|
19
|
+
contextId: string;
|
|
20
|
+
/** List of Node Path to tag values */
|
|
21
|
+
nodePathAndTagValues: Array<NodePathAndTagValuesInputRepresentation_NodePathAndTagValuesInputRepresentation>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Input representation for updating Context Attributes through Tags
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface WriteThroughTagsInputRepresentation {
|
|
30
|
+
contextId: string;
|
|
31
|
+
nodePathAndTagValues: Array<NodePathAndTagValuesInputRepresentation_NodePathAndTagValuesInputRepresentation>;
|
|
32
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-context",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.443.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.443.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.443.0",
|
|
54
|
+
"@salesforce/lds-karma": "^1.443.0"
|
|
55
55
|
},
|
|
56
56
|
"nx": {
|
|
57
57
|
"targets": {
|