@salesforce/lds-adapters-cdp-semantic-authoring 1.296.0 → 1.297.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/cdp-semantic-authoring.js +4484 -501
- package/dist/es/es2018/types/src/generated/adapters/getSemanticMetric.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/getSemanticMetrics.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +6 -1
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrId.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/SemanticMetricCollectionOutputRepresentation.d.ts +12 -3
- package/dist/es/es2018/types/src/generated/types/SemanticMetricOutputRepresentation.d.ts +13 -4
- package/dist/es/es2018/types/src/generated/types/SemanticModelCollectionOutputRepresentation.d.ts +2 -2
- package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +14 -5
- package/package.json +3 -3
- package/sfdc/index.js +5330 -1292
- package/src/raml/luvio.raml +13 -5
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrId_ResourceRequestConfig } from '../resources/getSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrId';
|
|
4
|
+
import { SemanticMetricOutputRepresentation as types_SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation, KeyParams as types_SemanticMetricOutputRepresentation_KeyParams } from '../types/SemanticMetricOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getSemanticMetric";
|
|
6
|
+
export declare const getSemanticMetric_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getSemanticMetric_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetSemanticMetricConfig {
|
|
9
|
+
metricNameOrId: string;
|
|
10
|
+
modelApiNameOrId: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: GetSemanticMetricConfig) => resources_getSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrId_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetSemanticMetricConfig>): adapter$45$utils_Untrusted<GetSemanticMetricConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetSemanticMetricConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricConfig): $64$luvio_engine_Snapshot<types_SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricConfig, resourceParams: resources_getSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricConfig, resourceParams: resources_getSsotSemanticModelsMetricsByMetricNameOrIdAndModelApiNameOrId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetSemanticMetricConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation>): $64$luvio_engine_Snapshot<types_SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation, any>;
|
|
28
|
+
export declare const getSemanticMetricAdapterFactory: $64$luvio_engine_AdapterFactory<GetSemanticMetricConfig, types_SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation>;
|
|
29
|
+
export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_SemanticMetricOutputRepresentation_KeyParams, any>[]) => void;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getSsotSemanticModelsMetricsByModelApiNameOrId_ResourceRequestConfig } from '../resources/getSsotSemanticModelsMetricsByModelApiNameOrId';
|
|
4
|
+
import { SemanticMetricCollectionOutputRepresentation as types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation } from '../types/SemanticMetricCollectionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getSemanticMetrics";
|
|
6
|
+
export declare const getSemanticMetrics_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getSemanticMetrics_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetSemanticMetricsConfig {
|
|
9
|
+
modelApiNameOrId: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: GetSemanticMetricsConfig) => resources_getSsotSemanticModelsMetricsByModelApiNameOrId_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricsConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetSemanticMetricsConfig>): adapter$45$utils_Untrusted<GetSemanticMetricsConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetSemanticMetricsConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricsConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricsConfig): $64$luvio_engine_Snapshot<types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricsConfig, resourceParams: resources_getSsotSemanticModelsMetricsByModelApiNameOrId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation, any>>;
|
|
19
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricsConfig, resourceParams: resources_getSsotSemanticModelsMetricsByModelApiNameOrId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation, any>>;
|
|
21
|
+
export type BuildSnapshotContext = {
|
|
22
|
+
luvio: $64$luvio_engine_Luvio;
|
|
23
|
+
config: GetSemanticMetricsConfig;
|
|
24
|
+
};
|
|
25
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation, any>>;
|
|
26
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation>): $64$luvio_engine_Snapshot<types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation, any>;
|
|
27
|
+
export declare const getSemanticMetricsAdapterFactory: $64$luvio_engine_AdapterFactory<GetSemanticMetricsConfig, types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation>;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export { getSemanticModelsAdapterFactory } from '../adapters/getSemanticModels';
|
|
2
2
|
export { getSemanticModelAdapterFactory } from '../adapters/getSemanticModel';
|
|
3
|
+
export { getSemanticMetricsAdapterFactory } from '../adapters/getSemanticMetrics';
|
|
4
|
+
export { getSemanticMetricAdapterFactory } from '../adapters/getSemanticMetric';
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
declare let getSemanticMetric: any;
|
|
2
|
+
declare let getSemanticMetricNotifyChange: any;
|
|
3
|
+
declare let getSemanticMetrics: any;
|
|
1
4
|
declare let getSemanticModel: any;
|
|
2
5
|
declare let getSemanticModelNotifyChange: any;
|
|
3
6
|
declare let getSemanticModels: any;
|
|
7
|
+
declare let getSemanticMetric_imperative: any;
|
|
8
|
+
declare let getSemanticMetrics_imperative: any;
|
|
4
9
|
declare let getSemanticModel_imperative: any;
|
|
5
10
|
declare let getSemanticModels_imperative: any;
|
|
6
|
-
export { getSemanticModel, getSemanticModelNotifyChange, getSemanticModels, getSemanticModel_imperative, getSemanticModels_imperative, };
|
|
11
|
+
export { getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetrics, getSemanticModel, getSemanticModelNotifyChange, getSemanticModels, getSemanticMetric_imperative, getSemanticMetrics_imperative, getSemanticModel_imperative, getSemanticModels_imperative, };
|
|
@@ -14,3 +14,4 @@ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourcePar
|
|
|
14
14
|
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
15
|
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
16
|
export default createResourceRequest;
|
|
17
|
+
export declare function createResourceRequestFromRepresentation(representation: types_SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation): $64$luvio_engine_ResourceRequest;
|
package/dist/es/es2018/types/src/generated/types/SemanticMetricCollectionOutputRepresentation.d.ts
CHANGED
|
@@ -1,13 +1,22 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
1
2
|
import { SemanticMetricOutputRepresentation as SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation } from './SemanticMetricOutputRepresentation';
|
|
2
|
-
|
|
3
|
-
export declare const VERSION = "68afadabd3e24c812688a29aa51f85ee";
|
|
3
|
+
export declare const VERSION = "099ecda89ead862ebc5bbba6125bfa88";
|
|
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: SemanticMetricCollectionOutputRepresentation, existing: SemanticMetricCollectionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticMetricCollectionOutputRepresentationNormalized;
|
|
7
|
+
export interface DynamicIngestParams {
|
|
8
|
+
metrics: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
}
|
|
10
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SemanticMetricCollectionOutputRepresentation, existing: SemanticMetricCollectionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SemanticMetricCollectionOutputRepresentationNormalized;
|
|
7
11
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
12
|
+
export interface DynamicSelectParams {
|
|
13
|
+
metrics?: $64$luvio_engine_LinkSelection;
|
|
14
|
+
}
|
|
15
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
8
16
|
export declare function equals(existing: SemanticMetricCollectionOutputRepresentationNormalized, incoming: SemanticMetricCollectionOutputRepresentationNormalized): boolean;
|
|
9
17
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
18
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SemanticMetricCollectionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
19
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
11
20
|
/**
|
|
12
21
|
* Semantic metrics collection representation.
|
|
13
22
|
*
|
|
@@ -16,7 +25,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
25
|
*/
|
|
17
26
|
export interface SemanticMetricCollectionOutputRepresentationNormalized {
|
|
18
27
|
/** The list of semantic metrics. */
|
|
19
|
-
metrics: Array
|
|
28
|
+
metrics: Array<$64$luvio_engine_StoreLink>;
|
|
20
29
|
}
|
|
21
30
|
/**
|
|
22
31
|
* Semantic metrics collection representation.
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import { SemanticFieldReferenceOutputRepresentation as SemanticFieldReferenceOutputRepresentation_SemanticFieldReferenceOutputRepresentation } from './SemanticFieldReferenceOutputRepresentation';
|
|
2
2
|
import { SemanticFilterOutputRepresentation as SemanticFilterOutputRepresentation_SemanticFilterOutputRepresentation } from './SemanticFilterOutputRepresentation';
|
|
3
3
|
import { SemanticInsightsSettingsOutputRepresentation as SemanticInsightsSettingsOutputRepresentation_SemanticInsightsSettingsOutputRepresentation } from './SemanticInsightsSettingsOutputRepresentation';
|
|
4
|
-
import {
|
|
5
|
-
export declare const VERSION = "
|
|
4
|
+
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
5
|
+
export declare const VERSION = "7215db3e07d470ddcb00280a19f7fbcd";
|
|
6
6
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
7
|
export declare const RepresentationType: string;
|
|
8
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
9
|
+
name: string;
|
|
10
|
+
}
|
|
11
|
+
export type SemanticMetricOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export type PartialSemanticMetricOutputRepresentationNormalizedKeyMetadata = 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): SemanticMetricOutputRepresentationNormalizedKeyMetadata;
|
|
15
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SemanticMetricOutputRepresentation): string;
|
|
16
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SemanticMetricOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
8
17
|
export declare function normalize(input: SemanticMetricOutputRepresentation, existing: SemanticMetricOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticMetricOutputRepresentationNormalized;
|
|
9
18
|
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
10
19
|
export declare function equals(existing: SemanticMetricOutputRepresentationNormalized, incoming: SemanticMetricOutputRepresentationNormalized): boolean;
|
|
@@ -14,7 +23,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
23
|
* Output representation for creating a semantic metric
|
|
15
24
|
*
|
|
16
25
|
* Keys:
|
|
17
|
-
* (
|
|
26
|
+
* name (string): id
|
|
18
27
|
*/
|
|
19
28
|
export interface SemanticMetricOutputRepresentationNormalized {
|
|
20
29
|
/** A list of dimension API names that can be used as filters. */
|
|
@@ -52,7 +61,7 @@ export interface SemanticMetricOutputRepresentationNormalized {
|
|
|
52
61
|
* Output representation for creating a semantic metric
|
|
53
62
|
*
|
|
54
63
|
* Keys:
|
|
55
|
-
* (
|
|
64
|
+
* name (string): id
|
|
56
65
|
*/
|
|
57
66
|
export interface SemanticMetricOutputRepresentation {
|
|
58
67
|
adjustableFilters?: Array<SemanticFieldReferenceOutputRepresentation_SemanticFieldReferenceOutputRepresentation>;
|
package/dist/es/es2018/types/src/generated/types/SemanticModelCollectionOutputRepresentation.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SemanticModelPartialOutputRepresentation as SemanticModelPartialOutputRepresentation_SemanticModelPartialOutputRepresentation } from './SemanticModelPartialOutputRepresentation';
|
|
2
|
-
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store,
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
3
|
export declare const VERSION = "73c687cae9892dfdc5145743352ced92";
|
|
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: SemanticModelCollectionOutputRepresentation, existing: SemanticModelCollectionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticModelCollectionOutputRepresentationNormalized;
|
|
7
|
-
export declare const select: () => $64$
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
8
|
export declare function equals(existing: SemanticModelCollectionOutputRepresentationNormalized, incoming: SemanticModelCollectionOutputRepresentationNormalized): boolean;
|
|
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: SemanticModelCollectionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
@@ -3,11 +3,11 @@ import { SemanticCalculatedDimensionOutputRepresentation as SemanticCalculatedDi
|
|
|
3
3
|
import { SemanticCalculatedMeasurementOutputRepresentation as SemanticCalculatedMeasurementOutputRepresentation_SemanticCalculatedMeasurementOutputRepresentation } from './SemanticCalculatedMeasurementOutputRepresentation';
|
|
4
4
|
import { SemanticDataObjectOutputRepresentation as SemanticDataObjectOutputRepresentation_SemanticDataObjectOutputRepresentation } from './SemanticDataObjectOutputRepresentation';
|
|
5
5
|
import { SemanticLogicalViewOutputRepresentation as SemanticLogicalViewOutputRepresentation_SemanticLogicalViewOutputRepresentation } from './SemanticLogicalViewOutputRepresentation';
|
|
6
|
-
import { SemanticMetricOutputRepresentation as SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation } from './SemanticMetricOutputRepresentation';
|
|
7
6
|
import { SemanticParameterOutputRepresentation as SemanticParameterOutputRepresentation_SemanticParameterOutputRepresentation } from './SemanticParameterOutputRepresentation';
|
|
8
7
|
import { SemanticRelationshipOutputRepresentation as SemanticRelationshipOutputRepresentation_SemanticRelationshipOutputRepresentation } from './SemanticRelationshipOutputRepresentation';
|
|
9
|
-
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,
|
|
10
|
-
|
|
8
|
+
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, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
9
|
+
import { SemanticMetricOutputRepresentation as SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation } from './SemanticMetricOutputRepresentation';
|
|
10
|
+
export declare const VERSION = "211d40c65f36ad1fef49d7348f6d9a76";
|
|
11
11
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
12
12
|
export declare const RepresentationType: string;
|
|
13
13
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -20,10 +20,19 @@ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio,
|
|
|
20
20
|
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SemanticModelOutputRepresentation): string;
|
|
21
21
|
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SemanticModelOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
22
22
|
export declare function normalize(input: SemanticModelOutputRepresentation, existing: SemanticModelOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticModelOutputRepresentationNormalized;
|
|
23
|
-
export
|
|
23
|
+
export interface DynamicIngestParams {
|
|
24
|
+
semanticMetrics: $64$luvio_engine_ResourceIngest;
|
|
25
|
+
}
|
|
26
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SemanticModelOutputRepresentation, existing: SemanticModelOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SemanticModelOutputRepresentationNormalized;
|
|
27
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
28
|
+
export interface DynamicSelectParams {
|
|
29
|
+
semanticMetrics?: $64$luvio_engine_LinkSelection;
|
|
30
|
+
}
|
|
31
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
24
32
|
export declare function equals(existing: SemanticModelOutputRepresentationNormalized, incoming: SemanticModelOutputRepresentationNormalized): boolean;
|
|
25
33
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
26
34
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SemanticModelOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
35
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
27
36
|
/**
|
|
28
37
|
* The output representation of a specific semantic model.
|
|
29
38
|
*
|
|
@@ -72,7 +81,7 @@ export interface SemanticModelOutputRepresentationNormalized {
|
|
|
72
81
|
/** The semantic logical views belonging to this model. */
|
|
73
82
|
semanticLogicalViews?: Array<SemanticLogicalViewOutputRepresentation_SemanticLogicalViewOutputRepresentation>;
|
|
74
83
|
/** The semantic metrics belonging to this model. */
|
|
75
|
-
semanticMetrics?: Array
|
|
84
|
+
semanticMetrics?: Array<$64$luvio_engine_StoreLink>;
|
|
76
85
|
/** The list of parameters belonging to the semantic model. */
|
|
77
86
|
semanticParameters?: Array<SemanticParameterOutputRepresentation_SemanticParameterOutputRepresentation>;
|
|
78
87
|
/** The URL that references the Semantic Parameters. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-semantic-authoring",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.297.0",
|
|
4
4
|
"description": "Semantic Authoring",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/cdp-semantic-authoring.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.297.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.297.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|