@salesforce/lds-adapters-platform-sharing 1.281.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 +6 -2
- package/dist/es/es2018/types/src/generated/adapters/getGroupsForUser.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/adapters/getPublicGroupShareData.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/getSharingGroupsForUserByGroupTypeAndUserId.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postSharingPublicGroupsSummary.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/types/PublicGroupSummaryInputRepresentation.d.ts +7 -1
- package/package.json +3 -3
- package/sfdc/index.js +7 -3
- package/src/raml/api.raml +12 -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);
|
|
@@ -1074,7 +1076,7 @@ function select$3(luvio, params) {
|
|
|
1074
1076
|
return select$4();
|
|
1075
1077
|
}
|
|
1076
1078
|
function keyBuilder$3(luvio, params) {
|
|
1077
|
-
return keyPrefix + '::PublicGroupSummaryRepresentation:(' + 'entityKeyPrefix:' + params.body.entityKeyPrefix + '::' + 'groupId:' + params.body.groupId + '::' + 'limit:' + params.body.limit + '::' + 'offset:' + params.body.offset + '::' + 'operation:' + params.body.operation + ')';
|
|
1079
|
+
return keyPrefix + '::PublicGroupSummaryRepresentation:(' + 'entityKeyPrefix:' + params.body.entityKeyPrefix + '::' + 'groupId:' + params.body.groupId + '::' + 'limit:' + params.body.limit + '::' + 'offset:' + params.body.offset + '::' + 'operation:' + params.body.operation + '::' + 'orderBy:' + params.body.orderBy + '::' + 'orderType:' + params.body.orderType + ')';
|
|
1078
1080
|
}
|
|
1079
1081
|
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
1080
1082
|
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
|
|
@@ -1129,6 +1131,8 @@ const getPublicGroupShareData_ConfigPropertyMetadata = [
|
|
|
1129
1131
|
generateParamConfigMetadata('limit', true, 2 /* Body */, 3 /* Integer */),
|
|
1130
1132
|
generateParamConfigMetadata('offset', true, 2 /* Body */, 3 /* Integer */),
|
|
1131
1133
|
generateParamConfigMetadata('operation', true, 2 /* Body */, 0 /* String */),
|
|
1134
|
+
generateParamConfigMetadata('orderBy', true, 2 /* Body */, 0 /* String */),
|
|
1135
|
+
generateParamConfigMetadata('orderType', true, 2 /* Body */, 0 /* String */),
|
|
1132
1136
|
];
|
|
1133
1137
|
const getPublicGroupShareData_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getPublicGroupShareData_ConfigPropertyMetadata);
|
|
1134
1138
|
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$3(getPublicGroupShareData_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;
|
|
@@ -11,6 +11,8 @@ export interface GetPublicGroupShareDataConfig {
|
|
|
11
11
|
limit: number;
|
|
12
12
|
offset: number;
|
|
13
13
|
operation: string;
|
|
14
|
+
orderBy: string;
|
|
15
|
+
orderType: string;
|
|
14
16
|
}
|
|
15
17
|
export declare const createResourceParams: (config: GetPublicGroupShareDataConfig) => resources_postSharingPublicGroupsSummary_ResourceRequestConfig;
|
|
16
18
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetPublicGroupShareDataConfig): 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;
|
|
@@ -7,6 +7,8 @@ export interface ResourceRequestConfig {
|
|
|
7
7
|
limit: number;
|
|
8
8
|
offset: number;
|
|
9
9
|
operation: string;
|
|
10
|
+
orderBy: string;
|
|
11
|
+
orderType: string;
|
|
10
12
|
};
|
|
11
13
|
}
|
|
12
14
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
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';
|
|
2
|
-
export declare const VERSION = "
|
|
2
|
+
export declare const VERSION = "626eed5a45eb2652b4374eb4844cf12b";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
5
|
export declare function normalize(input: PublicGroupSummaryInputRepresentation, existing: PublicGroupSummaryInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PublicGroupSummaryInputRepresentationNormalized;
|
|
@@ -24,6 +24,10 @@ export interface PublicGroupSummaryInputRepresentationNormalized {
|
|
|
24
24
|
offset: number;
|
|
25
25
|
/** Data required for which tab */
|
|
26
26
|
operation: string;
|
|
27
|
+
/** Sorts by given order by clause */
|
|
28
|
+
orderBy: string;
|
|
29
|
+
/** Orders the records in asc/desc */
|
|
30
|
+
orderType: string;
|
|
27
31
|
}
|
|
28
32
|
/**
|
|
29
33
|
* Input representation for public group summary.
|
|
@@ -37,4 +41,6 @@ export interface PublicGroupSummaryInputRepresentation {
|
|
|
37
41
|
limit: number;
|
|
38
42
|
offset: number;
|
|
39
43
|
operation: string;
|
|
44
|
+
orderBy: string;
|
|
45
|
+
orderType: string;
|
|
40
46
|
}
|
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);
|
|
@@ -1396,7 +1398,7 @@ function select(luvio, params) {
|
|
|
1396
1398
|
return select$1();
|
|
1397
1399
|
}
|
|
1398
1400
|
function keyBuilder$1(luvio, params) {
|
|
1399
|
-
return keyPrefix + '::PublicGroupSummaryRepresentation:(' + 'entityKeyPrefix:' + params.body.entityKeyPrefix + '::' + 'groupId:' + params.body.groupId + '::' + 'limit:' + params.body.limit + '::' + 'offset:' + params.body.offset + '::' + 'operation:' + params.body.operation + ')';
|
|
1401
|
+
return keyPrefix + '::PublicGroupSummaryRepresentation:(' + 'entityKeyPrefix:' + params.body.entityKeyPrefix + '::' + 'groupId:' + params.body.groupId + '::' + 'limit:' + params.body.limit + '::' + 'offset:' + params.body.offset + '::' + 'operation:' + params.body.operation + '::' + 'orderBy:' + params.body.orderBy + '::' + 'orderType:' + params.body.orderType + ')';
|
|
1400
1402
|
}
|
|
1401
1403
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
1402
1404
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
@@ -1451,6 +1453,8 @@ const getPublicGroupShareData_ConfigPropertyMetadata = [
|
|
|
1451
1453
|
generateParamConfigMetadata('limit', true, 2 /* Body */, 3 /* Integer */),
|
|
1452
1454
|
generateParamConfigMetadata('offset', true, 2 /* Body */, 3 /* Integer */),
|
|
1453
1455
|
generateParamConfigMetadata('operation', true, 2 /* Body */, 0 /* String */),
|
|
1456
|
+
generateParamConfigMetadata('orderBy', true, 2 /* Body */, 0 /* String */),
|
|
1457
|
+
generateParamConfigMetadata('orderType', true, 2 /* Body */, 0 /* String */),
|
|
1454
1458
|
];
|
|
1455
1459
|
const getPublicGroupShareData_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getPublicGroupShareData_ConfigPropertyMetadata);
|
|
1456
1460
|
const createResourceParams = /*#__PURE__*/ createResourceParams$3(getPublicGroupShareData_ConfigPropertyMetadata);
|
|
@@ -1578,4 +1582,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1578
1582
|
});
|
|
1579
1583
|
|
|
1580
1584
|
export { getAllSobjects, getAllSobjects_imperative, getGroupsForUser, getGroupsForUser_imperative, getPublicGroupShareData, getPublicGroupShareData_imperative };
|
|
1581
|
-
// version: 1.
|
|
1585
|
+
// version: 1.283.0-80ddb6c3c
|
package/src/raml/api.raml
CHANGED
|
@@ -136,6 +136,12 @@ types:
|
|
|
136
136
|
operation:
|
|
137
137
|
description: Data required for which tab
|
|
138
138
|
type: string
|
|
139
|
+
orderBy:
|
|
140
|
+
description: Sorts by given order by clause
|
|
141
|
+
type: string
|
|
142
|
+
orderType:
|
|
143
|
+
description: Orders the records in asc/desc
|
|
144
|
+
type: string
|
|
139
145
|
PublicGroupSummaryRepresentation:
|
|
140
146
|
description: Parent output representation for all form of data emitted by this
|
|
141
147
|
API
|
|
@@ -534,6 +540,12 @@ types:
|
|
|
534
540
|
offset:
|
|
535
541
|
type: integer
|
|
536
542
|
required: false
|
|
543
|
+
sortBy:
|
|
544
|
+
type: string
|
|
545
|
+
required: false
|
|
546
|
+
sortOrder:
|
|
547
|
+
type: string
|
|
548
|
+
required: false
|
|
537
549
|
uriParameters:
|
|
538
550
|
groupType:
|
|
539
551
|
type: string
|