@salesforce/lds-adapters-uiapi 1.324.0 → 1.325.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AppliedSearchFilterOutputRepresentation as AppliedSearchFilterOutputRepresentation_AppliedSearchFilterOutputRepresentation } from './AppliedSearchFilterOutputRepresentation';
|
|
2
2
|
import { SearchAnswersRecordRepresentation as SearchAnswersRecordRepresentation_SearchAnswersRecordRepresentation } from './SearchAnswersRecordRepresentation';
|
|
3
3
|
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
4
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "f47e7ae3d6c34994e631df9eb35c9de1";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
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;
|
|
@@ -20,6 +20,8 @@ export interface SearchAnswersResultRepresentationNormalized {
|
|
|
20
20
|
answerType: string | null;
|
|
21
21
|
/** The list of applied filters. */
|
|
22
22
|
appliedFilters: Array<AppliedSearchFilterOutputRepresentation_AppliedSearchFilterOutputRepresentation>;
|
|
23
|
+
/** The record's llmGenerationId */
|
|
24
|
+
llmGenerationId: string | null;
|
|
23
25
|
/** The record’s snippet which includes the answer */
|
|
24
26
|
passage: string | null;
|
|
25
27
|
/** The list of records for search answer */
|
|
@@ -34,6 +36,7 @@ export interface SearchAnswersResultRepresentationNormalized {
|
|
|
34
36
|
export interface SearchAnswersResultRepresentation {
|
|
35
37
|
answerType: string | null;
|
|
36
38
|
appliedFilters: Array<AppliedSearchFilterOutputRepresentation_AppliedSearchFilterOutputRepresentation>;
|
|
39
|
+
llmGenerationId: string | null;
|
|
37
40
|
passage: string | null;
|
|
38
41
|
records: Array<SearchAnswersRecordRepresentation_SearchAnswersRecordRepresentation>;
|
|
39
42
|
}
|
|
@@ -33725,6 +33725,32 @@ function validate$i(obj, path = 'SearchAnswersResultRepresentation') {
|
|
|
33725
33725
|
return new TypeError(message);
|
|
33726
33726
|
}
|
|
33727
33727
|
}
|
|
33728
|
+
const obj_llmGenerationId = obj.llmGenerationId;
|
|
33729
|
+
const path_llmGenerationId = path + '.llmGenerationId';
|
|
33730
|
+
let obj_llmGenerationId_union0 = null;
|
|
33731
|
+
const obj_llmGenerationId_union0_error = (() => {
|
|
33732
|
+
if (typeof obj_llmGenerationId !== 'string') {
|
|
33733
|
+
return new TypeError('Expected "string" but received "' + typeof obj_llmGenerationId + '" (at "' + path_llmGenerationId + '")');
|
|
33734
|
+
}
|
|
33735
|
+
})();
|
|
33736
|
+
if (obj_llmGenerationId_union0_error != null) {
|
|
33737
|
+
obj_llmGenerationId_union0 = obj_llmGenerationId_union0_error.message;
|
|
33738
|
+
}
|
|
33739
|
+
let obj_llmGenerationId_union1 = null;
|
|
33740
|
+
const obj_llmGenerationId_union1_error = (() => {
|
|
33741
|
+
if (obj_llmGenerationId !== null) {
|
|
33742
|
+
return new TypeError('Expected "null" but received "' + typeof obj_llmGenerationId + '" (at "' + path_llmGenerationId + '")');
|
|
33743
|
+
}
|
|
33744
|
+
})();
|
|
33745
|
+
if (obj_llmGenerationId_union1_error != null) {
|
|
33746
|
+
obj_llmGenerationId_union1 = obj_llmGenerationId_union1_error.message;
|
|
33747
|
+
}
|
|
33748
|
+
if (obj_llmGenerationId_union0 && obj_llmGenerationId_union1) {
|
|
33749
|
+
let message = 'Object doesn\'t match union (at "' + path_llmGenerationId + '")';
|
|
33750
|
+
message += '\n' + obj_llmGenerationId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
33751
|
+
message += '\n' + obj_llmGenerationId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
33752
|
+
return new TypeError(message);
|
|
33753
|
+
}
|
|
33728
33754
|
const obj_passage = obj.passage;
|
|
33729
33755
|
const path_passage = path + '.passage';
|
|
33730
33756
|
let obj_passage_union0 = null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-uiapi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.325.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapters for record related UI API endpoints",
|
|
6
6
|
"main": "dist/es/es2018/uiapi-records-service.js",
|
|
@@ -68,14 +68,14 @@
|
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@salesforce/lds-bindings": "^1.
|
|
72
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
71
|
+
"@salesforce/lds-bindings": "^1.325.0",
|
|
72
|
+
"@salesforce/lds-default-luvio": "^1.325.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@databases/sqlite": "^3.0.0",
|
|
76
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
77
|
-
"@salesforce/lds-jest": "^1.
|
|
78
|
-
"@salesforce/lds-store-binary": "^1.
|
|
76
|
+
"@salesforce/lds-compiler-plugins": "^1.325.0",
|
|
77
|
+
"@salesforce/lds-jest": "^1.325.0",
|
|
78
|
+
"@salesforce/lds-store-binary": "^1.325.0"
|
|
79
79
|
},
|
|
80
80
|
"luvioBundlesize": [
|
|
81
81
|
{
|
package/sfdc/graphqlAdapters.js
CHANGED
|
@@ -22257,4 +22257,4 @@ register({
|
|
|
22257
22257
|
});
|
|
22258
22258
|
|
|
22259
22259
|
export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
|
|
22260
|
-
// version: 1.
|
|
22260
|
+
// version: 1.325.0-19eed1b9b8
|
package/sfdc/index.js
CHANGED
|
@@ -33232,6 +33232,32 @@ function validate$e(obj, path = 'SearchAnswersResultRepresentation') {
|
|
|
33232
33232
|
return new TypeError(message);
|
|
33233
33233
|
}
|
|
33234
33234
|
}
|
|
33235
|
+
const obj_llmGenerationId = obj.llmGenerationId;
|
|
33236
|
+
const path_llmGenerationId = path + '.llmGenerationId';
|
|
33237
|
+
let obj_llmGenerationId_union0 = null;
|
|
33238
|
+
const obj_llmGenerationId_union0_error = (() => {
|
|
33239
|
+
if (typeof obj_llmGenerationId !== 'string') {
|
|
33240
|
+
return new TypeError('Expected "string" but received "' + typeof obj_llmGenerationId + '" (at "' + path_llmGenerationId + '")');
|
|
33241
|
+
}
|
|
33242
|
+
})();
|
|
33243
|
+
if (obj_llmGenerationId_union0_error != null) {
|
|
33244
|
+
obj_llmGenerationId_union0 = obj_llmGenerationId_union0_error.message;
|
|
33245
|
+
}
|
|
33246
|
+
let obj_llmGenerationId_union1 = null;
|
|
33247
|
+
const obj_llmGenerationId_union1_error = (() => {
|
|
33248
|
+
if (obj_llmGenerationId !== null) {
|
|
33249
|
+
return new TypeError('Expected "null" but received "' + typeof obj_llmGenerationId + '" (at "' + path_llmGenerationId + '")');
|
|
33250
|
+
}
|
|
33251
|
+
})();
|
|
33252
|
+
if (obj_llmGenerationId_union1_error != null) {
|
|
33253
|
+
obj_llmGenerationId_union1 = obj_llmGenerationId_union1_error.message;
|
|
33254
|
+
}
|
|
33255
|
+
if (obj_llmGenerationId_union0 && obj_llmGenerationId_union1) {
|
|
33256
|
+
let message = 'Object doesn\'t match union (at "' + path_llmGenerationId + '")';
|
|
33257
|
+
message += '\n' + obj_llmGenerationId_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
33258
|
+
message += '\n' + obj_llmGenerationId_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
33259
|
+
return new TypeError(message);
|
|
33260
|
+
}
|
|
33235
33261
|
const obj_passage = obj.passage;
|
|
33236
33262
|
const path_passage = path + '.passage';
|
|
33237
33263
|
let obj_passage_union0 = null;
|
|
@@ -38680,4 +38706,4 @@ withDefaultLuvio((luvio) => {
|
|
|
38680
38706
|
});
|
|
38681
38707
|
|
|
38682
38708
|
export { API_NAMESPACE, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$J as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$O as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$V as RecordRepresentationRepresentationType, TTL$z as RecordRepresentationTTL, RepresentationType$V as RecordRepresentationType, VERSION$1f as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, getFieldApiNamesArray as coerceFieldIdArray, getObjectApiName$1 as coerceObjectId, getObjectApiNamesArray as coerceObjectIdArray, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfo, createRecord, createRelatedListAdapterWithPrediction, deleteListInfo, deleteRecord, executeBatchRecordOperations, extractRecordIdFromStoreKey, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getFlexipageFormulaOverrides, getFlexipageFormulaOverrides_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByNameAdapterFactory, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListInfosByObjectName, getListInfosByObjectNameAdapterFactory, getListInfosByObjectName_imperative, getListObjectInfo, getListObjectInfoAdapterFactory, getListObjectInfo_imperative, getListPreferences, getListPreferences_imperative, getListRecordsByName, factory$a as getListRecordsByNameAdapterFactory, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPathLayout, getPathLayout_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionInfo, getQuickActionInfo_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActionsAdapterFactory, getRecordActions_imperative, factory$f as getRecordAdapterFactory, getRecordAvatars, getRecordAvatarsAdapterFactory, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecordsAdapterFactory, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoAdapterFactory, getRelatedListInfoBatch, getRelatedListInfoBatchAdapterFactory, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatch, getRelatedListRecordsBatchAdapterFactory, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActionsAdapterFactory, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$X as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$H as ingestObjectInfo, ingest$B as ingestQuickActionExecutionRepresentation, ingest$O as ingestRecord, instrument, isStoreKeyRecordViewEntity, isSupportedEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$D as keyBuilderFromTypeRecordRepresentation, keyBuilder$1Y as keyBuilderObjectInfo, keyBuilder$1R as keyBuilderQuickActionExecutionRepresentation, keyBuilder$29 as keyBuilderRecord, notifyAllListInfoSummaryUpdateAvailable, notifyAllListRecordUpdateAvailable, notifyListInfoSummaryUpdateAvailable, notifyListInfoUpdateAvailable, notifyListRecordCollectionUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
38683
|
-
// version: 1.
|
|
38709
|
+
// version: 1.325.0-19eed1b9b8
|
package/src/raml/api.raml
CHANGED
|
@@ -4498,6 +4498,10 @@ types:
|
|
|
4498
4498
|
type: array
|
|
4499
4499
|
items:
|
|
4500
4500
|
type: SearchAnswersRecordRepresentation
|
|
4501
|
+
llmGenerationId:
|
|
4502
|
+
description: The record's llmGenerationId
|
|
4503
|
+
type: string | nil
|
|
4504
|
+
|
|
4501
4505
|
SearchDataCategoryFilterDefinitionRepresentation:
|
|
4502
4506
|
description: Data category filter definition
|
|
4503
4507
|
discriminatorValue: DataCategory
|