@salesforce/lds-adapters-uiapi 1.272.0 → 1.273.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.
- package/dist/es/es2018/types/src/generated/types/ListRecordCollectionRepresentation.d.ts +1 -0
- package/dist/es/es2018/types/src/main.d.ts +1 -0
- package/dist/es/es2018/types/src/sfdc_rest.d.ts +1 -0
- package/dist/es/es2018/types/src/wire/getRecord/GetRecordLayoutType.d.ts +7 -0
- package/dist/es/es2018/uiapi-records-service.js +34 -5
- package/package.json +6 -6
- package/sfdc/graphqlAdapters.js +1 -1
- package/sfdc/index.js +38 -7
- package/src/raml/luvio.raml +8 -0
|
@@ -4,6 +4,7 @@ export * from './predictive-loading';
|
|
|
4
4
|
export { MRU } from './wire/getListUi';
|
|
5
5
|
export { notifyChangeFactory as GetRecordNotifyChange } from './wire/getRecord';
|
|
6
6
|
export { notifyUpdateAvailableFactory as NotifyRecordUpdateAvailable } from './generated/types/RecordRepresentation';
|
|
7
|
+
export { notifyUpdateAvailableFactory as NotifyListRecordCollectionUpdateAvailable } from './generated/types/ListRecordCollectionRepresentation';
|
|
7
8
|
export { ClientOptions as UpdateRecordClientOptions } from './wire/updateRecord';
|
|
8
9
|
export { notifyUpdateAvailableFactory as NotifyListViewSummaryUpdateAvailable } from './generated/types/ListViewSummaryCollectionRepresentation';
|
|
9
10
|
export { notifyUpdateAvailableFactory as NotifyListInfoUpdateAvailable } from './raml-artifacts/types/ListInfoRepresentation/notifyUpdateAvailableFactory';
|
|
@@ -13,6 +13,7 @@ export declare let notifyRecordUpdateAvailable: any;
|
|
|
13
13
|
export declare let notifyListViewSummaryUpdateAvailable: any;
|
|
14
14
|
export declare let notifyListInfoUpdateAvailable: any;
|
|
15
15
|
export declare let notifyQuickActionDefaultsUpdateAvailable: any;
|
|
16
|
+
export declare let notifyListRecordCollectionUpdateAvailable: any;
|
|
16
17
|
export { createRecordInputFilteredByEditedFields, generateRecordInputForCreate, generateRecordInputForUpdate, getFieldDisplayValue, getFieldValue, getRecordInput, } from './uiapi-static-functions';
|
|
17
18
|
export { keyBuilder as keyBuilderRecord } from './generated/types/RecordRepresentation';
|
|
18
19
|
export { ingest as ingestRecord, createIngestRecordWithFields, } from './raml-artifacts/types/RecordRepresentation/ingest';
|
|
@@ -8,4 +8,11 @@ export interface GetRecordLayoutTypeConfig {
|
|
|
8
8
|
modes?: LayoutMode[];
|
|
9
9
|
optionalFields?: string[];
|
|
10
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* W-14696113
|
|
13
|
+
* Merge fields into optionalFields and return the whole list.
|
|
14
|
+
* @param {string[]} fields
|
|
15
|
+
* @param {string[]} [optionalFields]
|
|
16
|
+
*/
|
|
17
|
+
export declare function convertToImplicitFields(fields: string[], optionalFields?: string[]): string[];
|
|
11
18
|
export declare function getRecordLayoutType(luvio: Luvio, config: GetRecordLayoutTypeConfig, adapterContext: AdapterContext, requestContext?: AdapterRequestContext): Snapshot<RecordRepresentation> | Promise<Snapshot<RecordRepresentation>>;
|
|
@@ -1899,7 +1899,7 @@ function getTypeCacheKeys$1_(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1899
1899
|
getTypeCacheKeys$1$(rootKeySet, luvio, input.displayColumns[i], () => '');
|
|
1900
1900
|
}
|
|
1901
1901
|
}
|
|
1902
|
-
const notifyUpdateAvailableFactory$
|
|
1902
|
+
const notifyUpdateAvailableFactory$5 = (luvio) => {
|
|
1903
1903
|
return function notifyListInfoUpdateAvailable(configs) {
|
|
1904
1904
|
if (process.env.NODE_ENV !== 'production') {
|
|
1905
1905
|
const requiredKeyParams = ['listViewApiName', 'objectApiName', 'type'];
|
|
@@ -3007,7 +3007,7 @@ function getTypeCacheKeys$1W(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3007
3007
|
getTypeCacheKeys$1Z(rootKeySet, luvio, input_fields[key], () => rootKey + "__fields" + "__" + key);
|
|
3008
3008
|
}
|
|
3009
3009
|
}
|
|
3010
|
-
const notifyUpdateAvailableFactory$
|
|
3010
|
+
const notifyUpdateAvailableFactory$4 = (luvio) => {
|
|
3011
3011
|
return function notifyRecordUpdateAvailable(configs) {
|
|
3012
3012
|
if (process.env.NODE_ENV !== 'production') {
|
|
3013
3013
|
const requiredKeyParams = ['recordId'];
|
|
@@ -7268,6 +7268,20 @@ function getTypeCacheKeys$1V(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7268
7268
|
getTypeCacheKeys$1Y(rootKeySet, luvio, input.records[i]);
|
|
7269
7269
|
}
|
|
7270
7270
|
}
|
|
7271
|
+
const notifyUpdateAvailableFactory$3 = (luvio) => {
|
|
7272
|
+
return function notifyListRecordCollectionUpdateAvailable(configs) {
|
|
7273
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
7274
|
+
const requiredKeyParams = ['objectApiName', 'searchTerm', 'sortBy', 'listViewId', 'listViewApiName'];
|
|
7275
|
+
configs.forEach(config => {
|
|
7276
|
+
if (false === requiredKeyParams.every(req => req in config)) {
|
|
7277
|
+
throw new Error(`one of the configs did not contain all required parameters: ${JSONStringify(ObjectKeys(config))}`);
|
|
7278
|
+
}
|
|
7279
|
+
});
|
|
7280
|
+
}
|
|
7281
|
+
const keys = configs.map(c => keyBuilder$39(luvio, c));
|
|
7282
|
+
return luvio.notifyStoreUpdateAvailable(keys);
|
|
7283
|
+
};
|
|
7284
|
+
};
|
|
7271
7285
|
|
|
7272
7286
|
const VERSION$2d = "cf8d2eb042188974da26ffe6618cfd07";
|
|
7273
7287
|
function validate$1L(obj, path = 'ListUiRepresentation') {
|
|
@@ -12511,9 +12525,24 @@ function getFieldsFromLayoutMap(layoutMap, objectInfo) {
|
|
|
12511
12525
|
}
|
|
12512
12526
|
return dedupe(fields).sort();
|
|
12513
12527
|
}
|
|
12528
|
+
/**
|
|
12529
|
+
* W-14696113
|
|
12530
|
+
* Merge fields into optionalFields and return the whole list.
|
|
12531
|
+
* @param {string[]} fields
|
|
12532
|
+
* @param {string[]} [optionalFields]
|
|
12533
|
+
*/
|
|
12534
|
+
function convertToImplicitFields(fields, optionalFields) {
|
|
12535
|
+
const implicitFields = optionalFields || [];
|
|
12536
|
+
fields.forEach((field) => {
|
|
12537
|
+
if (!(field in implicitFields))
|
|
12538
|
+
implicitFields.push(field);
|
|
12539
|
+
});
|
|
12540
|
+
return implicitFields;
|
|
12541
|
+
}
|
|
12514
12542
|
function getRecordForLayoutableEntities(luvio, refresh, recordId, layoutMap, objectInfo, configOptionalFields) {
|
|
12515
12543
|
const fields = getFieldsFromLayoutMap(layoutMap, objectInfo);
|
|
12516
|
-
|
|
12544
|
+
const implicitFields = convertToImplicitFields(fields, configOptionalFields);
|
|
12545
|
+
return getRecord(luvio, refresh, recordId, [], implicitFields);
|
|
12517
12546
|
}
|
|
12518
12547
|
function getRecordForNonLayoutableEntities(luvio, adapterContext, refresh, recordId, objectInfo, configOptionalFields, configFields) {
|
|
12519
12548
|
const fields = keys(configFields ? configFields : {}).map((key) => `${objectInfo.apiName}.${key}`);
|
|
@@ -12928,7 +12957,7 @@ const factory$h = (luvio) => {
|
|
|
12928
12957
|
|
|
12929
12958
|
const notifyUpdateAvailableFactory$1 = (luvio) => {
|
|
12930
12959
|
return function notifyListInfoUpdateAvailable(configs) {
|
|
12931
|
-
const generated_notifyUpdateAvailable = notifyUpdateAvailableFactory$
|
|
12960
|
+
const generated_notifyUpdateAvailable = notifyUpdateAvailableFactory$5(luvio);
|
|
12932
12961
|
// Taken from getUiApiListInfoByListViewApiNameAndObjectApiName/keyBuilder artifact
|
|
12933
12962
|
// We automatically set the type based on the listViewApiName, and we need to do the same
|
|
12934
12963
|
// here for key matching and validation
|
|
@@ -52842,4 +52871,4 @@ ensureRegisteredOnce({
|
|
|
52842
52871
|
instrument,
|
|
52843
52872
|
});
|
|
52844
52873
|
|
|
52845
|
-
export { API_NAMESPACE, notifyChangeFactory as GetRecordNotifyChange, InMemoryRecordRepresentationQueryEvaluator, MRU, notifyUpdateAvailableFactory$1 as NotifyListInfoUpdateAvailable, notifyUpdateAvailableFactory$2 as NotifyListViewSummaryUpdateAvailable, notifyUpdateAvailableFactory as NotifyQuickActionDefaultsUpdateAvailable, notifyUpdateAvailableFactory$
|
|
52874
|
+
export { API_NAMESPACE, notifyChangeFactory as GetRecordNotifyChange, InMemoryRecordRepresentationQueryEvaluator, MRU, notifyUpdateAvailableFactory$1 as NotifyListInfoUpdateAvailable, notifyUpdateAvailableFactory$3 as NotifyListRecordCollectionUpdateAvailable, notifyUpdateAvailableFactory$2 as NotifyListViewSummaryUpdateAvailable, notifyUpdateAvailableFactory as NotifyQuickActionDefaultsUpdateAvailable, notifyUpdateAvailableFactory$4 as NotifyRecordUpdateAvailable, RepresentationType$N as ObjectInfoDirectoryEntryRepresentationType, RepresentationType$S as ObjectInfoRepresentationType, RECORD_FIELDS_KEY_JUNCTION, RECORD_ID_PREFIX, RECORD_REPRESENTATION_NAME, RECORD_VIEW_ENTITY_ID_PREFIX, RECORD_VIEW_ENTITY_REPRESENTATION_NAME, RepresentationType$X as RecordRepresentationRepresentationType, TTL$D as RecordRepresentationTTL, RepresentationType$X as RecordRepresentationType, VERSION$2g as RecordRepresentationVersion, keyPrefix as UiApiNamespace, buildRecordRepKeyFromId, buildSelectionFromFields, buildSelectionFromRecord, configuration, factory$1 as createContentDocumentAndVersionAdapterFactory, factory as createContentVersionAdapterFactory, createIngestRecordWithFields, createLDSAdapterWithPrediction, createListInfoAdapterFactory, factory$4 as createRecordAdapterFactory, createRecordInputFilteredByEditedFields, deleteListInfoAdapterFactory, factory$3 as deleteRecordAdapterFactory, factory$f as executeBatchRecordOperationsAdapterFactory, extractRecordIdFromStoreKey, generateRecordInputForCreate, generateRecordInputForUpdate, getActionOverridesAdapterFactory, getAllAppsAdapterFactory, getAppDetailsAdapterFactory, getDuplicateConfigurationAdapterFactory, getDuplicatesAdapterFactory, getFieldDisplayValue$1 as getFieldDisplayValue, getFieldValue, getFlexipageFormulaOverridesAdapterFactory, getGlobalActionsAdapterFactory, getKeywordSearchResultsAdapterFactory, getLayoutAdapterFactory, getLayoutUserStateAdapterFactory, getListInfoByNameAdapterFactory, getListInfosByNameAdapterFactory, getListObjectInfoAdapterFactory, getListPreferencesAdapterFactory, factory$a as getListRecordsByNameAdapterFactory, factory$j as getListUiAdapterFactory, getListUiByApiNameAdapterFactory, getListUiByListViewIdAdapterFactory, getListViewSummaryCollectionAdapterFactory, getLookupActionsAdapterFactory, getLookupMetadataAdapterFactory, factory$9 as getLookupRecordsAdapterFactory, factory$k as getMruListUiAdapterFactory, getNavItemsAdapterFactory, getObjectCreateActionsAdapterFactory, getObjectInfoAdapterFactory, getObjectInfoDirectoryAdapterFactory, getObjectInfosAdapterFactory, getPicklistValuesAdapterFactory, getPicklistValuesByRecordTypeAdapterFactory, getQuickActionDefaultsAdapterFactory, getQuickActionLayoutAdapterFactory, getRecordActionsAdapterFactory, factory$h as getRecordAdapterFactory, getRecordAvatarsAdapterFactory, factory$7 as getRecordCreateDefaultsAdapterFactory, getRecordEditActionsAdapterFactory, getRecordId18, getRecordInput, createFieldsIngestSuccess$3 as getRecordResourceIngest, factory$6 as getRecordTemplateCloneAdapterFactory, factory$5 as getRecordTemplateCreateAdapterFactory, factory$i as getRecordUiAdapterFactory, getRecordsAdapterFactory, getRelatedListActionsAdapterFactory, getRelatedListCountAdapterFactory, getRelatedListInfoAdapterFactory, getRelatedListInfoBatchAdapterFactory, getRelatedListPreferencesAdapterFactory, getRelatedListPreferencesBatchAdapterFactory, getRelatedListRecordActionsAdapterFactory, getRelatedListRecordsAdapterFactory, getRelatedListRecordsBatchAdapterFactory, getRelatedListsActionsAdapterFactory, getRelatedListsCountAdapterFactory, getRelatedListsInfoAdapterFactory, getResponseCacheKeys as getResponseCacheKeysContentDocumentCompositeRepresentation, getSearchFilterMetadataAdapterFactory, getSearchFilterOptionsAdapterFactory, getSearchResultsAdapterFactory, getSelectedAppAdapterFactory, getTypeCacheKeys$1Y as getTypeCacheKeysRecord, factory$e as graphqlAdapterFactory, factory$g as graphqlBatchAdapterFactory, ingest$4 as ingestContentDocumentCompositeRepresentation, ingest$1x as ingestDuplicateConfiguration, ingest$1r as ingestDuplicatesRepresentation, ingest$1W as ingestListInfo, ingest$1S as ingestListRecords, ingest$1O as ingestObjectInfo, ingest$1I as ingestQuickActionExecutionRepresentation, ingest$1T as ingestRecord, ingest$1L as ingestRecordUi, ingest$1j as ingestRelatedListInfo, ingest$2 as ingestRelatedListInfoBatch, ingest$1g as ingestRelatedListRecords, ingest as ingestRelatedListRecordsBatch, ingest$1i as ingestRelatedListSummaryInfoCollection, ingest$7 as ingestUiApiGraphql, instrument, isStoreKeyRecordViewEntity, keyBuilder as keyBuilderContentDocumentCompositeRepresentation, keyBuilderFromType as keyBuilderFromTypeContentDocumentCompositeRepresentation, keyBuilderFromType$A as keyBuilderFromTypeRecordRepresentation, keyBuilder$2Z as keyBuilderObjectInfo, keyBuilder$2S as keyBuilderQuickActionExecutionRepresentation, keyBuilder$3c as keyBuilderRecord, factory$c as performQuickActionAdapterFactory, factory$d as performUpdateRecordQuickActionAdapterFactory, registerPrefetcher, untrustedIsObject, factory$b as updateLayoutUserStateAdapterFactory, updateListInfoByNameAdapterFactory, updateListPreferencesAdapterFactory, factory$2 as updateRecordAdapterFactory, factory$8 as updateRecordAvatarAdapterFactory, updateRelatedListInfoAdapterFactory, updateRelatedListPreferencesAdapterFactory };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-uiapi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.273.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.273.0",
|
|
72
|
+
"@salesforce/lds-default-luvio": "^1.273.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.273.0",
|
|
77
|
+
"@salesforce/lds-jest": "^1.273.0",
|
|
78
|
+
"@salesforce/lds-store-binary": "^1.273.0"
|
|
79
79
|
},
|
|
80
80
|
"luvioBundlesize": [
|
|
81
81
|
{
|
package/sfdc/graphqlAdapters.js
CHANGED
|
@@ -18069,4 +18069,4 @@ register({
|
|
|
18069
18069
|
});
|
|
18070
18070
|
|
|
18071
18071
|
export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
|
|
18072
|
-
// version: 1.
|
|
18072
|
+
// version: 1.273.0-daa4f720d
|
package/sfdc/index.js
CHANGED
|
@@ -1947,7 +1947,7 @@ function getTypeCacheKeys$W(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
1947
1947
|
getTypeCacheKeys$X(rootKeySet, luvio, input.displayColumns[i], () => '');
|
|
1948
1948
|
}
|
|
1949
1949
|
}
|
|
1950
|
-
const notifyUpdateAvailableFactory$
|
|
1950
|
+
const notifyUpdateAvailableFactory$5 = (luvio) => {
|
|
1951
1951
|
return function notifyListInfoUpdateAvailable(configs) {
|
|
1952
1952
|
if (process.env.NODE_ENV !== 'production') {
|
|
1953
1953
|
const requiredKeyParams = ['listViewApiName', 'objectApiName', 'type'];
|
|
@@ -3055,7 +3055,7 @@ function getTypeCacheKeys$S(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3055
3055
|
getTypeCacheKeys$V(rootKeySet, luvio, input_fields[key], () => rootKey + "__fields" + "__" + key);
|
|
3056
3056
|
}
|
|
3057
3057
|
}
|
|
3058
|
-
const notifyUpdateAvailableFactory$
|
|
3058
|
+
const notifyUpdateAvailableFactory$4 = (luvio) => {
|
|
3059
3059
|
return function notifyRecordUpdateAvailable(configs) {
|
|
3060
3060
|
if (process.env.NODE_ENV !== 'production') {
|
|
3061
3061
|
const requiredKeyParams = ['recordId'];
|
|
@@ -7020,6 +7020,20 @@ function getTypeCacheKeys$R(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
7020
7020
|
getTypeCacheKeys$U(rootKeySet, luvio, input.records[i]);
|
|
7021
7021
|
}
|
|
7022
7022
|
}
|
|
7023
|
+
const notifyUpdateAvailableFactory$3 = (luvio) => {
|
|
7024
|
+
return function notifyListRecordCollectionUpdateAvailable(configs) {
|
|
7025
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
7026
|
+
const requiredKeyParams = ['objectApiName', 'searchTerm', 'sortBy', 'listViewId', 'listViewApiName'];
|
|
7027
|
+
configs.forEach(config => {
|
|
7028
|
+
if (false === requiredKeyParams.every(req => req in config)) {
|
|
7029
|
+
throw new Error(`one of the configs did not contain all required parameters: ${JSONStringify(ObjectKeys(config))}`);
|
|
7030
|
+
}
|
|
7031
|
+
});
|
|
7032
|
+
}
|
|
7033
|
+
const keys = configs.map(c => keyBuilder$1Z(luvio, c));
|
|
7034
|
+
return luvio.notifyStoreUpdateAvailable(keys);
|
|
7035
|
+
};
|
|
7036
|
+
};
|
|
7023
7037
|
|
|
7024
7038
|
const VERSION$15 = "cf8d2eb042188974da26ffe6618cfd07";
|
|
7025
7039
|
function validate$1H(obj, path = 'ListUiRepresentation') {
|
|
@@ -12043,9 +12057,24 @@ function getFieldsFromLayoutMap(layoutMap, objectInfo) {
|
|
|
12043
12057
|
}
|
|
12044
12058
|
return dedupe(fields).sort();
|
|
12045
12059
|
}
|
|
12060
|
+
/**
|
|
12061
|
+
* W-14696113
|
|
12062
|
+
* Merge fields into optionalFields and return the whole list.
|
|
12063
|
+
* @param {string[]} fields
|
|
12064
|
+
* @param {string[]} [optionalFields]
|
|
12065
|
+
*/
|
|
12066
|
+
function convertToImplicitFields(fields, optionalFields) {
|
|
12067
|
+
const implicitFields = optionalFields || [];
|
|
12068
|
+
fields.forEach((field) => {
|
|
12069
|
+
if (!(field in implicitFields))
|
|
12070
|
+
implicitFields.push(field);
|
|
12071
|
+
});
|
|
12072
|
+
return implicitFields;
|
|
12073
|
+
}
|
|
12046
12074
|
function getRecordForLayoutableEntities(luvio, refresh, recordId, layoutMap, objectInfo, configOptionalFields) {
|
|
12047
12075
|
const fields = getFieldsFromLayoutMap(layoutMap, objectInfo);
|
|
12048
|
-
|
|
12076
|
+
const implicitFields = convertToImplicitFields(fields, configOptionalFields);
|
|
12077
|
+
return getRecord$1(luvio, refresh, recordId, [], implicitFields);
|
|
12049
12078
|
}
|
|
12050
12079
|
function getRecordForNonLayoutableEntities(luvio, adapterContext, refresh, recordId, objectInfo, configOptionalFields, configFields) {
|
|
12051
12080
|
const fields = keys(configFields ? configFields : {}).map((key) => `${objectInfo.apiName}.${key}`);
|
|
@@ -12460,7 +12489,7 @@ const factory$f = (luvio) => {
|
|
|
12460
12489
|
|
|
12461
12490
|
const notifyUpdateAvailableFactory$1 = (luvio) => {
|
|
12462
12491
|
return function notifyListInfoUpdateAvailable(configs) {
|
|
12463
|
-
const generated_notifyUpdateAvailable = notifyUpdateAvailableFactory$
|
|
12492
|
+
const generated_notifyUpdateAvailable = notifyUpdateAvailableFactory$5(luvio);
|
|
12464
12493
|
// Taken from getUiApiListInfoByListViewApiNameAndObjectApiName/keyBuilder artifact
|
|
12465
12494
|
// We automatically set the type based on the listViewApiName, and we need to do the same
|
|
12466
12495
|
// here for key matching and validation
|
|
@@ -35580,6 +35609,7 @@ let notifyRecordUpdateAvailable;
|
|
|
35580
35609
|
let notifyListViewSummaryUpdateAvailable;
|
|
35581
35610
|
let notifyListInfoUpdateAvailable;
|
|
35582
35611
|
let notifyQuickActionDefaultsUpdateAvailable;
|
|
35612
|
+
let notifyListRecordCollectionUpdateAvailable;
|
|
35583
35613
|
withDefaultLuvio((luvio) => {
|
|
35584
35614
|
bindWireRefresh(luvio);
|
|
35585
35615
|
baseUpdateLayoutUserState = createLDSAdapter(luvio, 'updateLayoutUserState', factory$b);
|
|
@@ -35589,14 +35619,15 @@ withDefaultLuvio((luvio) => {
|
|
|
35589
35619
|
allowFunction: instrumentation.getRecordNotifyChangeAllowed,
|
|
35590
35620
|
dropFunction: instrumentation.getRecordNotifyChangeDropped,
|
|
35591
35621
|
});
|
|
35592
|
-
notifyRecordUpdateAvailable = throttle(60, 60000, createLDSAdapter(luvio, 'notifyRecordUpdateAvailable', notifyUpdateAvailableFactory$
|
|
35622
|
+
notifyRecordUpdateAvailable = throttle(60, 60000, createLDSAdapter(luvio, 'notifyRecordUpdateAvailable', notifyUpdateAvailableFactory$4), {
|
|
35593
35623
|
allowFunction: instrumentation.notifyRecordUpdateAvailableAllowed,
|
|
35594
35624
|
dropFunction: instrumentation.notifyRecordUpdateAvailableDropped,
|
|
35595
35625
|
});
|
|
35596
35626
|
notifyListViewSummaryUpdateAvailable = throttle(60, 60000, createLDSAdapter(luvio, 'notifyListViewSummaryUpdateAvailable', notifyUpdateAvailableFactory$2));
|
|
35597
35627
|
notifyListInfoUpdateAvailable = throttle(60, 60000, createLDSAdapter(luvio, 'notifyListInfoUpdateAvailable', notifyUpdateAvailableFactory$1));
|
|
35628
|
+
notifyListRecordCollectionUpdateAvailable = throttle(60, 60000, createLDSAdapter(luvio, 'notifyListRecordCollectionUpdateAvailable', notifyUpdateAvailableFactory$3));
|
|
35598
35629
|
notifyQuickActionDefaultsUpdateAvailable = throttle(60, 60000, createLDSAdapter(luvio, 'notifyQuickActionDefaultsUpdateAvailable', notifyUpdateAvailableFactory));
|
|
35599
35630
|
});
|
|
35600
35631
|
|
|
35601
|
-
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, getRelatedListsActionsAdapterFactory, 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 };
|
|
35602
|
-
// version: 1.
|
|
35632
|
+
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, getRelatedListsActionsAdapterFactory, 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, notifyListRecordCollectionUpdateAvailable, notifyListViewSummaryUpdateAvailable, notifyQuickActionDefaultsUpdateAvailable, notifyRecordUpdateAvailable, performQuickAction, performUpdateRecordQuickAction, refresh, registerPrefetcher, updateLayoutUserState, updateListInfoByName, updateListPreferences, updateRecord, updateRecordAvatar, updateRelatedListInfo, updateRelatedListPreferences };
|
|
35633
|
+
// version: 1.273.0-daa4f720d
|
package/src/raml/luvio.raml
CHANGED
|
@@ -141,6 +141,14 @@ types:
|
|
|
141
141
|
previousToken: previousPageToken
|
|
142
142
|
pageSize: pageSize
|
|
143
143
|
count: count
|
|
144
|
+
(luvio.updateAvailable):
|
|
145
|
+
name: notifyListRecordCollectionUpdateAvailable
|
|
146
|
+
parameters:
|
|
147
|
+
objectApiName: objectApiName
|
|
148
|
+
listViewApiName: listViewApiName
|
|
149
|
+
listViewId: listViewId
|
|
150
|
+
searchTerm: searchTerm
|
|
151
|
+
sortBy: sortBy
|
|
144
152
|
ListViewSummaryCollectionRepresentation:
|
|
145
153
|
examples:
|
|
146
154
|
mockResponseOpportunity: !include ../mocks/types/ListViewSummaryCollectionRepresentation/list-ui-Opportunity.json
|