@salesforce/lds-adapters-platform-sharing 1.288.0 → 1.289.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/platform-sharing.js +2 -3
- package/dist/es/es2018/types/src/generated/adapters/getUserPermissions.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/resources/getSharingUserPermissions.d.ts +0 -1
- package/dist/es/es2018/types/src/generated/types/UserPermissionsInfoListRepresentation.d.ts +1 -1
- package/package.json +3 -3
- package/sfdc/index.js +4 -9
- package/src/raml/api.raml +0 -3
- package/src/raml/luvio.raml +1 -4
|
@@ -1620,7 +1620,7 @@ function equals$1(existing, incoming) {
|
|
|
1620
1620
|
return true;
|
|
1621
1621
|
}
|
|
1622
1622
|
|
|
1623
|
-
const TTL =
|
|
1623
|
+
const TTL = 300;
|
|
1624
1624
|
const VERSION = "627ab68dfb8c0174c1e9dc9f2701c1b2";
|
|
1625
1625
|
function validate(obj, path = 'UserPermissionsInfoListRepresentation') {
|
|
1626
1626
|
const v_error = (() => {
|
|
@@ -1718,7 +1718,7 @@ function select(luvio, params) {
|
|
|
1718
1718
|
return select$1();
|
|
1719
1719
|
}
|
|
1720
1720
|
function keyBuilder$1(luvio, params) {
|
|
1721
|
-
return keyPrefix + '::UserPermissionsInfoListRepresentation:(' + '
|
|
1721
|
+
return keyPrefix + '::UserPermissionsInfoListRepresentation:(' + 'recordId:' + params.queryParams.recordId + ')';
|
|
1722
1722
|
}
|
|
1723
1723
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
1724
1724
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
@@ -1768,7 +1768,6 @@ function createResourceRequest(config) {
|
|
|
1768
1768
|
|
|
1769
1769
|
const adapterName = 'getUserPermissions';
|
|
1770
1770
|
const getUserPermissions_ConfigPropertyMetadata = [
|
|
1771
|
-
generateParamConfigMetadata('entityName', true, 1 /* QueryParameter */, 0 /* String */),
|
|
1772
1771
|
generateParamConfigMetadata('recordId', true, 1 /* QueryParameter */, 0 /* String */),
|
|
1773
1772
|
];
|
|
1774
1773
|
const getUserPermissions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getUserPermissions_ConfigPropertyMetadata);
|
|
@@ -6,7 +6,6 @@ export declare const adapterName = "getUserPermissions";
|
|
|
6
6
|
export declare const getUserPermissions_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
7
|
export declare const getUserPermissions_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface GetUserPermissionsConfig {
|
|
9
|
-
entityName: string;
|
|
10
9
|
recordId: string;
|
|
11
10
|
}
|
|
12
11
|
export declare const createResourceParams: (config: GetUserPermissionsConfig) => resources_getSharingUserPermissions_ResourceRequestConfig;
|
|
@@ -2,7 +2,6 @@ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment,
|
|
|
2
2
|
import { UserPermissionsInfoListRepresentation as types_UserPermissionsInfoListRepresentation_UserPermissionsInfoListRepresentation } from '../types/UserPermissionsInfoListRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
4
|
queryParams: {
|
|
5
|
-
entityName: string;
|
|
6
5
|
recordId: string;
|
|
7
6
|
};
|
|
8
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UserPermissionInfoRepresentation as UserPermissionInfoRepresentation_UserPermissionInfoRepresentation } from './UserPermissionInfoRepresentation';
|
|
2
2
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
-
export declare const TTL =
|
|
3
|
+
export declare const TTL = 300;
|
|
4
4
|
export declare const VERSION = "627ab68dfb8c0174c1e9dc9f2701c1b2";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-sharing",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.289.0",
|
|
4
4
|
"description": "Sharing",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/platform-sharing.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.289.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.289.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1630,7 +1630,7 @@ function equals$1(existing, incoming) {
|
|
|
1630
1630
|
return true;
|
|
1631
1631
|
}
|
|
1632
1632
|
|
|
1633
|
-
const TTL =
|
|
1633
|
+
const TTL = 300;
|
|
1634
1634
|
const VERSION = "627ab68dfb8c0174c1e9dc9f2701c1b2";
|
|
1635
1635
|
function validate(obj, path = 'UserPermissionsInfoListRepresentation') {
|
|
1636
1636
|
const v_error = (() => {
|
|
@@ -1728,7 +1728,7 @@ function select(luvio, params) {
|
|
|
1728
1728
|
return select$1();
|
|
1729
1729
|
}
|
|
1730
1730
|
function keyBuilder$1(luvio, params) {
|
|
1731
|
-
return keyPrefix + '::UserPermissionsInfoListRepresentation:(' + '
|
|
1731
|
+
return keyPrefix + '::UserPermissionsInfoListRepresentation:(' + 'recordId:' + params.queryParams.recordId + ')';
|
|
1732
1732
|
}
|
|
1733
1733
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
1734
1734
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
@@ -1778,7 +1778,6 @@ function createResourceRequest(config) {
|
|
|
1778
1778
|
|
|
1779
1779
|
const adapterName = 'getUserPermissions';
|
|
1780
1780
|
const getUserPermissions_ConfigPropertyMetadata = [
|
|
1781
|
-
generateParamConfigMetadata('entityName', true, 1 /* QueryParameter */, 0 /* String */),
|
|
1782
1781
|
generateParamConfigMetadata('recordId', true, 1 /* QueryParameter */, 0 /* String */),
|
|
1783
1782
|
];
|
|
1784
1783
|
const getUserPermissions_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getUserPermissions_ConfigPropertyMetadata);
|
|
@@ -1880,11 +1879,7 @@ const getPublicGroupShareDataMetadata = {
|
|
|
1880
1879
|
name: 'getPublicGroupShareData',
|
|
1881
1880
|
ttl: 300,
|
|
1882
1881
|
};
|
|
1883
|
-
const getUserPermissionsMetadata = {
|
|
1884
|
-
apiFamily: 'sharing',
|
|
1885
|
-
name: 'getUserPermissions',
|
|
1886
|
-
ttl: 600000,
|
|
1887
|
-
};
|
|
1882
|
+
const getUserPermissionsMetadata = { apiFamily: 'sharing', name: 'getUserPermissions', ttl: 300 };
|
|
1888
1883
|
// Notify Update Available
|
|
1889
1884
|
function bindExportsTo(luvio) {
|
|
1890
1885
|
// LDS Adapters
|
|
@@ -1919,4 +1914,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1919
1914
|
});
|
|
1920
1915
|
|
|
1921
1916
|
export { getAllSobjects, getAllSobjects_imperative, getGroupsForUser, getGroupsForUser_imperative, getPublicGroupShareData, getPublicGroupShareData_imperative, getUserPermissions, getUserPermissions_imperative };
|
|
1922
|
-
// version: 1.
|
|
1917
|
+
// version: 1.289.0-72256e363
|
package/src/raml/api.raml
CHANGED
package/src/raml/luvio.raml
CHANGED
|
@@ -17,7 +17,7 @@ types:
|
|
|
17
17
|
(luvio.ttl): 900000
|
|
18
18
|
|
|
19
19
|
UserPermissionsInfoListRepresentation:
|
|
20
|
-
(luvio.ttl):
|
|
20
|
+
(luvio.ttl): 300
|
|
21
21
|
|
|
22
22
|
/sharing:
|
|
23
23
|
/publicGroupsSummary:
|
|
@@ -68,9 +68,6 @@ types:
|
|
|
68
68
|
(luvio.adapter):
|
|
69
69
|
name: getUserPermissions
|
|
70
70
|
queryParameters:
|
|
71
|
-
entityName:
|
|
72
|
-
type: string
|
|
73
|
-
required: true
|
|
74
71
|
recordId:
|
|
75
72
|
type: string
|
|
76
73
|
required: true
|