@salesforce/lds-adapters-platform-sharing 1.281.0 → 1.282.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/getPublicGroupShareData.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 +4 -2
- package/src/raml/api.raml +6 -0
|
@@ -1074,7 +1074,7 @@ function select$3(luvio, params) {
|
|
|
1074
1074
|
return select$4();
|
|
1075
1075
|
}
|
|
1076
1076
|
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 + ')';
|
|
1077
|
+
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
1078
|
}
|
|
1079
1079
|
function getResponseCacheKeys$1(storeKeyMap, luvio, resourceParams, response) {
|
|
1080
1080
|
getTypeCacheKeys$1(storeKeyMap, luvio, response, () => keyBuilder$3(luvio, resourceParams));
|
|
@@ -1129,6 +1129,8 @@ const getPublicGroupShareData_ConfigPropertyMetadata = [
|
|
|
1129
1129
|
generateParamConfigMetadata('limit', true, 2 /* Body */, 3 /* Integer */),
|
|
1130
1130
|
generateParamConfigMetadata('offset', true, 2 /* Body */, 3 /* Integer */),
|
|
1131
1131
|
generateParamConfigMetadata('operation', true, 2 /* Body */, 0 /* String */),
|
|
1132
|
+
generateParamConfigMetadata('orderBy', true, 2 /* Body */, 0 /* String */),
|
|
1133
|
+
generateParamConfigMetadata('orderType', true, 2 /* Body */, 0 /* String */),
|
|
1132
1134
|
];
|
|
1133
1135
|
const getPublicGroupShareData_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, getPublicGroupShareData_ConfigPropertyMetadata);
|
|
1134
1136
|
const createResourceParams$1 = /*#__PURE__*/ createResourceParams$3(getPublicGroupShareData_ConfigPropertyMetadata);
|
|
@@ -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;
|
|
@@ -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.282.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.282.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.282.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1396,7 +1396,7 @@ function select(luvio, params) {
|
|
|
1396
1396
|
return select$1();
|
|
1397
1397
|
}
|
|
1398
1398
|
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 + ')';
|
|
1399
|
+
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
1400
|
}
|
|
1401
1401
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
1402
1402
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
@@ -1451,6 +1451,8 @@ const getPublicGroupShareData_ConfigPropertyMetadata = [
|
|
|
1451
1451
|
generateParamConfigMetadata('limit', true, 2 /* Body */, 3 /* Integer */),
|
|
1452
1452
|
generateParamConfigMetadata('offset', true, 2 /* Body */, 3 /* Integer */),
|
|
1453
1453
|
generateParamConfigMetadata('operation', true, 2 /* Body */, 0 /* String */),
|
|
1454
|
+
generateParamConfigMetadata('orderBy', true, 2 /* Body */, 0 /* String */),
|
|
1455
|
+
generateParamConfigMetadata('orderType', true, 2 /* Body */, 0 /* String */),
|
|
1454
1456
|
];
|
|
1455
1457
|
const getPublicGroupShareData_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, getPublicGroupShareData_ConfigPropertyMetadata);
|
|
1456
1458
|
const createResourceParams = /*#__PURE__*/ createResourceParams$3(getPublicGroupShareData_ConfigPropertyMetadata);
|
|
@@ -1578,4 +1580,4 @@ withDefaultLuvio((luvio) => {
|
|
|
1578
1580
|
});
|
|
1579
1581
|
|
|
1580
1582
|
export { getAllSobjects, getAllSobjects_imperative, getGroupsForUser, getGroupsForUser_imperative, getPublicGroupShareData, getPublicGroupShareData_imperative };
|
|
1581
|
-
// version: 1.
|
|
1583
|
+
// version: 1.282.0-dd2e9831c
|
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
|