@salesforce/lds-adapters-uiapi 1.266.0-dev6 → 1.266.0-dev7
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/graphql/types/type-util.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/types/AppliedSearchFilterOutputRepresentation.d.ts +3 -3
- package/dist/es/es2018/uiapi-records-service.js +229 -135
- package/package.json +6 -6
- package/sfdc/graphqlAdapters.js +199 -133
- package/sfdc/index.js +32 -4
- package/sfdc/uiapi-static-functions.js +1 -1
- package/src/raml/api.raml +1 -1
package/sfdc/index.js
CHANGED
|
@@ -5509,6 +5509,7 @@ const createRecordIngest = (fieldsTrie, optionalFieldsTrie, recordConflictMap) =
|
|
|
5509
5509
|
representationName: RepresentationType$S,
|
|
5510
5510
|
namespace: keyPrefix,
|
|
5511
5511
|
version: VERSION$18,
|
|
5512
|
+
ingestionTimestamp: timestamp,
|
|
5512
5513
|
});
|
|
5513
5514
|
return createLink(key);
|
|
5514
5515
|
};
|
|
@@ -6995,6 +6996,7 @@ const ingest$K = function ListRecordCollectionRepresentationIngest(input, path,
|
|
|
6995
6996
|
namespace: "UiApi",
|
|
6996
6997
|
version: VERSION$16,
|
|
6997
6998
|
representationName: RepresentationType$R,
|
|
6999
|
+
ingestionTimestamp: timestamp,
|
|
6998
7000
|
};
|
|
6999
7001
|
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
7000
7002
|
}
|
|
@@ -8251,6 +8253,7 @@ const ingest$H = function ListViewSummaryCollectionRepresentationIngest(input, p
|
|
|
8251
8253
|
namespace: "UiApi",
|
|
8252
8254
|
version: VERSION$13,
|
|
8253
8255
|
representationName: RepresentationType$O,
|
|
8256
|
+
ingestionTimestamp: timestamp,
|
|
8254
8257
|
};
|
|
8255
8258
|
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
8256
8259
|
}
|
|
@@ -15119,7 +15122,10 @@ const dynamicIngest$4 = (ingestParams) => {
|
|
|
15119
15122
|
if (existingRecord === undefined || equals$N(existingRecord, incomingRecord) === false) {
|
|
15120
15123
|
luvio.storePublish(key, incomingRecord);
|
|
15121
15124
|
}
|
|
15122
|
-
luvio.publishStoreMetadata(key,
|
|
15125
|
+
luvio.publishStoreMetadata(key, {
|
|
15126
|
+
...QUICK_ACTION_DEFAULTS_STORE_METADATA_PARAMS,
|
|
15127
|
+
ingestionTimestamp: timestamp,
|
|
15128
|
+
});
|
|
15123
15129
|
return createLink(key);
|
|
15124
15130
|
};
|
|
15125
15131
|
};
|
|
@@ -28214,6 +28220,7 @@ const ingest$8 = function RelatedListRecordCollectionRepresentationIngest(input,
|
|
|
28214
28220
|
namespace: "UiApi",
|
|
28215
28221
|
version: VERSION$c,
|
|
28216
28222
|
representationName: RepresentationType$d,
|
|
28223
|
+
ingestionTimestamp: timestamp,
|
|
28217
28224
|
};
|
|
28218
28225
|
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
28219
28226
|
}
|
|
@@ -30175,8 +30182,29 @@ function validate$g(obj, path = 'AppliedSearchFilterOutputRepresentation') {
|
|
|
30175
30182
|
}
|
|
30176
30183
|
const obj_label = obj.label;
|
|
30177
30184
|
const path_label = path + '.label';
|
|
30178
|
-
|
|
30179
|
-
|
|
30185
|
+
let obj_label_union0 = null;
|
|
30186
|
+
const obj_label_union0_error = (() => {
|
|
30187
|
+
if (typeof obj_label !== 'string') {
|
|
30188
|
+
return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
30189
|
+
}
|
|
30190
|
+
})();
|
|
30191
|
+
if (obj_label_union0_error != null) {
|
|
30192
|
+
obj_label_union0 = obj_label_union0_error.message;
|
|
30193
|
+
}
|
|
30194
|
+
let obj_label_union1 = null;
|
|
30195
|
+
const obj_label_union1_error = (() => {
|
|
30196
|
+
if (obj_label !== null) {
|
|
30197
|
+
return new TypeError('Expected "null" but received "' + typeof obj_label + '" (at "' + path_label + '")');
|
|
30198
|
+
}
|
|
30199
|
+
})();
|
|
30200
|
+
if (obj_label_union1_error != null) {
|
|
30201
|
+
obj_label_union1 = obj_label_union1_error.message;
|
|
30202
|
+
}
|
|
30203
|
+
if (obj_label_union0 && obj_label_union1) {
|
|
30204
|
+
let message = 'Object doesn\'t match union (at "' + path_label + '")';
|
|
30205
|
+
message += '\n' + obj_label_union0.split('\n').map((line) => '\t' + line).join('\n');
|
|
30206
|
+
message += '\n' + obj_label_union1.split('\n').map((line) => '\t' + line).join('\n');
|
|
30207
|
+
return new TypeError(message);
|
|
30180
30208
|
}
|
|
30181
30209
|
const obj_operator = obj.operator;
|
|
30182
30210
|
const path_operator = path + '.operator';
|
|
@@ -35638,4 +35666,4 @@ withDefaultLuvio((luvio) => {
|
|
|
35638
35666
|
});
|
|
35639
35667
|
|
|
35640
35668
|
export { API_NAMESPACE, InMemoryRecordRepresentationQueryEvaluator, MRU, RepresentationType$I as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$N as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$S as RecordRepresentationRepresentationType, TTL$y as RecordRepresentationTTL, RepresentationType$S as RecordRepresentationType, VERSION$18 as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, configurationForRestAdapters as configuration, createContentDocumentAndVersion, createContentVersion, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfo, createRecord, 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, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListObjectInfo, getListObjectInfo_imperative, getListPreferences, getListPreferences_imperative, getListRecordsByName, 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, getPicklistValues, getPicklistValuesByRecordType, getPicklistValuesByRecordType_imperative, getPicklistValues_imperative, getQuickActionDefaults, getQuickActionDefaults_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, 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$U as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$G as ingestObjectInfo, ingest$A as ingestQuickActionExecutionRepresentation, ingest$L as ingestRecord, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$A as keyBuilderFromTypeRecordRepresentation, keyBuilder$1R as keyBuilderObjectInfo, keyBuilder$1K as keyBuilderQuickActionExecutionRepresentation, keyBuilder$20 as keyBuilderRecord, notifyListInfoUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
35641
|
-
// version: 1.266.0-
|
|
35669
|
+
// version: 1.266.0-dev7-88d9ddf38
|
|
@@ -95,7 +95,7 @@ var TypeCheckShapes;
|
|
|
95
95
|
TypeCheckShapes[TypeCheckShapes["Integer"] = 3] = "Integer";
|
|
96
96
|
TypeCheckShapes[TypeCheckShapes["Unsupported"] = 4] = "Unsupported";
|
|
97
97
|
})(TypeCheckShapes || (TypeCheckShapes = {}));
|
|
98
|
-
// engine version: 0.154.7-
|
|
98
|
+
// engine version: 0.154.7-dev4-96466e64
|
|
99
99
|
|
|
100
100
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
101
101
|
|