@salesforce/lds-adapters-industries-context 1.435.1 → 1.437.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 +3390 -2345
- package/dist/es/es2018/types/src/generated/adapters/buildAndQueryRecordsFilter.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/adapters/buildContext.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/buildContextAndQuery.d.ts +28 -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/postConnectContext.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectContextQuery.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectContexts.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectContextsFiltering.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/types/ContextAllQueriesInputRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/ContextAllQueriesOutputRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ContextAndQueryInputRepresentation.d.ts +56 -0
- package/dist/es/es2018/types/src/generated/types/ContextAndQueryOutputRepresentation.d.ts +63 -0
- package/dist/es/es2018/types/src/generated/types/ContextAttributeTagToAttributeRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/ContextAttributeUpdateWithTagsRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ContextFilterInputRepresentation.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/ContextFilterOutputRepresentation.d.ts +52 -0
- package/dist/es/es2018/types/src/generated/types/ContextInputRepresentation.d.ts +4 -4
- package/dist/es/es2018/types/src/generated/types/ContextMetaColumnListInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/ContextMetaDataInputRepresentation.d.ts +10 -7
- package/dist/es/es2018/types/src/generated/types/ContextNodeTagToAttributesRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ContextTagDataRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FilterConditionInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/PersistContextInputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/PersistContextOutputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/QueryContextRecordStatusAttributesResultRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/QueryContextRecordsAndChildrenInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/QueryTagsInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/QueryTagsResultRepresentation.d.ts +34 -0
- package/package.json +4 -4
- package/sfdc/index.js +2386 -1332
- package/src/raml/api.raml +389 -1
- package/src/raml/luvio.raml +21 -0
|
@@ -0,0 +1,22 @@
|
|
|
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 { ContextInputRepresentation as types_ContextInputRepresentation_ContextInputRepresentation } from '../types/ContextInputRepresentation';
|
|
4
|
+
import { PersistContextInputRepresentation as types_PersistContextInputRepresentation_PersistContextInputRepresentation } from '../types/PersistContextInputRepresentation';
|
|
5
|
+
import { QueryContextRecordsAndChildrenInputRepresentation as types_QueryContextRecordsAndChildrenInputRepresentation_QueryContextRecordsAndChildrenInputRepresentation } from '../types/QueryContextRecordsAndChildrenInputRepresentation';
|
|
6
|
+
import { ResourceRequestConfig as resources_postConnectContextsFiltering_ResourceRequestConfig } from '../resources/postConnectContextsFiltering';
|
|
7
|
+
import { ContextFilterOutputRepresentation as types_ContextFilterOutputRepresentation_ContextFilterOutputRepresentation } from '../types/ContextFilterOutputRepresentation';
|
|
8
|
+
export declare const adapterName = "buildAndQueryRecordsFilter";
|
|
9
|
+
export declare const buildAndQueryRecordsFilter_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
10
|
+
export declare const buildAndQueryRecordsFilter_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
11
|
+
export interface BuildAndQueryRecordsFilterConfig {
|
|
12
|
+
build?: types_ContextInputRepresentation_ContextInputRepresentation;
|
|
13
|
+
filter?: string;
|
|
14
|
+
persist?: types_PersistContextInputRepresentation_PersistContextInputRepresentation;
|
|
15
|
+
query?: types_QueryContextRecordsAndChildrenInputRepresentation_QueryContextRecordsAndChildrenInputRepresentation;
|
|
16
|
+
type?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const createResourceParams: (config: BuildAndQueryRecordsFilterConfig) => resources_postConnectContextsFiltering_ResourceRequestConfig;
|
|
19
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<BuildAndQueryRecordsFilterConfig>): adapter$45$utils_Untrusted<BuildAndQueryRecordsFilterConfig>;
|
|
20
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): BuildAndQueryRecordsFilterConfig | null;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: BuildAndQueryRecordsFilterConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ContextFilterOutputRepresentation_ContextFilterOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ContextFilterOutputRepresentation_ContextFilterOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ContextFilterOutputRepresentation_ContextFilterOutputRepresentation, any>>;
|
|
22
|
+
export declare const buildAndQueryRecordsFilterAdapterFactory: $64$luvio_engine_AdapterFactory<BuildAndQueryRecordsFilterConfig, types_ContextFilterOutputRepresentation_ContextFilterOutputRepresentation>;
|
|
@@ -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 { ContextMetaDataInputRepresentation as types_ContextMetaDataInputRepresentation_ContextMetaDataInputRepresentation } from '../types/ContextMetaDataInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postConnectContexts_ResourceRequestConfig } from '../resources/postConnectContexts';
|
|
5
|
+
import { ContextInfoRepresentation as types_ContextInfoRepresentation_ContextInfoRepresentation } from '../types/ContextInfoRepresentation';
|
|
6
|
+
export declare const adapterName = "buildContext";
|
|
7
|
+
export declare const buildContext_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const buildContext_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface BuildContextConfig {
|
|
10
|
+
data: string;
|
|
11
|
+
metadata: types_ContextMetaDataInputRepresentation_ContextMetaDataInputRepresentation;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: BuildContextConfig) => resources_postConnectContexts_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<BuildContextConfig>): adapter$45$utils_Untrusted<BuildContextConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): BuildContextConfig | null;
|
|
16
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: BuildContextConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ContextInfoRepresentation_ContextInfoRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ContextInfoRepresentation_ContextInfoRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ContextInfoRepresentation_ContextInfoRepresentation, any>>;
|
|
17
|
+
export declare const buildContextAdapterFactory: $64$luvio_engine_AdapterFactory<BuildContextConfig, types_ContextInfoRepresentation_ContextInfoRepresentation>;
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { ContextAttributeUpdateWithTagsRepresentation as types_ContextAttributeUpdateWithTagsRepresentation_ContextAttributeUpdateWithTagsRepresentation } from '../types/ContextAttributeUpdateWithTagsRepresentation';
|
|
4
|
+
import { ContextInputRepresentation as types_ContextInputRepresentation_ContextInputRepresentation } from '../types/ContextInputRepresentation';
|
|
5
|
+
import { ContextMetaColumnListInputRepresentation as types_ContextMetaColumnListInputRepresentation_ContextMetaColumnListInputRepresentation } from '../types/ContextMetaColumnListInputRepresentation';
|
|
6
|
+
import { PersistContextInputRepresentation as types_PersistContextInputRepresentation_PersistContextInputRepresentation } from '../types/PersistContextInputRepresentation';
|
|
7
|
+
import { ContextAllQueriesInputRepresentation as types_ContextAllQueriesInputRepresentation_ContextAllQueriesInputRepresentation } from '../types/ContextAllQueriesInputRepresentation';
|
|
8
|
+
import { ResourceRequestConfig as resources_postConnectContextQuery_ResourceRequestConfig } from '../resources/postConnectContextQuery';
|
|
9
|
+
import { ContextAndQueryOutputRepresentation as types_ContextAndQueryOutputRepresentation_ContextAndQueryOutputRepresentation } from '../types/ContextAndQueryOutputRepresentation';
|
|
10
|
+
export declare const adapterName = "buildContextAndQuery";
|
|
11
|
+
export declare const buildContextAndQuery_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
12
|
+
export declare const buildContextAndQuery_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
13
|
+
export interface BuildContextAndQueryConfig {
|
|
14
|
+
attributeUpdateWithTagsRepresentation?: types_ContextAttributeUpdateWithTagsRepresentation_ContextAttributeUpdateWithTagsRepresentation;
|
|
15
|
+
build?: types_ContextInputRepresentation_ContextInputRepresentation;
|
|
16
|
+
contextMetaColumnListInputRepresentation?: types_ContextMetaColumnListInputRepresentation_ContextMetaColumnListInputRepresentation;
|
|
17
|
+
delete?: boolean;
|
|
18
|
+
persist?: types_PersistContextInputRepresentation_PersistContextInputRepresentation;
|
|
19
|
+
query?: types_ContextAllQueriesInputRepresentation_ContextAllQueriesInputRepresentation;
|
|
20
|
+
queryRecordStatusAttempts?: number;
|
|
21
|
+
tags?: Array<string>;
|
|
22
|
+
waitTime?: number;
|
|
23
|
+
}
|
|
24
|
+
export declare const createResourceParams: (config: BuildContextAndQueryConfig) => resources_postConnectContextQuery_ResourceRequestConfig;
|
|
25
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<BuildContextAndQueryConfig>): adapter$45$utils_Untrusted<BuildContextAndQueryConfig>;
|
|
26
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): BuildContextAndQueryConfig | null;
|
|
27
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: BuildContextAndQueryConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ContextAndQueryOutputRepresentation_ContextAndQueryOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ContextAndQueryOutputRepresentation_ContextAndQueryOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ContextAndQueryOutputRepresentation_ContextAndQueryOutputRepresentation, any>>;
|
|
28
|
+
export declare const buildContextAndQueryAdapterFactory: $64$luvio_engine_AdapterFactory<BuildContextAndQueryConfig, types_ContextAndQueryOutputRepresentation_ContextAndQueryOutputRepresentation>;
|
|
@@ -53,9 +53,12 @@ export { updateContextNodeMappingAdapterFactory } from '../adapters/updateContex
|
|
|
53
53
|
export { deleteContextMappingAdapterFactory } from '../adapters/deleteContextMapping';
|
|
54
54
|
export { getContextMappingAdapterFactory } from '../adapters/getContextMapping';
|
|
55
55
|
export { updateContextMappingAdapterFactory } from '../adapters/updateContextMapping';
|
|
56
|
+
export { buildContextAdapterFactory } from '../adapters/buildContext';
|
|
57
|
+
export { buildAndQueryRecordsFilterAdapterFactory } from '../adapters/buildAndQueryRecordsFilter';
|
|
56
58
|
export { createContextQueryRecordsAdapterFactory } from '../adapters/createContextQueryRecords';
|
|
57
59
|
export { deleteContextAdapterFactory } from '../adapters/deleteContext';
|
|
58
60
|
export { getContextInfoAdapterFactory } from '../adapters/getContextInfo';
|
|
59
61
|
export { getContextTranslationAdapterFactory } from '../adapters/getContextTranslation';
|
|
62
|
+
export { buildContextAndQueryAdapterFactory } from '../adapters/buildContextAndQuery';
|
|
60
63
|
export { getContextServiceAccessAdapterFactory } from '../adapters/getContextServiceAccess';
|
|
61
64
|
export { putContextServiceAccessAdapterFactory } from '../adapters/putContextServiceAccess';
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
declare let buildAndQueryRecordsFilter: any;
|
|
2
|
+
declare let buildContext: any;
|
|
3
|
+
declare let buildContextAndQuery: any;
|
|
1
4
|
declare let cloneContextMappings: any;
|
|
2
5
|
declare let contextDefinitionTransformationClone: any;
|
|
3
6
|
declare let createContextAttributeMapping: any;
|
|
@@ -97,4 +100,4 @@ declare let getContextServiceTag_imperative: any;
|
|
|
97
100
|
declare let getContextTags_imperative: any;
|
|
98
101
|
declare let getContextTranslation_imperative: any;
|
|
99
102
|
declare let getDynamicAttributes_imperative: any;
|
|
100
|
-
export { 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, };
|
|
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, };
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { ContextMetaDataInputRepresentation as types_ContextMetaDataInputRepresentation_ContextMetaDataInputRepresentation } from '../types/ContextMetaDataInputRepresentation';
|
|
1
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';
|
|
2
3
|
import { ContextInfoRepresentation as types_ContextInfoRepresentation_ContextInfoRepresentation } from '../types/ContextInfoRepresentation';
|
|
3
4
|
export interface ResourceRequestConfig {
|
|
4
5
|
body: {
|
|
5
6
|
data: string;
|
|
6
|
-
metadata:
|
|
7
|
+
metadata: types_ContextMetaDataInputRepresentation_ContextMetaDataInputRepresentation;
|
|
7
8
|
};
|
|
8
9
|
}
|
|
9
10
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ContextAttributeUpdateWithTagsRepresentation as types_ContextAttributeUpdateWithTagsRepresentation_ContextAttributeUpdateWithTagsRepresentation } from '../types/ContextAttributeUpdateWithTagsRepresentation';
|
|
2
|
+
import { ContextInputRepresentation as types_ContextInputRepresentation_ContextInputRepresentation } from '../types/ContextInputRepresentation';
|
|
3
|
+
import { ContextMetaColumnListInputRepresentation as types_ContextMetaColumnListInputRepresentation_ContextMetaColumnListInputRepresentation } from '../types/ContextMetaColumnListInputRepresentation';
|
|
4
|
+
import { PersistContextInputRepresentation as types_PersistContextInputRepresentation_PersistContextInputRepresentation } from '../types/PersistContextInputRepresentation';
|
|
5
|
+
import { ContextAllQueriesInputRepresentation as types_ContextAllQueriesInputRepresentation_ContextAllQueriesInputRepresentation } from '../types/ContextAllQueriesInputRepresentation';
|
|
6
|
+
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';
|
|
7
|
+
import { ContextAndQueryOutputRepresentation as types_ContextAndQueryOutputRepresentation_ContextAndQueryOutputRepresentation } from '../types/ContextAndQueryOutputRepresentation';
|
|
8
|
+
export interface ResourceRequestConfig {
|
|
9
|
+
body: {
|
|
10
|
+
attributeUpdateWithTagsRepresentation?: types_ContextAttributeUpdateWithTagsRepresentation_ContextAttributeUpdateWithTagsRepresentation;
|
|
11
|
+
build?: types_ContextInputRepresentation_ContextInputRepresentation;
|
|
12
|
+
contextMetaColumnListInputRepresentation?: types_ContextMetaColumnListInputRepresentation_ContextMetaColumnListInputRepresentation;
|
|
13
|
+
delete?: boolean;
|
|
14
|
+
persist?: types_PersistContextInputRepresentation_PersistContextInputRepresentation;
|
|
15
|
+
query?: types_ContextAllQueriesInputRepresentation_ContextAllQueriesInputRepresentation;
|
|
16
|
+
queryRecordStatusAttempts?: number;
|
|
17
|
+
tags?: Array<string>;
|
|
18
|
+
waitTime?: number;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
22
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ContextAndQueryOutputRepresentation_ContextAndQueryOutputRepresentation): void;
|
|
23
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ContextAndQueryOutputRepresentation_ContextAndQueryOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ContextAndQueryOutputRepresentation_ContextAndQueryOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ContextAndQueryOutputRepresentation_ContextAndQueryOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ContextAndQueryOutputRepresentation_ContextAndQueryOutputRepresentation, any>;
|
|
24
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
25
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ContextMetaDataInputRepresentation as types_ContextMetaDataInputRepresentation_ContextMetaDataInputRepresentation } from '../types/ContextMetaDataInputRepresentation';
|
|
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 { ContextInfoRepresentation as types_ContextInfoRepresentation_ContextInfoRepresentation } from '../types/ContextInfoRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
body: {
|
|
6
|
+
data: string;
|
|
7
|
+
metadata: types_ContextMetaDataInputRepresentation_ContextMetaDataInputRepresentation;
|
|
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_ContextInfoRepresentation_ContextInfoRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ContextInfoRepresentation_ContextInfoRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ContextInfoRepresentation_ContextInfoRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ContextInfoRepresentation_ContextInfoRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ContextInfoRepresentation_ContextInfoRepresentation, any>;
|
|
13
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
14
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ContextInputRepresentation as types_ContextInputRepresentation_ContextInputRepresentation } from '../types/ContextInputRepresentation';
|
|
2
|
+
import { PersistContextInputRepresentation as types_PersistContextInputRepresentation_PersistContextInputRepresentation } from '../types/PersistContextInputRepresentation';
|
|
3
|
+
import { QueryContextRecordsAndChildrenInputRepresentation as types_QueryContextRecordsAndChildrenInputRepresentation_QueryContextRecordsAndChildrenInputRepresentation } from '../types/QueryContextRecordsAndChildrenInputRepresentation';
|
|
4
|
+
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';
|
|
5
|
+
import { ContextFilterOutputRepresentation as types_ContextFilterOutputRepresentation_ContextFilterOutputRepresentation } from '../types/ContextFilterOutputRepresentation';
|
|
6
|
+
export interface ResourceRequestConfig {
|
|
7
|
+
body: {
|
|
8
|
+
build?: types_ContextInputRepresentation_ContextInputRepresentation;
|
|
9
|
+
filter?: string;
|
|
10
|
+
persist?: types_PersistContextInputRepresentation_PersistContextInputRepresentation;
|
|
11
|
+
query?: types_QueryContextRecordsAndChildrenInputRepresentation_QueryContextRecordsAndChildrenInputRepresentation;
|
|
12
|
+
type?: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
16
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ContextFilterOutputRepresentation_ContextFilterOutputRepresentation): void;
|
|
17
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ContextFilterOutputRepresentation_ContextFilterOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ContextFilterOutputRepresentation_ContextFilterOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ContextFilterOutputRepresentation_ContextFilterOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ContextFilterOutputRepresentation_ContextFilterOutputRepresentation, any>;
|
|
18
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
19
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { QueryContextRecordInputRepresentation as QueryContextRecordInputRepresentation_QueryContextRecordInputRepresentation } from './QueryContextRecordInputRepresentation';
|
|
2
|
+
import { QueryTagsInputRepresentation as QueryTagsInputRepresentation_QueryTagsInputRepresentation } from './QueryTagsInputRepresentation';
|
|
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 = "84bd738f9323205378df308757371e8f";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: ContextAllQueriesInputRepresentation, existing: ContextAllQueriesInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextAllQueriesInputRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: ContextAllQueriesInputRepresentationNormalized, incoming: ContextAllQueriesInputRepresentationNormalized): 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: ContextAllQueriesInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* Input representation for all queries
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface ContextAllQueriesInputRepresentationNormalized {
|
|
19
|
+
/** Iteration number */
|
|
20
|
+
iteration?: number;
|
|
21
|
+
/** Query records input */
|
|
22
|
+
queryRecords?: QueryContextRecordInputRepresentation_QueryContextRecordInputRepresentation;
|
|
23
|
+
/** Flag to query records with children */
|
|
24
|
+
queryRecordsWithChildren?: boolean;
|
|
25
|
+
/** Query tags input */
|
|
26
|
+
queryTags?: QueryTagsInputRepresentation_QueryTagsInputRepresentation;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Input representation for all queries
|
|
30
|
+
*
|
|
31
|
+
* Keys:
|
|
32
|
+
* (none)
|
|
33
|
+
*/
|
|
34
|
+
export interface ContextAllQueriesInputRepresentation {
|
|
35
|
+
iteration?: number;
|
|
36
|
+
queryRecords?: QueryContextRecordInputRepresentation_QueryContextRecordInputRepresentation;
|
|
37
|
+
queryRecordsWithChildren?: boolean;
|
|
38
|
+
queryTags?: QueryTagsInputRepresentation_QueryTagsInputRepresentation;
|
|
39
|
+
}
|
|
@@ -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 = "5c9d1783c59b8f3a73968fb755c5af5e";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ContextAllQueriesOutputRepresentation, existing: ContextAllQueriesOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextAllQueriesOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ContextAllQueriesOutputRepresentationNormalized, incoming: ContextAllQueriesOutputRepresentationNormalized): 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: ContextAllQueriesOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Output representation of All Queries
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ContextAllQueriesOutputRepresentationNormalized {
|
|
17
|
+
/** Context Query Record Representation */
|
|
18
|
+
queryRecordResponse?: unknown;
|
|
19
|
+
/** Context Query Tag Representation */
|
|
20
|
+
queryTagsResponse?: unknown;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Output representation of All Queries
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface ContextAllQueriesOutputRepresentation {
|
|
29
|
+
queryRecordResponse?: unknown;
|
|
30
|
+
queryTagsResponse?: unknown;
|
|
31
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ContextAttributeUpdateWithTagsRepresentation as ContextAttributeUpdateWithTagsRepresentation_ContextAttributeUpdateWithTagsRepresentation } from './ContextAttributeUpdateWithTagsRepresentation';
|
|
2
|
+
import { ContextInputRepresentation as ContextInputRepresentation_ContextInputRepresentation } from './ContextInputRepresentation';
|
|
3
|
+
import { ContextMetaColumnListInputRepresentation as ContextMetaColumnListInputRepresentation_ContextMetaColumnListInputRepresentation } from './ContextMetaColumnListInputRepresentation';
|
|
4
|
+
import { PersistContextInputRepresentation as PersistContextInputRepresentation_PersistContextInputRepresentation } from './PersistContextInputRepresentation';
|
|
5
|
+
import { ContextAllQueriesInputRepresentation as ContextAllQueriesInputRepresentation_ContextAllQueriesInputRepresentation } from './ContextAllQueriesInputRepresentation';
|
|
6
|
+
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';
|
|
7
|
+
export declare const VERSION = "3391826fb9da3449478e41fc49ffcb7a";
|
|
8
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
9
|
+
export declare const RepresentationType: string;
|
|
10
|
+
export declare function normalize(input: ContextAndQueryInputRepresentation, existing: ContextAndQueryInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextAndQueryInputRepresentationNormalized;
|
|
11
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
12
|
+
export declare function equals(existing: ContextAndQueryInputRepresentationNormalized, incoming: ContextAndQueryInputRepresentationNormalized): boolean;
|
|
13
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
14
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ContextAndQueryInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
15
|
+
/**
|
|
16
|
+
* Input representation of Context and Query
|
|
17
|
+
*
|
|
18
|
+
* Keys:
|
|
19
|
+
* (none)
|
|
20
|
+
*/
|
|
21
|
+
export interface ContextAndQueryInputRepresentationNormalized {
|
|
22
|
+
/** Context attribute update with tags representation */
|
|
23
|
+
attributeUpdateWithTagsRepresentation?: ContextAttributeUpdateWithTagsRepresentation_ContextAttributeUpdateWithTagsRepresentation;
|
|
24
|
+
/** Build Context Payload */
|
|
25
|
+
build?: ContextInputRepresentation_ContextInputRepresentation;
|
|
26
|
+
/** Context meta column list input representation */
|
|
27
|
+
contextMetaColumnListInputRepresentation?: ContextMetaColumnListInputRepresentation_ContextMetaColumnListInputRepresentation;
|
|
28
|
+
/** Delete Context */
|
|
29
|
+
delete?: boolean;
|
|
30
|
+
persist?: PersistContextInputRepresentation_PersistContextInputRepresentation;
|
|
31
|
+
/** Fetch all queries data */
|
|
32
|
+
query?: ContextAllQueriesInputRepresentation_ContextAllQueriesInputRepresentation;
|
|
33
|
+
/** Get Record Status Context */
|
|
34
|
+
queryRecordStatusAttempts?: number;
|
|
35
|
+
/** Set Tags */
|
|
36
|
+
tags?: Array<string>;
|
|
37
|
+
/** Set wait time value */
|
|
38
|
+
waitTime?: number;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Input representation of Context and Query
|
|
42
|
+
*
|
|
43
|
+
* Keys:
|
|
44
|
+
* (none)
|
|
45
|
+
*/
|
|
46
|
+
export interface ContextAndQueryInputRepresentation {
|
|
47
|
+
attributeUpdateWithTagsRepresentation?: ContextAttributeUpdateWithTagsRepresentation_ContextAttributeUpdateWithTagsRepresentation;
|
|
48
|
+
build?: ContextInputRepresentation_ContextInputRepresentation;
|
|
49
|
+
contextMetaColumnListInputRepresentation?: ContextMetaColumnListInputRepresentation_ContextMetaColumnListInputRepresentation;
|
|
50
|
+
delete?: boolean;
|
|
51
|
+
persist?: PersistContextInputRepresentation_PersistContextInputRepresentation;
|
|
52
|
+
query?: ContextAllQueriesInputRepresentation_ContextAllQueriesInputRepresentation;
|
|
53
|
+
queryRecordStatusAttempts?: number;
|
|
54
|
+
tags?: Array<string>;
|
|
55
|
+
waitTime?: number;
|
|
56
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ContextInfoRepresentation as ContextInfoRepresentation_ContextInfoRepresentation } from './ContextInfoRepresentation';
|
|
2
|
+
import { PersistContextOutputRepresentation as PersistContextOutputRepresentation_PersistContextOutputRepresentation } from './PersistContextOutputRepresentation';
|
|
3
|
+
import { ContextAllQueriesOutputRepresentation as ContextAllQueriesOutputRepresentation_ContextAllQueriesOutputRepresentation } from './ContextAllQueriesOutputRepresentation';
|
|
4
|
+
import { QueryContextRecordStatusAttributesResultRepresentation as QueryContextRecordStatusAttributesResultRepresentation_QueryContextRecordStatusAttributesResultRepresentation } from './QueryContextRecordStatusAttributesResultRepresentation';
|
|
5
|
+
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, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
6
|
+
export declare const TTL = 1000;
|
|
7
|
+
export declare const VERSION = "1af15b33670935abe297f8185f90bd6f";
|
|
8
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
9
|
+
export declare const RepresentationType: string;
|
|
10
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
11
|
+
id: string;
|
|
12
|
+
}
|
|
13
|
+
export type ContextAndQueryOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export type PartialContextAndQueryOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
16
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): ContextAndQueryOutputRepresentationNormalizedKeyMetadata;
|
|
17
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ContextAndQueryOutputRepresentation): string;
|
|
18
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ContextAndQueryOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
19
|
+
export declare function normalize(input: ContextAndQueryOutputRepresentation, existing: ContextAndQueryOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextAndQueryOutputRepresentationNormalized;
|
|
20
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
21
|
+
export declare function equals(existing: ContextAndQueryOutputRepresentationNormalized, incoming: ContextAndQueryOutputRepresentationNormalized): boolean;
|
|
22
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
23
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ContextAndQueryOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
24
|
+
/**
|
|
25
|
+
* Output representation of Context And Query
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* id (string): buildResponse.contextId
|
|
29
|
+
*/
|
|
30
|
+
export interface ContextAndQueryOutputRepresentationNormalized {
|
|
31
|
+
/** Context Build Representation */
|
|
32
|
+
buildResponse: $64$luvio_engine_StoreLink;
|
|
33
|
+
/** Unique Id - Optional, using buildResponse.contextId for caching */
|
|
34
|
+
contextAndQueryId?: string;
|
|
35
|
+
/** Delete Representation */
|
|
36
|
+
deleteResponse?: boolean;
|
|
37
|
+
/** Success */
|
|
38
|
+
isSuccess?: boolean;
|
|
39
|
+
/** Persist Representation */
|
|
40
|
+
persistResponse?: PersistContextOutputRepresentation_PersistContextOutputRepresentation;
|
|
41
|
+
/** Context Query Representation */
|
|
42
|
+
queriesResponse?: ContextAllQueriesOutputRepresentation_ContextAllQueriesOutputRepresentation;
|
|
43
|
+
/** queryContextRecordStatus */
|
|
44
|
+
queryContextRecordStatus?: QueryContextRecordStatusAttributesResultRepresentation_QueryContextRecordStatusAttributesResultRepresentation;
|
|
45
|
+
/** Get Record Status Representation */
|
|
46
|
+
recordStatusResponse?: boolean;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Output representation of Context And Query
|
|
50
|
+
*
|
|
51
|
+
* Keys:
|
|
52
|
+
* id (string): buildResponse.contextId
|
|
53
|
+
*/
|
|
54
|
+
export interface ContextAndQueryOutputRepresentation {
|
|
55
|
+
buildResponse: ContextInfoRepresentation_ContextInfoRepresentation;
|
|
56
|
+
contextAndQueryId?: string;
|
|
57
|
+
deleteResponse?: boolean;
|
|
58
|
+
isSuccess?: boolean;
|
|
59
|
+
persistResponse?: PersistContextOutputRepresentation_PersistContextOutputRepresentation;
|
|
60
|
+
queriesResponse?: ContextAllQueriesOutputRepresentation_ContextAllQueriesOutputRepresentation;
|
|
61
|
+
queryContextRecordStatus?: QueryContextRecordStatusAttributesResultRepresentation_QueryContextRecordStatusAttributesResultRepresentation;
|
|
62
|
+
recordStatusResponse?: boolean;
|
|
63
|
+
}
|
package/dist/es/es2018/types/src/generated/types/ContextAttributeTagToAttributeRepresentation.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 = "502efc940a5f33bed5c48fe1c6ba0a79";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ContextAttributeTagToAttributeRepresentation, existing: ContextAttributeTagToAttributeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextAttributeTagToAttributeRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ContextAttributeTagToAttributeRepresentationNormalized, incoming: ContextAttributeTagToAttributeRepresentationNormalized): 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: ContextAttributeTagToAttributeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Representation for attribute tag to attribute mapping
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ContextAttributeTagToAttributeRepresentationNormalized {
|
|
17
|
+
/** Attribute tag */
|
|
18
|
+
attributeTag: string;
|
|
19
|
+
/** Attribute value */
|
|
20
|
+
attributeValue: unknown;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Representation for attribute tag to attribute mapping
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface ContextAttributeTagToAttributeRepresentation {
|
|
29
|
+
attributeTag: string;
|
|
30
|
+
attributeValue: unknown;
|
|
31
|
+
}
|
package/dist/es/es2018/types/src/generated/types/ContextAttributeUpdateWithTagsRepresentation.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ContextNodeTagToAttributesRepresentation as ContextNodeTagToAttributesRepresentation_ContextNodeTagToAttributesRepresentation } from './ContextNodeTagToAttributesRepresentation';
|
|
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 = "20cc7c7d77b4366c9e8bb6c9894d3e82";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ContextAttributeUpdateWithTagsRepresentation, existing: ContextAttributeUpdateWithTagsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextAttributeUpdateWithTagsRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ContextAttributeUpdateWithTagsRepresentationNormalized, incoming: ContextAttributeUpdateWithTagsRepresentationNormalized): 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: ContextAttributeUpdateWithTagsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Representation for context attribute update with tags
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ContextAttributeUpdateWithTagsRepresentationNormalized {
|
|
18
|
+
/** List of node tag to attributes representations */
|
|
19
|
+
nodeTagToAttributesRepresentations: Array<ContextNodeTagToAttributesRepresentation_ContextNodeTagToAttributesRepresentation>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Representation for context attribute update with tags
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface ContextAttributeUpdateWithTagsRepresentation {
|
|
28
|
+
nodeTagToAttributesRepresentations: Array<ContextNodeTagToAttributesRepresentation_ContextNodeTagToAttributesRepresentation>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ContextInputRepresentation as ContextInputRepresentation_ContextInputRepresentation } from './ContextInputRepresentation';
|
|
2
|
+
import { PersistContextInputRepresentation as PersistContextInputRepresentation_PersistContextInputRepresentation } from './PersistContextInputRepresentation';
|
|
3
|
+
import { QueryContextRecordsAndChildrenInputRepresentation as QueryContextRecordsAndChildrenInputRepresentation_QueryContextRecordsAndChildrenInputRepresentation } from './QueryContextRecordsAndChildrenInputRepresentation';
|
|
4
|
+
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';
|
|
5
|
+
export declare const VERSION = "5d82d4c30a1b734a88f53c16c773060b";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export declare function normalize(input: ContextFilterInputRepresentation, existing: ContextFilterInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextFilterInputRepresentationNormalized;
|
|
9
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
10
|
+
export declare function equals(existing: ContextFilterInputRepresentationNormalized, incoming: ContextFilterInputRepresentationNormalized): boolean;
|
|
11
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
12
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ContextFilterInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
13
|
+
/**
|
|
14
|
+
* Filter input representation of Context
|
|
15
|
+
*
|
|
16
|
+
* Keys:
|
|
17
|
+
* (none)
|
|
18
|
+
*/
|
|
19
|
+
export interface ContextFilterInputRepresentationNormalized {
|
|
20
|
+
/** Build Context Payload */
|
|
21
|
+
build?: ContextInputRepresentation_ContextInputRepresentation;
|
|
22
|
+
/** Filter Criteria */
|
|
23
|
+
filter?: string;
|
|
24
|
+
/** Persist records of context */
|
|
25
|
+
persist?: PersistContextInputRepresentation_PersistContextInputRepresentation;
|
|
26
|
+
/** Query Records and Children Payload */
|
|
27
|
+
query?: QueryContextRecordsAndChildrenInputRepresentation_QueryContextRecordsAndChildrenInputRepresentation;
|
|
28
|
+
/** Type of query to perform i.e, Build, Query Records or Query Record and Children */
|
|
29
|
+
type?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Filter input representation of Context
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* (none)
|
|
36
|
+
*/
|
|
37
|
+
export interface ContextFilterInputRepresentation {
|
|
38
|
+
build?: ContextInputRepresentation_ContextInputRepresentation;
|
|
39
|
+
filter?: string;
|
|
40
|
+
persist?: PersistContextInputRepresentation_PersistContextInputRepresentation;
|
|
41
|
+
query?: QueryContextRecordsAndChildrenInputRepresentation_QueryContextRecordsAndChildrenInputRepresentation;
|
|
42
|
+
type?: string;
|
|
43
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ContextInfoRepresentation as ContextInfoRepresentation_ContextInfoRepresentation } from './ContextInfoRepresentation';
|
|
2
|
+
import { QueryRecordsResultRepresentation as QueryRecordsResultRepresentation_QueryRecordsResultRepresentation } from './QueryRecordsResultRepresentation';
|
|
3
|
+
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, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
|
+
export declare const TTL = 1000;
|
|
5
|
+
export declare const VERSION = "0bee7582ddd0d3e800aab96f239721df";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
9
|
+
id: string;
|
|
10
|
+
}
|
|
11
|
+
export type ContextFilterOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export type PartialContextFilterOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): ContextFilterOutputRepresentationNormalizedKeyMetadata;
|
|
15
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ContextFilterOutputRepresentation): string;
|
|
16
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ContextFilterOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
17
|
+
export declare function normalize(input: ContextFilterOutputRepresentation, existing: ContextFilterOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextFilterOutputRepresentationNormalized;
|
|
18
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
19
|
+
export declare function equals(existing: ContextFilterOutputRepresentationNormalized, incoming: ContextFilterOutputRepresentationNormalized): boolean;
|
|
20
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
21
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ContextFilterOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
22
|
+
/**
|
|
23
|
+
* Filter output representation of Context
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* id (string): contextInfoRepresentation.contextId
|
|
27
|
+
*/
|
|
28
|
+
export interface ContextFilterOutputRepresentationNormalized {
|
|
29
|
+
/** Unique Id - Optional, using contextInfoRepresentation.contextId for caching */
|
|
30
|
+
contextFilterOutputId?: string;
|
|
31
|
+
/** Context Info Representation */
|
|
32
|
+
contextInfoRepresentation: $64$luvio_engine_StoreLink;
|
|
33
|
+
/** Context Persistence Error */
|
|
34
|
+
persistError?: string;
|
|
35
|
+
/** Context Persistence response */
|
|
36
|
+
persistResponse?: string;
|
|
37
|
+
/** Context Query Records */
|
|
38
|
+
records?: $64$luvio_engine_StoreLink;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Filter output representation of Context
|
|
42
|
+
*
|
|
43
|
+
* Keys:
|
|
44
|
+
* id (string): contextInfoRepresentation.contextId
|
|
45
|
+
*/
|
|
46
|
+
export interface ContextFilterOutputRepresentation {
|
|
47
|
+
contextFilterOutputId?: string;
|
|
48
|
+
contextInfoRepresentation: ContextInfoRepresentation_ContextInfoRepresentation;
|
|
49
|
+
persistError?: string;
|
|
50
|
+
persistResponse?: string;
|
|
51
|
+
records?: QueryRecordsResultRepresentation_QueryRecordsResultRepresentation;
|
|
52
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ContextMetaDataInputRepresentation as ContextMetaDataInputRepresentation_ContextMetaDataInputRepresentation } from './ContextMetaDataInputRepresentation';
|
|
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 = "801c6077d426fd654b414f3ed2611806";
|
|
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: ContextInputRepresentation, existing: ContextInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextInputRepresentationNormalized;
|
|
@@ -16,8 +17,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
17
|
export interface ContextInputRepresentationNormalized {
|
|
17
18
|
/** Data */
|
|
18
19
|
data: string;
|
|
19
|
-
|
|
20
|
-
metadata: {};
|
|
20
|
+
metadata: ContextMetaDataInputRepresentation_ContextMetaDataInputRepresentation;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* Input representation of Context
|
|
@@ -27,5 +27,5 @@ export interface ContextInputRepresentationNormalized {
|
|
|
27
27
|
*/
|
|
28
28
|
export interface ContextInputRepresentation {
|
|
29
29
|
data: string;
|
|
30
|
-
metadata:
|
|
30
|
+
metadata: ContextMetaDataInputRepresentation_ContextMetaDataInputRepresentation;
|
|
31
31
|
}
|
package/dist/es/es2018/types/src/generated/types/ContextMetaColumnListInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
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 = "b7243b3ce8d5f4590dd3e5a8dfa0d06b";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ContextMetaColumnListInputRepresentation, existing: ContextMetaColumnListInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ContextMetaColumnListInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ContextMetaColumnListInputRepresentationNormalized, incoming: ContextMetaColumnListInputRepresentationNormalized): 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: ContextMetaColumnListInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Input representation for context meta column list
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface ContextMetaColumnListInputRepresentationNormalized {
|
|
17
|
+
/** List of column types */
|
|
18
|
+
columnsTypes: Array<string>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Input representation for context meta column list
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface ContextMetaColumnListInputRepresentation {
|
|
27
|
+
columnsTypes: Array<string>;
|
|
28
|
+
}
|