@salesforce/lds-adapters-uiapi 1.287.0-dev2 → 1.287.0-dev4
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.
|
@@ -48381,6 +48381,29 @@ function getInContextFragmentType$d(fragment, fragmentMap) {
|
|
|
48381
48381
|
return sharedGetFragmentType(fragment, fragmentMap);
|
|
48382
48382
|
}
|
|
48383
48383
|
|
|
48384
|
+
function getFieldType$b(field) {
|
|
48385
|
+
const fieldName = field.name.value;
|
|
48386
|
+
switch (fieldName) {
|
|
48387
|
+
case '__typename': {
|
|
48388
|
+
return {
|
|
48389
|
+
isArray: false,
|
|
48390
|
+
typename: 'String',
|
|
48391
|
+
};
|
|
48392
|
+
}
|
|
48393
|
+
/*
|
|
48394
|
+
Probably should use metaschema like the RecordQuery graphql-artifact,
|
|
48395
|
+
but this type only has one generic type possible. Also, the most likely scenario for future schema additions,
|
|
48396
|
+
is UISDK adding the the parent of this type, Setup__Setup. Therefore, we will just default to SetupConnection so that
|
|
48397
|
+
query authors don't need to use metaschema when there's no real decision point in this type.
|
|
48398
|
+
*/
|
|
48399
|
+
default:
|
|
48400
|
+
return {
|
|
48401
|
+
isArray: false,
|
|
48402
|
+
typename: 'Setup__SetupConnection',
|
|
48403
|
+
};
|
|
48404
|
+
}
|
|
48405
|
+
}
|
|
48406
|
+
|
|
48384
48407
|
const name$2 = 'Setup__SetupQuery';
|
|
48385
48408
|
const VERSION$e = 'b89cccb5fa5e458d89dc1137af3e5469';
|
|
48386
48409
|
function keyBuilder$g(luvio, path, data) {
|
|
@@ -48498,24 +48521,6 @@ function getTypeCacheKeys$b(cacheKeySink, astNode, state) {
|
|
|
48498
48521
|
}
|
|
48499
48522
|
// Deal with mapped types' cache keys
|
|
48500
48523
|
}
|
|
48501
|
-
function getFieldType$b(field) {
|
|
48502
|
-
switch (field.name.value) {
|
|
48503
|
-
case '__typename': {
|
|
48504
|
-
return {
|
|
48505
|
-
isArray: false,
|
|
48506
|
-
typename: 'String'
|
|
48507
|
-
};
|
|
48508
|
-
}
|
|
48509
|
-
case 'recordQuery': {
|
|
48510
|
-
return {
|
|
48511
|
-
isArray: false,
|
|
48512
|
-
typename: 'Setup__SetupConnection'
|
|
48513
|
-
};
|
|
48514
|
-
}
|
|
48515
|
-
default:
|
|
48516
|
-
return undefined;
|
|
48517
|
-
}
|
|
48518
|
-
}
|
|
48519
48524
|
function ingestFieldByType$2(typename, parentKey, requestedField, sink, fieldKey, fieldData, state) {
|
|
48520
48525
|
// TODO: add validation logic to only allow nullable fields to be null in the future
|
|
48521
48526
|
if (fieldData === null) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-uiapi",
|
|
3
|
-
"version": "1.287.0-
|
|
3
|
+
"version": "1.287.0-dev4",
|
|
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.287.0-
|
|
72
|
-
"@salesforce/lds-default-luvio": "^1.287.0-
|
|
71
|
+
"@salesforce/lds-bindings": "^1.287.0-dev4",
|
|
72
|
+
"@salesforce/lds-default-luvio": "^1.287.0-dev4"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@databases/sqlite": "^3.0.0",
|
|
76
|
-
"@salesforce/lds-compiler-plugins": "^1.287.0-
|
|
77
|
-
"@salesforce/lds-jest": "^1.287.0-
|
|
78
|
-
"@salesforce/lds-store-binary": "^1.287.0-
|
|
76
|
+
"@salesforce/lds-compiler-plugins": "^1.287.0-dev4",
|
|
77
|
+
"@salesforce/lds-jest": "^1.287.0-dev4",
|
|
78
|
+
"@salesforce/lds-store-binary": "^1.287.0-dev4"
|
|
79
79
|
},
|
|
80
80
|
"luvioBundlesize": [
|
|
81
81
|
{
|
package/sfdc/graphqlAdapters.js
CHANGED
|
@@ -16041,6 +16041,29 @@ function getInContextFragmentType$d(fragment, fragmentMap) {
|
|
|
16041
16041
|
return sharedGetFragmentType(fragment, fragmentMap);
|
|
16042
16042
|
}
|
|
16043
16043
|
|
|
16044
|
+
function getFieldType$b(field) {
|
|
16045
|
+
const fieldName = field.name.value;
|
|
16046
|
+
switch (fieldName) {
|
|
16047
|
+
case '__typename': {
|
|
16048
|
+
return {
|
|
16049
|
+
isArray: false,
|
|
16050
|
+
typename: 'String',
|
|
16051
|
+
};
|
|
16052
|
+
}
|
|
16053
|
+
/*
|
|
16054
|
+
Probably should use metaschema like the RecordQuery graphql-artifact,
|
|
16055
|
+
but this type only has one generic type possible. Also, the most likely scenario for future schema additions,
|
|
16056
|
+
is UISDK adding the the parent of this type, Setup__Setup. Therefore, we will just default to SetupConnection so that
|
|
16057
|
+
query authors don't need to use metaschema when there's no real decision point in this type.
|
|
16058
|
+
*/
|
|
16059
|
+
default:
|
|
16060
|
+
return {
|
|
16061
|
+
isArray: false,
|
|
16062
|
+
typename: 'Setup__SetupConnection',
|
|
16063
|
+
};
|
|
16064
|
+
}
|
|
16065
|
+
}
|
|
16066
|
+
|
|
16044
16067
|
const name$2 = 'Setup__SetupQuery';
|
|
16045
16068
|
const VERSION$a = 'b89cccb5fa5e458d89dc1137af3e5469';
|
|
16046
16069
|
function keyBuilder$6(luvio, path, data) {
|
|
@@ -16158,24 +16181,6 @@ function getTypeCacheKeys$3(cacheKeySink, astNode, state) {
|
|
|
16158
16181
|
}
|
|
16159
16182
|
// Deal with mapped types' cache keys
|
|
16160
16183
|
}
|
|
16161
|
-
function getFieldType$b(field) {
|
|
16162
|
-
switch (field.name.value) {
|
|
16163
|
-
case '__typename': {
|
|
16164
|
-
return {
|
|
16165
|
-
isArray: false,
|
|
16166
|
-
typename: 'String'
|
|
16167
|
-
};
|
|
16168
|
-
}
|
|
16169
|
-
case 'recordQuery': {
|
|
16170
|
-
return {
|
|
16171
|
-
isArray: false,
|
|
16172
|
-
typename: 'Setup__SetupConnection'
|
|
16173
|
-
};
|
|
16174
|
-
}
|
|
16175
|
-
default:
|
|
16176
|
-
return undefined;
|
|
16177
|
-
}
|
|
16178
|
-
}
|
|
16179
16184
|
function ingestFieldByType$2(typename, parentKey, requestedField, sink, fieldKey, fieldData, state) {
|
|
16180
16185
|
// TODO: add validation logic to only allow nullable fields to be null in the future
|
|
16181
16186
|
if (fieldData === null) {
|
|
@@ -19739,4 +19744,4 @@ register({
|
|
|
19739
19744
|
});
|
|
19740
19745
|
|
|
19741
19746
|
export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
|
|
19742
|
-
// version: 1.287.0-
|
|
19747
|
+
// version: 1.287.0-dev4-cfb9f2785
|
package/sfdc/index.js
CHANGED
|
@@ -37000,4 +37000,4 @@ withDefaultLuvio((luvio) => {
|
|
|
37000
37000
|
});
|
|
37001
37001
|
|
|
37002
37002
|
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$U as RecordRepresentationRepresentationType, TTL$y as RecordRepresentationTTL, RepresentationType$U as RecordRepresentationType, VERSION$1a 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, getListInfoByName_imperative, getListInfosByName, getListInfosByName_imperative, getListInfosByObjectName, getListInfosByObjectName_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, getPathLayout, getPathLayout_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, 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$W as getTypeCacheKeysRecord, ingest as ingestContentDocumentCompositeRepresentation, ingest$G as ingestObjectInfo, ingest$A as ingestQuickActionExecutionRepresentation, ingest$N as ingestRecord, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$C as keyBuilderFromTypeRecordRepresentation, keyBuilder$1V as keyBuilderObjectInfo, keyBuilder$1O as keyBuilderQuickActionExecutionRepresentation, keyBuilder$26 as keyBuilderRecord, notifyAllListInfoSummaryUpdateAvailable, notifyAllListRecordUpdateAvailable, notifyListInfoSummaryUpdateAvailable, notifyListInfoUpdateAvailable, notifyListRecordCollectionUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
37003
|
-
// version: 1.287.0-
|
|
37003
|
+
// version: 1.287.0-dev4-cfb9f2785
|