@salesforce/lds-adapters-uiapi 1.309.0-dev14 → 1.309.0-dev15

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,12 @@
1
+ import { RecordFieldTrie as util_records_RecordFieldTrie } from '../../../util/records';
2
+ import { RecordConflictMap as helpers_RecordRepresentation_resolveConflict_RecordConflictMap } from '../../../helpers/RecordRepresentation/resolveConflict';
3
+ import { ResourceIngest as $64$luvio_engine_ResourceIngest, Fragment as $64$luvio_engine_Fragment } from '@luvio/engine';
4
+ interface Inputs {
5
+ trackedFields: util_records_RecordFieldTrie;
6
+ fields: util_records_RecordFieldTrie;
7
+ optionalFields: util_records_RecordFieldTrie;
8
+ recordConflictMap: helpers_RecordRepresentation_resolveConflict_RecordConflictMap;
9
+ }
10
+ export declare function createFieldsIngest(params: Inputs): $64$luvio_engine_ResourceIngest;
11
+ export declare function selectFields(fields: util_records_RecordFieldTrie): $64$luvio_engine_Fragment;
12
+ export {};
@@ -0,0 +1,40 @@
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';
2
+ import { SearchResultCollectionRepresentation as SearchResultCollectionRepresentation_SearchResultCollectionRepresentation } from './SearchResultCollectionRepresentation';
3
+ export declare const VERSION = "04f51bdf8ed7e213acba78987e1ce377";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: NLSResultsRepresentation, existing: NLSResultsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): NLSResultsRepresentationNormalized;
7
+ export interface DynamicIngestParams {
8
+ results: $64$luvio_engine_ResourceIngest;
9
+ }
10
+ export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: NLSResultsRepresentation, existing: NLSResultsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => NLSResultsRepresentationNormalized;
11
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
12
+ export interface DynamicSelectParams {
13
+ results?: $64$luvio_engine_LinkSelection;
14
+ }
15
+ export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
16
+ export declare function equals(existing: NLSResultsRepresentationNormalized, incoming: NLSResultsRepresentationNormalized): boolean;
17
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
18
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: NLSResultsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
19
+ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
20
+ /**
21
+ * Natural Language Search Results Response
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface NLSResultsRepresentationNormalized {
27
+ /** Indicates that no results were found */
28
+ hasNoResult: boolean | null;
29
+ results: $64$luvio_engine_StoreLink;
30
+ }
31
+ /**
32
+ * Natural Language Search Results Response
33
+ *
34
+ * Keys:
35
+ * (none)
36
+ */
37
+ export interface NLSResultsRepresentation {
38
+ hasNoResult: boolean | null;
39
+ results: SearchResultCollectionRepresentation_SearchResultCollectionRepresentation;
40
+ }
@@ -1,10 +1,11 @@
1
1
  import { DirectAnswerResultRepresentation as DirectAnswerResultRepresentation_DirectAnswerResultRepresentation } from './DirectAnswerResultRepresentation';
2
2
  import { KeywordSearchResultsRepresentation as KeywordSearchResultsRepresentation_KeywordSearchResultsRepresentation } from './KeywordSearchResultsRepresentation';
3
+ import { NLSResultsRepresentation as NLSResultsRepresentation_NLSResultsRepresentation } from './NLSResultsRepresentation';
3
4
  import { SearchAnswersResultRepresentation as SearchAnswersResultRepresentation_SearchAnswersResultRepresentation } from './SearchAnswersResultRepresentation';
4
5
  import { SearchObjectOptionsOutputRepresentation as SearchObjectOptionsOutputRepresentation_SearchObjectOptionsOutputRepresentation } from './SearchObjectOptionsOutputRepresentation';
5
6
  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
7
  export declare const TTL = 200;
7
- export declare const VERSION = "e5e39b39842d8ac72b8403aa973fbb1d";
8
+ export declare const VERSION = "5e805b26bc243a05358227e1d5e31fe2";
8
9
  export declare function validate(obj: any, path?: string): TypeError | null;
9
10
  export declare const RepresentationType: string;
10
11
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -36,6 +37,8 @@ export interface SearchResultsSummaryRepresentationNormalized {
36
37
  directAnswerResult: DirectAnswerResultRepresentation_DirectAnswerResultRepresentation | null;
37
38
  /** Keyword Search Results Response */
38
39
  keywordSearchResults: $64$luvio_engine_StoreLink | null;
40
+ /** Natural Language Search Results Response */
41
+ nlsResults: $64$luvio_engine_StoreLink | null;
39
42
  /** Search Answers Response */
40
43
  qnaResult: SearchAnswersResultRepresentation_SearchAnswersResultRepresentation | null;
41
44
  /** Search query that yielded the search results */
@@ -58,6 +61,7 @@ export interface SearchResultsSummaryRepresentation {
58
61
  configurationName: string | null;
59
62
  directAnswerResult: DirectAnswerResultRepresentation_DirectAnswerResultRepresentation | null;
60
63
  keywordSearchResults: KeywordSearchResultsRepresentation_KeywordSearchResultsRepresentation | null;
64
+ nlsResults: NLSResultsRepresentation_NLSResultsRepresentation | null;
61
65
  qnaResult: SearchAnswersResultRepresentation_SearchAnswersResultRepresentation | null;
62
66
  query: string;
63
67
  queryId: string;