@salesforce/lds-adapters-uiapi 1.334.0 → 1.336.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/configuration.d.ts +2 -0
- package/dist/es/es2018/types/src/main.d.ts +3 -0
- package/dist/es/es2018/types/src/predictive-loading/registry.d.ts +1 -0
- package/dist/es/es2018/types/src/sfdc_rest.d.ts +1 -1
- package/dist/es/es2018/uiapi-records-service.js +102 -82
- package/package.json +6 -6
- package/sfdc/graphqlAdapters.js +13 -3
- package/sfdc/index.js +101 -81
- package/sfdc/uiapi-static-functions.js +10 -0
- package/src/raml/api.raml +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-uiapi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.336.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.336.0",
|
|
72
|
+
"@salesforce/lds-default-luvio": "^1.336.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.336.0",
|
|
77
|
+
"@salesforce/lds-jest": "^1.336.0",
|
|
78
|
+
"@salesforce/lds-store-binary": "^1.336.0"
|
|
79
79
|
},
|
|
80
80
|
"luvioBundlesize": [
|
|
81
81
|
{
|
package/sfdc/graphqlAdapters.js
CHANGED
|
@@ -20862,7 +20862,7 @@ function ingestError$1(luvio, config, params, error, snapshotRefresh) {
|
|
|
20862
20862
|
function createResourceRequest$2(config) {
|
|
20863
20863
|
const headers = {};
|
|
20864
20864
|
return {
|
|
20865
|
-
baseUri: '/services/data/
|
|
20865
|
+
baseUri: '/services/data/v64.0',
|
|
20866
20866
|
basePath: '/graphql',
|
|
20867
20867
|
method: 'post',
|
|
20868
20868
|
body: { ...config.body,
|
|
@@ -21089,6 +21089,10 @@ let oneStoreGetObjectInfosAdapter = undefined;
|
|
|
21089
21089
|
* Determines when to include PDL strategies for Related Lists
|
|
21090
21090
|
*/
|
|
21091
21091
|
let relatedListsPredictionsEnabled = false;
|
|
21092
|
+
/**
|
|
21093
|
+
* Determines whether to include additional PDL strategies for Related Lists
|
|
21094
|
+
*/
|
|
21095
|
+
let relatedListsPlusPredictionsEnabled = false;
|
|
21092
21096
|
/**
|
|
21093
21097
|
* Defines the configuration API and is exposed internally as well as externally.
|
|
21094
21098
|
* Configuration for one store enabled REST adapters only.
|
|
@@ -21188,6 +21192,12 @@ const configurationForRestAdapters = {
|
|
|
21188
21192
|
areRelatedListsPredictionsEnabled: function () {
|
|
21189
21193
|
return relatedListsPredictionsEnabled === true;
|
|
21190
21194
|
},
|
|
21195
|
+
setRelatedListsPlusPredictionsEnabled: function (f) {
|
|
21196
|
+
relatedListsPlusPredictionsEnabled = f;
|
|
21197
|
+
},
|
|
21198
|
+
areRelatedListsPlusPredictionsEnabled: function () {
|
|
21199
|
+
return relatedListsPlusPredictionsEnabled === true;
|
|
21200
|
+
},
|
|
21191
21201
|
// createRecord
|
|
21192
21202
|
getDraftAwareCreateRecordAdapter: configurableCreateRecordAdapter.getAdapter,
|
|
21193
21203
|
setDraftAwareCreateRecordAdapter: configurableCreateRecordAdapter.setAdapter,
|
|
@@ -21274,7 +21284,7 @@ function createResourceRequest(config) {
|
|
|
21274
21284
|
const headers = {};
|
|
21275
21285
|
const transformedConfig = stripDocumentsOfMetaschema(config);
|
|
21276
21286
|
return {
|
|
21277
|
-
baseUri: '/services/data/
|
|
21287
|
+
baseUri: '/services/data/v64.0',
|
|
21278
21288
|
basePath: '/graphql/batch',
|
|
21279
21289
|
method: 'post',
|
|
21280
21290
|
body: transformedConfig.body,
|
|
@@ -22257,4 +22267,4 @@ register({
|
|
|
22257
22267
|
});
|
|
22258
22268
|
|
|
22259
22269
|
export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
|
|
22260
|
-
// version: 1.
|
|
22270
|
+
// version: 1.336.0-1b35a3afd9
|