@salesforce/lds-adapters-cdp-semantic-authoring 1.332.0-dev6 → 1.332.0-dev7

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.
@@ -0,0 +1,28 @@
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_getSsotSemanticModelsDependenciesByModelApiNameOrId_ResourceRequestConfig } from '../resources/getSsotSemanticModelsDependenciesByModelApiNameOrId';
4
+ import { SemanticDependencyCollectionOutputRepresentation as types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation } from '../types/SemanticDependencyCollectionOutputRepresentation';
5
+ export declare const adapterName = "getLeafDependenciesByTypes";
6
+ export declare const getLeafDependenciesByTypes_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const getLeafDependenciesByTypes_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface GetLeafDependenciesByTypesConfig {
9
+ modelApiNameOrId: string;
10
+ types?: Array<string>;
11
+ }
12
+ export declare const createResourceParams: (config: GetLeafDependenciesByTypesConfig) => resources_getSsotSemanticModelsDependenciesByModelApiNameOrId_ResourceRequestConfig;
13
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetLeafDependenciesByTypesConfig): string;
14
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetLeafDependenciesByTypesConfig): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetLeafDependenciesByTypesConfig>): adapter$45$utils_Untrusted<GetLeafDependenciesByTypesConfig>;
16
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetLeafDependenciesByTypesConfig | null;
17
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetLeafDependenciesByTypesConfig): $64$luvio_engine_Fragment;
18
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLeafDependenciesByTypesConfig): $64$luvio_engine_Snapshot<types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation, any>;
19
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetLeafDependenciesByTypesConfig, resourceParams: resources_getSsotSemanticModelsDependenciesByModelApiNameOrId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation, any>>;
20
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetLeafDependenciesByTypesConfig, resourceParams: resources_getSsotSemanticModelsDependenciesByModelApiNameOrId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
21
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetLeafDependenciesByTypesConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation, any>>;
22
+ export type BuildSnapshotContext = {
23
+ luvio: $64$luvio_engine_Luvio;
24
+ config: GetLeafDependenciesByTypesConfig;
25
+ };
26
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation, any>>;
27
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation>): $64$luvio_engine_Snapshot<types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation, any>;
28
+ export declare const getLeafDependenciesByTypesAdapterFactory: $64$luvio_engine_AdapterFactory<GetLeafDependenciesByTypesConfig, types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation>;
@@ -7,6 +7,8 @@ export declare const getSemanticSubMetricsById_ConfigPropertyMetadata: $64$luvio
7
7
  export declare const getSemanticSubMetricsById_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
8
  export interface GetSemanticSubMetricsByIdConfig {
9
9
  subMetricIds: string;
10
+ sortBy?: string;
11
+ sortOrder?: string;
10
12
  }
11
13
  export declare const createResourceParams: (config: GetSemanticSubMetricsByIdConfig) => resources_getSsotSemanticSubMetricsBySubMetricIds_ResourceRequestConfig;
12
14
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSemanticSubMetricsByIdConfig): string;
@@ -3,6 +3,7 @@ export { getSemanticModelsAdapterFactory } from '../adapters/getSemanticModels';
3
3
  export { createSemanticModelAdapterFactory } from '../adapters/createSemanticModel';
4
4
  export { getSemanticModelAdapterFactory } from '../adapters/getSemanticModel';
5
5
  export { patchSemanticModelAdapterFactory } from '../adapters/patchSemanticModel';
6
+ export { getLeafDependenciesByTypesAdapterFactory } from '../adapters/getLeafDependenciesByTypes';
6
7
  export { getSemanticMetricsToSubMetricsAdapterFactory } from '../adapters/getSemanticMetricsToSubMetrics';
7
8
  export { getSemanticMetricsAdapterFactory } from '../adapters/getSemanticMetrics';
8
9
  export { getSemanticMetricAdapterFactory } from '../adapters/getSemanticMetric';
@@ -2,6 +2,7 @@ declare let createSemanticModel: any;
2
2
  declare let createSemanticSubMetric: any;
3
3
  declare let deleteGoalFromSubMetric: any;
4
4
  declare let deleteSemanticSubMetric: any;
5
+ declare let getLeafDependenciesByTypes: any;
5
6
  declare let getSemanticMetric: any;
6
7
  declare let getSemanticMetricNotifyChange: any;
7
8
  declare let getSemanticMetrics: any;
@@ -16,6 +17,7 @@ declare let getSemanticSubMetrics: any;
16
17
  declare let getSemanticSubMetricsById: any;
17
18
  declare let patchSemanticMetricGoal: any;
18
19
  declare let patchSemanticModel: any;
20
+ declare let getLeafDependenciesByTypes_imperative: any;
19
21
  declare let getSemanticMetric_imperative: any;
20
22
  declare let getSemanticMetrics_imperative: any;
21
23
  declare let getSemanticMetricsByIds_imperative: any;
@@ -25,4 +27,4 @@ declare let getSemanticModels_imperative: any;
25
27
  declare let getSemanticSubMetric_imperative: any;
26
28
  declare let getSemanticSubMetrics_imperative: any;
27
29
  declare let getSemanticSubMetricsById_imperative: any;
28
- export { createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsToSubMetrics, getSemanticModel, getSemanticModelNotifyChange, getSemanticModels, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetrics, getSemanticSubMetricsById, patchSemanticMetricGoal, patchSemanticModel, getSemanticMetric_imperative, getSemanticMetrics_imperative, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics_imperative, getSemanticModel_imperative, getSemanticModels_imperative, getSemanticSubMetric_imperative, getSemanticSubMetrics_imperative, getSemanticSubMetricsById_imperative, };
30
+ export { createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticSubMetric, getLeafDependenciesByTypes, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsToSubMetrics, getSemanticModel, getSemanticModelNotifyChange, getSemanticModels, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetrics, getSemanticSubMetricsById, patchSemanticMetricGoal, patchSemanticModel, getLeafDependenciesByTypes_imperative, getSemanticMetric_imperative, getSemanticMetrics_imperative, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics_imperative, getSemanticModel_imperative, getSemanticModels_imperative, getSemanticSubMetric_imperative, getSemanticSubMetrics_imperative, getSemanticSubMetricsById_imperative, };
@@ -0,0 +1,18 @@
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 { SemanticDependencyCollectionOutputRepresentation as types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation } from '../types/SemanticDependencyCollectionOutputRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ urlParams: {
5
+ modelApiNameOrId: string;
6
+ };
7
+ queryParams: {
8
+ types?: Array<string>;
9
+ };
10
+ }
11
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
12
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
13
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
14
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation): void;
15
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation, any>;
16
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SemanticDependencyCollectionOutputRepresentation_SemanticDependencyCollectionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
17
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
18
+ export default createResourceRequest;
@@ -4,6 +4,10 @@ export interface ResourceRequestConfig {
4
4
  urlParams: {
5
5
  subMetricIds: string;
6
6
  };
7
+ queryParams: {
8
+ sortBy?: string;
9
+ sortOrder?: string;
10
+ };
7
11
  }
8
12
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
9
13
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cdp-semantic-authoring",
3
- "version": "1.332.0-dev6",
3
+ "version": "1.332.0-dev7",
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.332.0-dev6"
43
+ "@salesforce/lds-bindings": "^1.332.0-dev7"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.332.0-dev6"
46
+ "@salesforce/lds-compiler-plugins": "^1.332.0-dev7"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {