@salesforce/lds-adapters-cdp-semantic-authoring 1.314.0 → 1.315.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 +5556 -5424
- package/dist/es/es2018/types/src/generated/adapters/getSemanticMetricsByIds.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticMetricsByMetricIds.d.ts +15 -0
- package/package.json +3 -3
- package/sfdc/index.js +376 -233
- package/src/raml/api.raml +14 -0
- package/src/raml/luvio.raml +5 -0
|
@@ -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_getSsotSemanticMetricsByMetricIds_ResourceRequestConfig } from '../resources/getSsotSemanticMetricsByMetricIds';
|
|
4
|
+
import { SemanticMetricCollectionOutputRepresentation as types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation } from '../types/SemanticMetricCollectionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getSemanticMetricsByIds";
|
|
6
|
+
export declare const getSemanticMetricsByIds_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getSemanticMetricsByIds_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetSemanticMetricsByIdsConfig {
|
|
9
|
+
metricIds: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const createResourceParams: (config: GetSemanticMetricsByIdsConfig) => resources_getSsotSemanticMetricsByMetricIds_ResourceRequestConfig;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricsByIdsConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricsByIdsConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetSemanticMetricsByIdsConfig>): adapter$45$utils_Untrusted<GetSemanticMetricsByIdsConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetSemanticMetricsByIdsConfig | null;
|
|
16
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricsByIdsConfig): $64$luvio_engine_Fragment;
|
|
17
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricsByIdsConfig): $64$luvio_engine_Snapshot<types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation, any>;
|
|
18
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricsByIdsConfig, resourceParams: resources_getSsotSemanticMetricsByMetricIds_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: GetSemanticMetricsByIdsConfig, resourceParams: resources_getSsotSemanticMetricsByMetricIds_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
20
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSemanticMetricsByIdsConfig, 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: GetSemanticMetricsByIdsConfig;
|
|
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 getSemanticMetricsByIdsAdapterFactory: $64$luvio_engine_AdapterFactory<GetSemanticMetricsByIdsConfig, types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { getSemanticMetricsByIdsAdapterFactory } from '../adapters/getSemanticMetricsByIds';
|
|
1
2
|
export { getSemanticModelsAdapterFactory } from '../adapters/getSemanticModels';
|
|
2
3
|
export { createSemanticModelAdapterFactory } from '../adapters/createSemanticModel';
|
|
3
4
|
export { getSemanticModelAdapterFactory } from '../adapters/getSemanticModel';
|
|
@@ -4,6 +4,7 @@ declare let deleteSemanticSubMetric: any;
|
|
|
4
4
|
declare let getSemanticMetric: any;
|
|
5
5
|
declare let getSemanticMetricNotifyChange: any;
|
|
6
6
|
declare let getSemanticMetrics: any;
|
|
7
|
+
declare let getSemanticMetricsByIds: any;
|
|
7
8
|
declare let getSemanticMetricsToSubMetrics: any;
|
|
8
9
|
declare let getSemanticModel: any;
|
|
9
10
|
declare let getSemanticModelNotifyChange: any;
|
|
@@ -15,10 +16,11 @@ declare let getSemanticSubMetricsById: any;
|
|
|
15
16
|
declare let patchSemanticModel: any;
|
|
16
17
|
declare let getSemanticMetric_imperative: any;
|
|
17
18
|
declare let getSemanticMetrics_imperative: any;
|
|
19
|
+
declare let getSemanticMetricsByIds_imperative: any;
|
|
18
20
|
declare let getSemanticMetricsToSubMetrics_imperative: any;
|
|
19
21
|
declare let getSemanticModel_imperative: any;
|
|
20
22
|
declare let getSemanticModels_imperative: any;
|
|
21
23
|
declare let getSemanticSubMetric_imperative: any;
|
|
22
24
|
declare let getSemanticSubMetrics_imperative: any;
|
|
23
25
|
declare let getSemanticSubMetricsById_imperative: any;
|
|
24
|
-
export { createSemanticModel, createSemanticSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetrics, getSemanticMetricsToSubMetrics, getSemanticModel, getSemanticModelNotifyChange, getSemanticModels, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetrics, getSemanticSubMetricsById, patchSemanticModel, getSemanticMetric_imperative, getSemanticMetrics_imperative, getSemanticMetricsToSubMetrics_imperative, getSemanticModel_imperative, getSemanticModels_imperative, getSemanticSubMetric_imperative, getSemanticSubMetrics_imperative, getSemanticSubMetricsById_imperative, };
|
|
26
|
+
export { createSemanticModel, createSemanticSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsToSubMetrics, getSemanticModel, getSemanticModelNotifyChange, getSemanticModels, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetrics, getSemanticSubMetricsById, patchSemanticModel, getSemanticMetric_imperative, getSemanticMetrics_imperative, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics_imperative, getSemanticModel_imperative, getSemanticModels_imperative, getSemanticSubMetric_imperative, getSemanticSubMetrics_imperative, getSemanticSubMetricsById_imperative, };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { SemanticMetricCollectionOutputRepresentation as types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation } from '../types/SemanticMetricCollectionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
metricIds: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SemanticMetricCollectionOutputRepresentation_SemanticMetricCollectionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
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.315.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.315.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.315.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|