@salesforce/lds-adapters-uiapi 1.130.10 → 1.131.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.
|
@@ -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 = "8f469cbf563d2ed6b2d3a7b2ee422e1f";
|
|
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 {
|
|
@@ -52,7 +52,7 @@ export interface ListInfoRepresentationNormalized {
|
|
|
52
52
|
label: string | null;
|
|
53
53
|
listReference: ListReferenceRepresentation_ListReferenceRepresentation;
|
|
54
54
|
/** The API name of any objects that are returned by this relatedList. */
|
|
55
|
-
objectApiNames
|
|
55
|
+
objectApiNames?: Array<string>;
|
|
56
56
|
/** Describes how records are ordered in this list view. */
|
|
57
57
|
orderedByInfo: Array<ListOrderByInfoRepresentation_ListOrderByInfoRepresentation>;
|
|
58
58
|
/** Indicates whether the listview can be updated. */
|
|
@@ -81,7 +81,7 @@ export interface ListInfoRepresentation {
|
|
|
81
81
|
filteredByInfo: Array<ListFilterByInfoRepresentation_ListFilterByInfoRepresentation>;
|
|
82
82
|
label: string | null;
|
|
83
83
|
listReference: ListReferenceRepresentation_ListReferenceRepresentation;
|
|
84
|
-
objectApiNames
|
|
84
|
+
objectApiNames?: Array<string>;
|
|
85
85
|
orderedByInfo: Array<ListOrderByInfoRepresentation_ListOrderByInfoRepresentation>;
|
|
86
86
|
updateable: boolean;
|
|
87
87
|
userPreferences: ListUserPreferenceRepresentation_ListUserPreferenceRepresentation;
|
|
@@ -804,7 +804,7 @@ function deepFreeze$M(input) {
|
|
|
804
804
|
}
|
|
805
805
|
|
|
806
806
|
const TTL$C = 900000;
|
|
807
|
-
const VERSION$1V = "
|
|
807
|
+
const VERSION$1V = "8f469cbf563d2ed6b2d3a7b2ee422e1f";
|
|
808
808
|
function validate$1z(obj, path = 'ListInfoRepresentation') {
|
|
809
809
|
const v_error = (() => {
|
|
810
810
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -920,16 +920,18 @@ function validate$1z(obj, path = 'ListInfoRepresentation') {
|
|
|
920
920
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
921
921
|
return new TypeError(message);
|
|
922
922
|
}
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
923
|
+
if (obj.objectApiNames !== undefined) {
|
|
924
|
+
const obj_objectApiNames = obj.objectApiNames;
|
|
925
|
+
const path_objectApiNames = path + '.objectApiNames';
|
|
926
|
+
if (!ArrayIsArray(obj_objectApiNames)) {
|
|
927
|
+
return new TypeError('Expected "array" but received "' + typeof obj_objectApiNames + '" (at "' + path_objectApiNames + '")');
|
|
928
|
+
}
|
|
929
|
+
for (let i = 0; i < obj_objectApiNames.length; i++) {
|
|
930
|
+
const obj_objectApiNames_item = obj_objectApiNames[i];
|
|
931
|
+
const path_objectApiNames_item = path_objectApiNames + '[' + i + ']';
|
|
932
|
+
if (typeof obj_objectApiNames_item !== 'string') {
|
|
933
|
+
return new TypeError('Expected "string" but received "' + typeof obj_objectApiNames_item + '" (at "' + path_objectApiNames_item + '")');
|
|
934
|
+
}
|
|
933
935
|
}
|
|
934
936
|
}
|
|
935
937
|
const obj_orderedByInfo = obj.orderedByInfo;
|
|
@@ -1041,7 +1043,8 @@ const select$2p = function ListInfoRepresentationSelect() {
|
|
|
1041
1043
|
{
|
|
1042
1044
|
name: 'objectApiNames',
|
|
1043
1045
|
kind: 'Scalar',
|
|
1044
|
-
plural: true
|
|
1046
|
+
plural: true,
|
|
1047
|
+
required: false
|
|
1045
1048
|
},
|
|
1046
1049
|
{
|
|
1047
1050
|
name: 'orderedByInfo',
|
package/package.json
CHANGED
package/sfdc/graphqlAdapters.js
CHANGED
|
@@ -14390,4 +14390,4 @@ register({
|
|
|
14390
14390
|
});
|
|
14391
14391
|
|
|
14392
14392
|
export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
|
|
14393
|
-
// version: 1.
|
|
14393
|
+
// version: 1.131.0-ed0d548ad
|
package/sfdc/index.js
CHANGED
|
@@ -853,7 +853,7 @@ function deepFreeze$M(input) {
|
|
|
853
853
|
}
|
|
854
854
|
|
|
855
855
|
const TTL$x = 900000;
|
|
856
|
-
const VERSION$18 = "
|
|
856
|
+
const VERSION$18 = "8f469cbf563d2ed6b2d3a7b2ee422e1f";
|
|
857
857
|
function validate$1v(obj, path = 'ListInfoRepresentation') {
|
|
858
858
|
const v_error = (() => {
|
|
859
859
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -969,16 +969,18 @@ function validate$1v(obj, path = 'ListInfoRepresentation') {
|
|
|
969
969
|
message += referencepath_listReferenceValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
970
970
|
return new TypeError(message);
|
|
971
971
|
}
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
972
|
+
if (obj.objectApiNames !== undefined) {
|
|
973
|
+
const obj_objectApiNames = obj.objectApiNames;
|
|
974
|
+
const path_objectApiNames = path + '.objectApiNames';
|
|
975
|
+
if (!ArrayIsArray(obj_objectApiNames)) {
|
|
976
|
+
return new TypeError('Expected "array" but received "' + typeof obj_objectApiNames + '" (at "' + path_objectApiNames + '")');
|
|
977
|
+
}
|
|
978
|
+
for (let i = 0; i < obj_objectApiNames.length; i++) {
|
|
979
|
+
const obj_objectApiNames_item = obj_objectApiNames[i];
|
|
980
|
+
const path_objectApiNames_item = path_objectApiNames + '[' + i + ']';
|
|
981
|
+
if (typeof obj_objectApiNames_item !== 'string') {
|
|
982
|
+
return new TypeError('Expected "string" but received "' + typeof obj_objectApiNames_item + '" (at "' + path_objectApiNames_item + '")');
|
|
983
|
+
}
|
|
982
984
|
}
|
|
983
985
|
}
|
|
984
986
|
const obj_orderedByInfo = obj.orderedByInfo;
|
|
@@ -1090,7 +1092,8 @@ const select$1C = function ListInfoRepresentationSelect() {
|
|
|
1090
1092
|
{
|
|
1091
1093
|
name: 'objectApiNames',
|
|
1092
1094
|
kind: 'Scalar',
|
|
1093
|
-
plural: true
|
|
1095
|
+
plural: true,
|
|
1096
|
+
required: false
|
|
1094
1097
|
},
|
|
1095
1098
|
{
|
|
1096
1099
|
name: 'orderedByInfo',
|
|
@@ -36050,4 +36053,4 @@ withDefaultLuvio((luvio) => {
|
|
|
36050
36053
|
});
|
|
36051
36054
|
|
|
36052
36055
|
export { InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$I as ObjectInfoRepresentationType, RepresentationType$N as RecordRepresentationRepresentationType, TTL$v as RecordRepresentationTTL, RepresentationType$N as RecordRepresentationType, VERSION$14 as RecordRepresentationVersion, keyPrefix as UiApiNamespace, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createRecord, deleteRecord, getActionOverrides, getActionOverrides_imperative, getAllApps, getAllApps_imperative, getAppDetails, getAppDetails_imperative, getDuplicateConfiguration, getDuplicateConfiguration_imperative, getDuplicates, getDuplicates_imperative, getGlobalActions, getGlobalActions_imperative, getKeywordSearchResults, getKeywordSearchResults_imperative, getLayout, getLayoutUserState, getLayoutUserState_imperative, getLayout_imperative, getListInfoByName, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListRecordsByName, getListRecordsByName_imperative, getListUi, getListUi_imperative, getLookupActions, getLookupActions_imperative, getLookupMetadata, getLookupMetadata_imperative, getLookupRecords, getLookupRecords_imperative, getNavItems, getNavItems_imperative, getObjectCreateActions, getObjectCreateActions_imperative, getObjectInfo, getObjectInfoAdapterFactory, getObjectInfo_imperative, getObjectInfos, getObjectInfosAdapterFactory, getObjectInfos_imperative, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_imperative, getQuickActionLayout, getQuickActionLayout_imperative, getRecord, getRecordActions, getRecordActions_imperative, factory$e as getRecordAdapterFactory, getRecordAvatars, getRecordAvatars_imperative, getRecordCreateDefaults, getRecordCreateDefaults_imperative, getRecordEditActions, getRecordEditActions_imperative, getRecordId18, getRecordNotifyChange, getRecordTemplateClone, getRecordTemplateClone_imperative, getRecordTemplateCreate, getRecordTemplateCreate_imperative, getRecordUi, getRecordUi_imperative, getRecord_imperative, getRecords, getRecords_imperative, getRelatedListActions, getRelatedListActions_imperative, getRelatedListCount, getRelatedListCount_imperative, getRelatedListInfo, getRelatedListInfoBatch, getRelatedListInfoBatch_imperative, getRelatedListInfo_imperative, getRelatedListPreferences, getRelatedListPreferencesBatch, getRelatedListPreferencesBatch_imperative, getRelatedListPreferences_imperative, getRelatedListRecordActions, getRelatedListRecordActions_imperative, getRelatedListRecords, getRelatedListRecordsBatch, getRelatedListRecordsBatch_imperative, getRelatedListRecords_imperative, getRelatedListsActions, getRelatedListsActions_imperative, getRelatedListsCount, getRelatedListsCount_imperative, getRelatedListsInfo, getRelatedListsInfo_imperative, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadata, getSearchFilterMetadata_imperative, getSearchFilterOptions, getSearchFilterOptions_imperative, getSearchResults, getSearchResults_imperative, getTypeCacheKeys$N as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$B as ingestObjectInfo, ingest$x as ingestQuickActionExecutionRepresentation, ingest$G as ingestRecord, instrument, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$x as keyBuilderFromTypeRecordRepresentation, keyBuilder$1F as keyBuilderObjectInfo, keyBuilder$1z as keyBuilderQuickActionExecutionRepresentation, keyBuilder$1Q as keyBuilderRecord, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, updateLayoutUserState, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
36053
|
-
// version: 1.
|
|
36056
|
+
// version: 1.131.0-ed0d548ad
|