@salesforce/lds-adapters-platform-sharing 1.282.0 → 1.283.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 +3 -1
- package/dist/es/es2018/types/src/generated/adapters/getGroupsForUser.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/getSharingGroupsForUserByGroupTypeAndUserId.d.ts +2 -0
- package/package.json +3 -3
- package/sfdc/index.js +4 -2
- package/src/raml/api.raml +6 -0
- package/src/raml/luvio.raml +6 -0
|
@@ -321,7 +321,7 @@ function select$a(luvio, params) {
|
|
|
321
321
|
return select$b();
|
|
322
322
|
}
|
|
323
323
|
function keyBuilder$5(luvio, params) {
|
|
324
|
-
return keyPrefix + '::GroupCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'groupType:' + params.urlParams.groupType + ',' + 'userId:' + params.urlParams.userId + ')';
|
|
324
|
+
return keyPrefix + '::GroupCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'sortBy:' + params.queryParams.sortBy + ',' + 'sortOrder:' + params.queryParams.sortOrder + ',' + 'groupType:' + params.urlParams.groupType + ',' + 'userId:' + params.urlParams.userId + ')';
|
|
325
325
|
}
|
|
326
326
|
function getResponseCacheKeys$2(storeKeyMap, luvio, resourceParams, response) {
|
|
327
327
|
getTypeCacheKeys$2(storeKeyMap, luvio, response, () => keyBuilder$5(luvio, resourceParams));
|
|
@@ -375,6 +375,8 @@ const getGroupsForUser_ConfigPropertyMetadata = [
|
|
|
375
375
|
generateParamConfigMetadata('userId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
376
376
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
377
377
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
378
|
+
generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */),
|
|
379
|
+
generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
|
|
378
380
|
];
|
|
379
381
|
const getGroupsForUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, getGroupsForUser_ConfigPropertyMetadata);
|
|
380
382
|
const createResourceParams$2 = /*#__PURE__*/ createResourceParams$3(getGroupsForUser_ConfigPropertyMetadata);
|
|
@@ -10,6 +10,8 @@ export interface GetGroupsForUserConfig {
|
|
|
10
10
|
userId: string;
|
|
11
11
|
limit?: number;
|
|
12
12
|
offset?: number;
|
|
13
|
+
sortBy?: string;
|
|
14
|
+
sortOrder?: string;
|
|
13
15
|
}
|
|
14
16
|
export declare const createResourceParams: (config: GetGroupsForUserConfig) => resources_getSharingGroupsForUserByGroupTypeAndUserId_ResourceRequestConfig;
|
|
15
17
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetGroupsForUserConfig): string;
|
|
@@ -8,6 +8,8 @@ export interface ResourceRequestConfig {
|
|
|
8
8
|
queryParams: {
|
|
9
9
|
limit?: number;
|
|
10
10
|
offset?: number;
|
|
11
|
+
sortBy?: string;
|
|
12
|
+
sortOrder?: string;
|
|
11
13
|
};
|
|
12
14
|
}
|
|
13
15
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-sharing",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.283.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.283.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.283.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -643,7 +643,7 @@ function select$7(luvio, params) {
|
|
|
643
643
|
return select$8();
|
|
644
644
|
}
|
|
645
645
|
function keyBuilder$3(luvio, params) {
|
|
646
|
-
return keyPrefix + '::GroupCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'groupType:' + params.urlParams.groupType + ',' + 'userId:' + params.urlParams.userId + ')';
|
|
646
|
+
return keyPrefix + '::GroupCollectionRepresentation:(' + 'limit:' + params.queryParams.limit + ',' + 'offset:' + params.queryParams.offset + ',' + 'sortBy:' + params.queryParams.sortBy + ',' + 'sortOrder:' + params.queryParams.sortOrder + ',' + 'groupType:' + params.urlParams.groupType + ',' + 'userId:' + params.urlParams.userId + ')';
|
|
647
647
|
}
|
|
648
648
|
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
649
649
|
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
|
|
@@ -697,6 +697,8 @@ const getGroupsForUser_ConfigPropertyMetadata = [
|
|
|
697
697
|
generateParamConfigMetadata('userId', true, 0 /* UrlParameter */, 0 /* String */),
|
|
698
698
|
generateParamConfigMetadata('limit', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
699
699
|
generateParamConfigMetadata('offset', false, 1 /* QueryParameter */, 3 /* Integer */),
|
|
700
|
+
generateParamConfigMetadata('sortBy', false, 1 /* QueryParameter */, 0 /* String */),
|
|
701
|
+
generateParamConfigMetadata('sortOrder', false, 1 /* QueryParameter */, 0 /* String */),
|
|
700
702
|
];
|
|
701
703
|
const getGroupsForUser_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getGroupsForUser_ConfigPropertyMetadata);
|
|
702
704
|
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$3(getGroupsForUser_ConfigPropertyMetadata);
|
|
@@ -1580,4 +1582,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1580
1582
|
});
|
|
1581
1583
|
|
|
1582
1584
|
export { getAllSobjects, getAllSobjects_imperative, getGroupsForUser, getGroupsForUser_imperative, getPublicGroupShareData, getPublicGroupShareData_imperative };
|
|
1583
|
-
// version: 1.
|
|
1585
|
+
// version: 1.283.0-80ddb6c3c
|
package/src/raml/api.raml
CHANGED