@salesforce/lds-adapters-uiapi 1.356.0 → 1.358.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/graphql/types/Analytics__AnalyticsRepresentation.d.ts +2 -1
- package/dist/es/es2018/uiapi-records-service.js +105 -82
- package/package.json +6 -6
- package/sfdc/graphqlAdapters.js +27 -4
- package/sfdc/index.js +79 -79
- package/src/raml/api.raml +1 -1
- package/src/raml/uiapi.graphql +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-uiapi",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.358.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,13 +68,13 @@
|
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@salesforce/lds-bindings": "^1.
|
|
72
|
-
"@salesforce/lds-default-luvio": "^1.
|
|
71
|
+
"@salesforce/lds-bindings": "^1.358.0",
|
|
72
|
+
"@salesforce/lds-default-luvio": "^1.358.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
76
|
-
"@salesforce/lds-jest": "^1.
|
|
77
|
-
"@salesforce/lds-store-binary": "^1.
|
|
75
|
+
"@salesforce/lds-compiler-plugins": "^1.358.0",
|
|
76
|
+
"@salesforce/lds-jest": "^1.358.0",
|
|
77
|
+
"@salesforce/lds-store-binary": "^1.358.0"
|
|
78
78
|
},
|
|
79
79
|
"luvioBundlesize": [
|
|
80
80
|
{
|
package/sfdc/graphqlAdapters.js
CHANGED
|
@@ -15786,7 +15786,7 @@ function getInContextFragmentType$x(fragment, fragmentMap) {
|
|
|
15786
15786
|
}
|
|
15787
15787
|
|
|
15788
15788
|
const name$f = 'Analytics__AnalyticsRepresentation';
|
|
15789
|
-
const VERSION$p = '
|
|
15789
|
+
const VERSION$p = '97ffe784049254d57e3831a3e3a0b79b';
|
|
15790
15790
|
function keyBuilder$j(luvio, path, data) {
|
|
15791
15791
|
return keyPrefix + '::uiapi::' + name$f + '::' + data.Id; // We're missing idNodeName in the actual key here...
|
|
15792
15792
|
}
|
|
@@ -15949,6 +15949,23 @@ function getTypeCacheKeys$i(cacheKeySink, astNode, state) {
|
|
|
15949
15949
|
getTypeCacheKeys$1n(cacheKeySink, requestedField, NamespacePrefixState);
|
|
15950
15950
|
break;
|
|
15951
15951
|
}
|
|
15952
|
+
case 'StringValue': {
|
|
15953
|
+
const fullPath__RecordOperations = `${rootKey}__${fieldKey}`;
|
|
15954
|
+
for (let i = 0, len = fieldData.length; i < len; i++) {
|
|
15955
|
+
const item = fieldData[i];
|
|
15956
|
+
const itemState = {
|
|
15957
|
+
...state,
|
|
15958
|
+
path: {
|
|
15959
|
+
parent: null,
|
|
15960
|
+
propertyName: null,
|
|
15961
|
+
fullPath: fullPath__RecordOperations + '__' + i
|
|
15962
|
+
},
|
|
15963
|
+
data: item,
|
|
15964
|
+
};
|
|
15965
|
+
getTypeCacheKeys$1n(cacheKeySink, requestedField, itemState);
|
|
15966
|
+
}
|
|
15967
|
+
break;
|
|
15968
|
+
}
|
|
15952
15969
|
case 'Analytics__AnalyticsWorkspaceAssetConnection': {
|
|
15953
15970
|
const AnalyticsWorkspacesState = buildFieldState(state, rootKey + '__' + fieldKey, fieldData);
|
|
15954
15971
|
getTypeCacheKeys$j(cacheKeySink, requestedField, AnalyticsWorkspacesState);
|
|
@@ -16020,6 +16037,12 @@ function getFieldType$v(field) {
|
|
|
16020
16037
|
typename: 'StringValue'
|
|
16021
16038
|
};
|
|
16022
16039
|
}
|
|
16040
|
+
case 'RecordOperations': {
|
|
16041
|
+
return {
|
|
16042
|
+
isArray: true,
|
|
16043
|
+
typename: 'StringValue'
|
|
16044
|
+
};
|
|
16045
|
+
}
|
|
16023
16046
|
case 'AnalyticsWorkspaces': {
|
|
16024
16047
|
return {
|
|
16025
16048
|
isArray: false,
|
|
@@ -22178,7 +22201,7 @@ function ingestError$1(luvio, config, params, error, snapshotRefresh) {
|
|
|
22178
22201
|
function createResourceRequest$2(config) {
|
|
22179
22202
|
const headers = {};
|
|
22180
22203
|
return {
|
|
22181
|
-
baseUri: '/services/data/
|
|
22204
|
+
baseUri: '/services/data/v65.0',
|
|
22182
22205
|
basePath: '/graphql',
|
|
22183
22206
|
method: 'post',
|
|
22184
22207
|
body: { ...config.body,
|
|
@@ -22607,7 +22630,7 @@ function createResourceRequest(config) {
|
|
|
22607
22630
|
const headers = {};
|
|
22608
22631
|
const transformedConfig = stripDocumentsOfMetaschema(config);
|
|
22609
22632
|
return {
|
|
22610
|
-
baseUri: '/services/data/
|
|
22633
|
+
baseUri: '/services/data/v65.0',
|
|
22611
22634
|
basePath: '/graphql/batch',
|
|
22612
22635
|
method: 'post',
|
|
22613
22636
|
body: transformedConfig.body,
|
|
@@ -23590,4 +23613,4 @@ register({
|
|
|
23590
23613
|
});
|
|
23591
23614
|
|
|
23592
23615
|
export { configurationForGraphQLAdapters as configuration, graphql, factory$1 as graphqlAdapterFactory, graphqlBatch, graphqlBatch_imperative, graphql_imperative };
|
|
23593
|
-
// version: 1.
|
|
23616
|
+
// version: 1.358.0-abc73971a1
|