@salesforce/lds-adapters-industries-context 1.440.0 → 1.442.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 +3079 -2410
- package/dist/es/es2018/types/src/generated/adapters/createContextQueryTags.d.ts +18 -0
- 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 +3 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +4 -1
- 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 +15 -0
- 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/ContextTagDataRepresentation.d.ts +9 -9
- package/dist/es/es2018/types/src/generated/types/ContextTagValueInputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FilterConditionInputRepresentation.d.ts +20 -10
- 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/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 +25 -7
- 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 +2047 -1369
- package/src/raml/api.raml +189 -72
- package/src/raml/luvio.raml +22 -0
|
@@ -0,0 +1,18 @@
|
|
|
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 { 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 typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateContextQueryTagsConfig>): adapter$45$utils_Untrusted<CreateContextQueryTagsConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateContextQueryTagsConfig | null;
|
|
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>>;
|
|
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>;
|
|
@@ -56,6 +56,9 @@ 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';
|
|
60
|
+
export { createWriteThroughTagsAdapterFactory } from '../adapters/createWriteThroughTags';
|
|
61
|
+
export { createContextUpdateAttributeAdapterFactory } from '../adapters/createContextUpdateAttribute';
|
|
59
62
|
export { deleteContextAdapterFactory } from '../adapters/deleteContext';
|
|
60
63
|
export { getContextInfoAdapterFactory } from '../adapters/getContextInfo';
|
|
61
64
|
export { getContextTranslationAdapterFactory } from '../adapters/getContextTranslation';
|
|
@@ -13,8 +13,11 @@ 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;
|
|
19
|
+
declare let createContextUpdateAttribute: any;
|
|
20
|
+
declare let createWriteThroughTags: any;
|
|
18
21
|
declare let deleteContext: any;
|
|
19
22
|
declare let deleteContextAttributeMapping: any;
|
|
20
23
|
declare let deleteContextFilter: any;
|
|
@@ -100,4 +103,4 @@ declare let getContextServiceTag_imperative: any;
|
|
|
100
103
|
declare let getContextTags_imperative: any;
|
|
101
104
|
declare let getContextTranslation_imperative: any;
|
|
102
105
|
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, };
|
|
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;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FilterConditionInputRepresentation as types_FilterConditionInputRepresentation_FilterConditionInputRepresentation } from '../types/FilterConditionInputRepresentation';
|
|
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 { 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 getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_QueryTagsResultRepresentation_QueryTagsResultRepresentation): void;
|
|
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>;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
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
|
}
|
|
@@ -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
|
}
|
|
@@ -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
|
+
}
|
|
@@ -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
|
}
|
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
|
+
}
|
|
@@ -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,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { ContextTagDataRepresentation as ContextTagDataRepresentation_ContextTagDataRepresentation } from './ContextTagDataRepresentation';
|
|
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
|
+
export declare const TTL = 1000;
|
|
4
|
+
export declare const VERSION = "1057cddc78fdb0f8896f59ad30183a1c";
|
|
3
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
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;
|
|
5
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;
|
|
6
|
-
export declare const select: () => $64$
|
|
17
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
7
18
|
export declare function equals(existing: QueryTagsResultRepresentationNormalized, incoming: QueryTagsResultRepresentationNormalized): boolean;
|
|
8
19
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
20
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: QueryTagsResultRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
@@ -11,24 +22,31 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
11
22
|
* Output representation of QueryResult-ContextTags
|
|
12
23
|
*
|
|
13
24
|
* Keys:
|
|
14
|
-
* (
|
|
25
|
+
* id (string): contextId
|
|
15
26
|
*/
|
|
16
27
|
export interface QueryTagsResultRepresentationNormalized {
|
|
28
|
+
/** Identifier of the context the operation was performed on */
|
|
29
|
+
contextId: string;
|
|
17
30
|
/** Done */
|
|
18
31
|
isDone?: boolean;
|
|
19
32
|
/** Success */
|
|
20
33
|
isSuccess?: boolean;
|
|
21
34
|
/** Map of Tag and TagData */
|
|
22
|
-
queryResult?:
|
|
35
|
+
queryResult?: {
|
|
36
|
+
[key: string]: Array<ContextTagDataRepresentation_ContextTagDataRepresentation>;
|
|
37
|
+
};
|
|
23
38
|
}
|
|
24
39
|
/**
|
|
25
40
|
* Output representation of QueryResult-ContextTags
|
|
26
41
|
*
|
|
27
42
|
* Keys:
|
|
28
|
-
* (
|
|
43
|
+
* id (string): contextId
|
|
29
44
|
*/
|
|
30
45
|
export interface QueryTagsResultRepresentation {
|
|
46
|
+
contextId: string;
|
|
31
47
|
isDone?: boolean;
|
|
32
48
|
isSuccess?: boolean;
|
|
33
|
-
queryResult?:
|
|
49
|
+
queryResult?: {
|
|
50
|
+
[key: string]: Array<ContextTagDataRepresentation_ContextTagDataRepresentation>;
|
|
51
|
+
};
|
|
34
52
|
}
|
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
|
}
|