@salesforce/lds-adapters-uiapi 1.157.1 → 1.158.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.
@@ -0,0 +1,37 @@
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const VERSION = "3802d1dd1e935c279f27573f0557b653";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SearchAnswersRecordRepresentation, existing: SearchAnswersRecordRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchAnswersRecordRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SearchAnswersRecordRepresentationNormalized, incoming: SearchAnswersRecordRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchAnswersRecordRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
10
+ /**
11
+ * Record for search QnA answer
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SearchAnswersRecordRepresentationNormalized {
17
+ /** The record’s object API label */
18
+ objectApiLabel: string;
19
+ /** The record’s object API name */
20
+ objectApiName: string;
21
+ /** The ID of the record */
22
+ recordId: string;
23
+ /** The record’s title */
24
+ title: string;
25
+ }
26
+ /**
27
+ * Record for search QnA answer
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface SearchAnswersRecordRepresentation {
33
+ objectApiLabel: string;
34
+ objectApiName: string;
35
+ recordId: string;
36
+ title: string;
37
+ }
@@ -0,0 +1,35 @@
1
+ import { SearchAnswersRecordRepresentation as SearchAnswersRecordRepresentation_SearchAnswersRecordRepresentation } from './SearchAnswersRecordRepresentation';
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
+ export declare const VERSION = "5d980775998d47f944d61b57a58f6320";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: SearchAnswersResultRepresentation, existing: SearchAnswersResultRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SearchAnswersResultRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: SearchAnswersResultRepresentationNormalized, incoming: SearchAnswersResultRepresentationNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchAnswersResultRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
11
+ /**
12
+ * Search Answers Response
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface SearchAnswersResultRepresentationNormalized {
18
+ /** The type of search answer */
19
+ answerType: string;
20
+ /** The record’s snippet which includes the answer */
21
+ passage: string;
22
+ /** The list of records for QnA Answer */
23
+ records: Array<SearchAnswersRecordRepresentation_SearchAnswersRecordRepresentation>;
24
+ }
25
+ /**
26
+ * Search Answers Response
27
+ *
28
+ * Keys:
29
+ * (none)
30
+ */
31
+ export interface SearchAnswersResultRepresentation {
32
+ answerType: string;
33
+ passage: string;
34
+ records: Array<SearchAnswersRecordRepresentation_SearchAnswersRecordRepresentation>;
35
+ }
@@ -1,8 +1,8 @@
1
1
  import { KeywordSearchResultsRepresentation as KeywordSearchResultsRepresentation_KeywordSearchResultsRepresentation } from './KeywordSearchResultsRepresentation';
2
- import { QnASearchResultRepresentation as QnASearchResultRepresentation_QnASearchResultRepresentation } from './QnASearchResultRepresentation';
2
+ import { SearchAnswersResultRepresentation as SearchAnswersResultRepresentation_SearchAnswersResultRepresentation } from './SearchAnswersResultRepresentation';
3
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
4
  export declare const TTL = 200;
5
- export declare const VERSION = "9760c93d10288bb6889882c757514189";
5
+ export declare const VERSION = "da21e889922062e90012ba48c4a733e2";
6
6
  export declare function validate(obj: any, path?: string): TypeError | null;
7
7
  export declare const RepresentationType: string;
8
8
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -29,7 +29,7 @@ export interface SearchResultsSummaryRepresentationNormalized {
29
29
  /** Keyword Search Results Response */
30
30
  keywordSearchResults: $64$luvio_engine_StoreLink | null;
31
31
  /** Question and Answer Response */
32
- qnaResult: QnASearchResultRepresentation_QnASearchResultRepresentation | null;
32
+ qnaResult: SearchAnswersResultRepresentation_SearchAnswersResultRepresentation | null;
33
33
  /** Search query that yielded the search results */
34
34
  query: string;
35
35
  /** Search’s request ID */
@@ -43,7 +43,7 @@ export interface SearchResultsSummaryRepresentationNormalized {
43
43
  */
44
44
  export interface SearchResultsSummaryRepresentation {
45
45
  keywordSearchResults: KeywordSearchResultsRepresentation_KeywordSearchResultsRepresentation | null;
46
- qnaResult: QnASearchResultRepresentation_QnASearchResultRepresentation | null;
46
+ qnaResult: SearchAnswersResultRepresentation_SearchAnswersResultRepresentation | null;
47
47
  query: string;
48
48
  queryId: string;
49
49
  }