@salesforce/lds-adapters-uiapi 1.130.10 → 1.131.0-dev11
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/types/src/generated/types/ListInfoRepresentation.d.ts +1 -4
- package/dist/es/es2018/types/src/generated/types/SearchAnswersRecordRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/SearchAnswersResultRepresentation.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/SearchResultsSummaryRepresentation.d.ts +4 -4
- package/dist/es/es2018/types/src/main.d.ts +1 -0
- package/dist/es/es2018/types/src/sfdc_rest.d.ts +1 -1
- package/dist/es/es2018/uiapi-records-service.js +27690 -27669
- package/package.json +6 -6
- package/sfdc/graphqlAdapters.js +1 -1
- package/sfdc/index.js +404 -340
- package/sfdc/uiapi-static-functions.js +1 -1
- package/src/raml/api.raml +34 -9
|
@@ -5,7 +5,7 @@ import { ListOrderByInfoRepresentation as ListOrderByInfoRepresentation_ListOrde
|
|
|
5
5
|
import { ListUserPreferenceRepresentation as ListUserPreferenceRepresentation_ListUserPreferenceRepresentation } from './ListUserPreferenceRepresentation';
|
|
6
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
7
7
|
export declare const TTL = 900000;
|
|
8
|
-
export declare const VERSION = "
|
|
8
|
+
export declare const VERSION = "69101560544e3433c988f3a2b202744b";
|
|
9
9
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
10
10
|
export declare const RepresentationType: string;
|
|
11
11
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -51,8 +51,6 @@ export interface ListInfoRepresentationNormalized {
|
|
|
51
51
|
/** The list view's display label. E.g. "All Accounts". */
|
|
52
52
|
label: string | null;
|
|
53
53
|
listReference: ListReferenceRepresentation_ListReferenceRepresentation;
|
|
54
|
-
/** The API name of any objects that are returned by this relatedList. */
|
|
55
|
-
objectApiNames: Array<string>;
|
|
56
54
|
/** Describes how records are ordered in this list view. */
|
|
57
55
|
orderedByInfo: Array<ListOrderByInfoRepresentation_ListOrderByInfoRepresentation>;
|
|
58
56
|
/** Indicates whether the listview can be updated. */
|
|
@@ -81,7 +79,6 @@ export interface ListInfoRepresentation {
|
|
|
81
79
|
filteredByInfo: Array<ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
|
|
82
80
|
label: string | null;
|
|
83
81
|
listReference: ListReferenceRepresentation_ListReferenceRepresentation;
|
|
84
|
-
objectApiNames: Array<string>;
|
|
85
82
|
orderedByInfo: Array<ListOrderByInfoRepresentation_ListOrderByInfoRepresentation>;
|
|
86
83
|
updateable: boolean;
|
|
87
84
|
userPreferences: ListUserPreferenceRepresentation_ListUserPreferenceRepresentation;
|
|
@@ -0,0 +1,38 @@
|
|
|
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 function deepFreeze(input: SearchAnswersRecordRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchAnswersRecordRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Record for search QnA answer
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface SearchAnswersRecordRepresentationNormalized {
|
|
18
|
+
/** The record’s object API label */
|
|
19
|
+
objectApiLabel: string;
|
|
20
|
+
/** The record’s object API name */
|
|
21
|
+
objectApiName: string;
|
|
22
|
+
/** The ID of the record */
|
|
23
|
+
recordId: string;
|
|
24
|
+
/** The record’s title */
|
|
25
|
+
title: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Record for search QnA answer
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* (none)
|
|
32
|
+
*/
|
|
33
|
+
export interface SearchAnswersRecordRepresentation {
|
|
34
|
+
objectApiLabel: string;
|
|
35
|
+
objectApiName: string;
|
|
36
|
+
recordId: string;
|
|
37
|
+
title: string;
|
|
38
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 function deepFreeze(input: SearchAnswersResultRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: SearchAnswersResultRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Search Answers Response
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface SearchAnswersResultRepresentationNormalized {
|
|
19
|
+
/** The type of search answer */
|
|
20
|
+
answerType: string;
|
|
21
|
+
/** The record’s snippet which includes the answer */
|
|
22
|
+
passage: string;
|
|
23
|
+
/** The list of records for QnA Answer */
|
|
24
|
+
records: Array<SearchAnswersRecordRepresentation_SearchAnswersRecordRepresentation>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Search Answers Response
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface SearchAnswersResultRepresentation {
|
|
33
|
+
answerType: string;
|
|
34
|
+
passage: string;
|
|
35
|
+
records: Array<SearchAnswersRecordRepresentation_SearchAnswersRecordRepresentation>;
|
|
36
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { KeywordSearchResultsRepresentation as KeywordSearchResultsRepresentation_KeywordSearchResultsRepresentation } from './KeywordSearchResultsRepresentation';
|
|
2
|
-
import {
|
|
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 = "
|
|
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 {
|
|
@@ -30,7 +30,7 @@ export interface SearchResultsSummaryRepresentationNormalized {
|
|
|
30
30
|
/** Keyword Search Results Response */
|
|
31
31
|
keywordSearchResults: $64$luvio_engine_StoreLink | null;
|
|
32
32
|
/** Question and Answer Response */
|
|
33
|
-
qnaResult:
|
|
33
|
+
qnaResult: SearchAnswersResultRepresentation_SearchAnswersResultRepresentation | null;
|
|
34
34
|
/** Search query that yielded the search results */
|
|
35
35
|
query: string;
|
|
36
36
|
/** Search’s request ID */
|
|
@@ -44,7 +44,7 @@ export interface SearchResultsSummaryRepresentationNormalized {
|
|
|
44
44
|
*/
|
|
45
45
|
export interface SearchResultsSummaryRepresentation {
|
|
46
46
|
keywordSearchResults: KeywordSearchResultsRepresentation_KeywordSearchResultsRepresentation | null;
|
|
47
|
-
qnaResult:
|
|
47
|
+
qnaResult: SearchAnswersResultRepresentation_SearchAnswersResultRepresentation | null;
|
|
48
48
|
query: string;
|
|
49
49
|
queryId: string;
|
|
50
50
|
}
|
|
@@ -24,6 +24,7 @@ export type { PerformActionInputRepresentation } from './generated/types/Perform
|
|
|
24
24
|
export type { RecordInputRepresentation } from './generated/types/RecordInputRepresentation';
|
|
25
25
|
export type { GraphQLRepresentation, GraphQLRepresentationData, } from './generated/types/GraphQLRepresentation';
|
|
26
26
|
export type { GraphqlConfig as GraphQLConfig, BuildSnapshotContext as GraphQLBuildSnapshotContext, } from './generated/adapters/graphql';
|
|
27
|
+
export { serializeFieldArguments } from './generated/graphql/types/type-util';
|
|
27
28
|
export * from './generated/artifacts/main';
|
|
28
29
|
export type { CreateContentVersionConfig } from './wire/createContentVersion/AdapterConfig';
|
|
29
30
|
export type { CreateContentDocumentAndVersionConfig } from './wire/createContentDocumentAndVersion/AdapterConfig';
|
|
@@ -16,5 +16,5 @@ export { keyBuilder as keyBuilderQuickActionExecutionRepresentation, ingest as i
|
|
|
16
16
|
export { ConfigurationForRestAdapters as Configuration, configurationForRestAdapters as configuration, } from './configuration';
|
|
17
17
|
export { instrument, Instrument, Registration } from './main';
|
|
18
18
|
export { CachePolicy, CachePolicyCacheAndNetwork, CachePolicyCacheThenNetwork, CachePolicyNoCache, CachePolicyOnlyIfCached, CachePolicyStaleWhileRevalidate, CachePolicyValidAt, } from './main';
|
|
19
|
-
export { getRecordId18, getRecordAdapterFactory, getObjectInfoAdapterFactory, getObjectInfosAdapterFactory, getTypeCacheKeysRecord, RecordRepresentationVersion, RecordRepresentationTTL, RecordRepresentationType, ObjectInfoRepresentationType, RecordRepresentationRepresentationType, keyBuilderFromTypeRecordRepresentation, keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderContentDocumentCompositeRepresentation, ingestContentDocumentCompositeRepresentation, getResponseCacheKeysContentDocumentCompositeRepresentation, } from './main';
|
|
19
|
+
export { getRecordId18, getRecordAdapterFactory, getObjectInfoAdapterFactory, getObjectInfosAdapterFactory, getTypeCacheKeysRecord, RecordRepresentationVersion, RecordRepresentationTTL, RecordRepresentationType, ObjectInfoRepresentationType, RecordRepresentationRepresentationType, keyBuilderFromTypeRecordRepresentation, keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderContentDocumentCompositeRepresentation, ingestContentDocumentCompositeRepresentation, getResponseCacheKeysContentDocumentCompositeRepresentation, serializeFieldArguments, } from './main';
|
|
20
20
|
export { UiApiNamespace, InMemoryRecordRepresentationQueryEvaluator } from './main';
|