@salesforce/lds-adapters-platform-sharing 1.298.0 → 1.300.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.
|
@@ -863,12 +863,27 @@ function equals$b(existing, incoming) {
|
|
|
863
863
|
}
|
|
864
864
|
|
|
865
865
|
const TTL$3 = 300;
|
|
866
|
-
const VERSION$a = "
|
|
866
|
+
const VERSION$a = "d37f5c20e7e7d487f8eb8adfbe11f584";
|
|
867
867
|
function validate$a(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
868
868
|
const v_error = (() => {
|
|
869
869
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
870
870
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
871
871
|
}
|
|
872
|
+
const obj_listChannelPrograms = obj.listChannelPrograms;
|
|
873
|
+
const path_listChannelPrograms = path + '.listChannelPrograms';
|
|
874
|
+
if (!ArrayIsArray(obj_listChannelPrograms)) {
|
|
875
|
+
return new TypeError('Expected "array" but received "' + typeof obj_listChannelPrograms + '" (at "' + path_listChannelPrograms + '")');
|
|
876
|
+
}
|
|
877
|
+
for (let i = 0; i < obj_listChannelPrograms.length; i++) {
|
|
878
|
+
const obj_listChannelPrograms_item = obj_listChannelPrograms[i];
|
|
879
|
+
const path_listChannelPrograms_item = path_listChannelPrograms + '[' + i + ']';
|
|
880
|
+
const referencepath_listChannelPrograms_itemValidationError = validate$d(obj_listChannelPrograms_item, path_listChannelPrograms_item);
|
|
881
|
+
if (referencepath_listChannelPrograms_itemValidationError !== null) {
|
|
882
|
+
let message = 'Object doesn\'t match PublicGroupMembersInPublicGroupRepresentation (at "' + path_listChannelPrograms_item + '")\n';
|
|
883
|
+
message += referencepath_listChannelPrograms_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
884
|
+
return new TypeError(message);
|
|
885
|
+
}
|
|
886
|
+
}
|
|
872
887
|
const obj_listPublicGroups = obj.listPublicGroups;
|
|
873
888
|
const path_listPublicGroups = path + '.listPublicGroups';
|
|
874
889
|
if (!ArrayIsArray(obj_listPublicGroups)) {
|
|
@@ -975,6 +990,12 @@ const select$e = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
|
975
990
|
version: VERSION$a,
|
|
976
991
|
private: [],
|
|
977
992
|
selections: [
|
|
993
|
+
{
|
|
994
|
+
name: 'listChannelPrograms',
|
|
995
|
+
kind: 'Object',
|
|
996
|
+
plural: true,
|
|
997
|
+
selections: PublicGroupMembersInPublicGroupRepresentation__selections
|
|
998
|
+
},
|
|
978
999
|
{
|
|
979
1000
|
name: 'listPublicGroups',
|
|
980
1001
|
kind: 'Object',
|
|
@@ -1015,6 +1036,16 @@ const select$e = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
|
1015
1036
|
};
|
|
1016
1037
|
};
|
|
1017
1038
|
function equals$a(existing, incoming) {
|
|
1039
|
+
const existing_listChannelPrograms = existing.listChannelPrograms;
|
|
1040
|
+
const incoming_listChannelPrograms = incoming.listChannelPrograms;
|
|
1041
|
+
const equals_listChannelPrograms_items = equalsArray(existing_listChannelPrograms, incoming_listChannelPrograms, (existing_listChannelPrograms_item, incoming_listChannelPrograms_item) => {
|
|
1042
|
+
if (!(equals$d(existing_listChannelPrograms_item, incoming_listChannelPrograms_item))) {
|
|
1043
|
+
return false;
|
|
1044
|
+
}
|
|
1045
|
+
});
|
|
1046
|
+
if (equals_listChannelPrograms_items === false) {
|
|
1047
|
+
return false;
|
|
1048
|
+
}
|
|
1018
1049
|
const existing_listPublicGroups = existing.listPublicGroups;
|
|
1019
1050
|
const incoming_listPublicGroups = incoming.listPublicGroups;
|
|
1020
1051
|
const equals_listPublicGroups_items = equalsArray(existing_listPublicGroups, incoming_listPublicGroups, (existing_listPublicGroups_item, incoming_listPublicGroups_item) => {
|
package/dist/es/es2018/types/src/generated/types/PublicGroupMembershipDetailsRepresentation.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { RolesInGroupRepresentation as RolesInGroupRepresentation_RolesInGroupRe
|
|
|
3
3
|
import { UserMembersInPublicGroupRepresentation as UserMembersInPublicGroupRepresentation_UserMembersInPublicGroupRepresentation } from './UserMembersInPublicGroupRepresentation';
|
|
4
4
|
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';
|
|
5
5
|
export declare const TTL = 300;
|
|
6
|
-
export declare const VERSION = "
|
|
6
|
+
export declare const VERSION = "d37f5c20e7e7d487f8eb8adfbe11f584";
|
|
7
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
8
|
export declare const RepresentationType: string;
|
|
9
9
|
export declare function normalize(input: PublicGroupMembershipDetailsRepresentation, existing: PublicGroupMembershipDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PublicGroupMembershipDetailsRepresentationNormalized;
|
|
@@ -18,6 +18,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
18
18
|
* (none)
|
|
19
19
|
*/
|
|
20
20
|
export interface PublicGroupMembershipDetailsRepresentationNormalized {
|
|
21
|
+
/** Output response data for Channel Programs */
|
|
22
|
+
listChannelPrograms: Array<PublicGroupMembersInPublicGroupRepresentation_PublicGroupMembersInPublicGroupRepresentation>;
|
|
21
23
|
/** Output response data for Public Groups */
|
|
22
24
|
listPublicGroups: Array<PublicGroupMembersInPublicGroupRepresentation_PublicGroupMembersInPublicGroupRepresentation>;
|
|
23
25
|
/** Output response data for Roles */
|
|
@@ -38,6 +40,7 @@ export interface PublicGroupMembershipDetailsRepresentationNormalized {
|
|
|
38
40
|
* (none)
|
|
39
41
|
*/
|
|
40
42
|
export interface PublicGroupMembershipDetailsRepresentation {
|
|
43
|
+
listChannelPrograms: Array<PublicGroupMembersInPublicGroupRepresentation_PublicGroupMembersInPublicGroupRepresentation>;
|
|
41
44
|
listPublicGroups: Array<PublicGroupMembersInPublicGroupRepresentation_PublicGroupMembersInPublicGroupRepresentation>;
|
|
42
45
|
listRoles: Array<RolesInGroupRepresentation_RolesInGroupRepresentation>;
|
|
43
46
|
listRolesAndInternalSubordinates: Array<RolesInGroupRepresentation_RolesInGroupRepresentation>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-sharing",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.300.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.300.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.300.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -1185,12 +1185,27 @@ function equals$9(existing, incoming) {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
|
|
1187
1187
|
const TTL$2 = 300;
|
|
1188
|
-
const VERSION$8 = "
|
|
1188
|
+
const VERSION$8 = "d37f5c20e7e7d487f8eb8adfbe11f584";
|
|
1189
1189
|
function validate$8(obj, path = 'PublicGroupMembershipDetailsRepresentation') {
|
|
1190
1190
|
const v_error = (() => {
|
|
1191
1191
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1192
1192
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1193
1193
|
}
|
|
1194
|
+
const obj_listChannelPrograms = obj.listChannelPrograms;
|
|
1195
|
+
const path_listChannelPrograms = path + '.listChannelPrograms';
|
|
1196
|
+
if (!ArrayIsArray(obj_listChannelPrograms)) {
|
|
1197
|
+
return new TypeError('Expected "array" but received "' + typeof obj_listChannelPrograms + '" (at "' + path_listChannelPrograms + '")');
|
|
1198
|
+
}
|
|
1199
|
+
for (let i = 0; i < obj_listChannelPrograms.length; i++) {
|
|
1200
|
+
const obj_listChannelPrograms_item = obj_listChannelPrograms[i];
|
|
1201
|
+
const path_listChannelPrograms_item = path_listChannelPrograms + '[' + i + ']';
|
|
1202
|
+
const referencepath_listChannelPrograms_itemValidationError = validate$b(obj_listChannelPrograms_item, path_listChannelPrograms_item);
|
|
1203
|
+
if (referencepath_listChannelPrograms_itemValidationError !== null) {
|
|
1204
|
+
let message = 'Object doesn\'t match PublicGroupMembersInPublicGroupRepresentation (at "' + path_listChannelPrograms_item + '")\n';
|
|
1205
|
+
message += referencepath_listChannelPrograms_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1206
|
+
return new TypeError(message);
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1194
1209
|
const obj_listPublicGroups = obj.listPublicGroups;
|
|
1195
1210
|
const path_listPublicGroups = path + '.listPublicGroups';
|
|
1196
1211
|
if (!ArrayIsArray(obj_listPublicGroups)) {
|
|
@@ -1297,6 +1312,12 @@ const select$b = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
|
1297
1312
|
version: VERSION$8,
|
|
1298
1313
|
private: [],
|
|
1299
1314
|
selections: [
|
|
1315
|
+
{
|
|
1316
|
+
name: 'listChannelPrograms',
|
|
1317
|
+
kind: 'Object',
|
|
1318
|
+
plural: true,
|
|
1319
|
+
selections: PublicGroupMembersInPublicGroupRepresentation__selections
|
|
1320
|
+
},
|
|
1300
1321
|
{
|
|
1301
1322
|
name: 'listPublicGroups',
|
|
1302
1323
|
kind: 'Object',
|
|
@@ -1337,6 +1358,16 @@ const select$b = function PublicGroupMembershipDetailsRepresentationSelect() {
|
|
|
1337
1358
|
};
|
|
1338
1359
|
};
|
|
1339
1360
|
function equals$8(existing, incoming) {
|
|
1361
|
+
const existing_listChannelPrograms = existing.listChannelPrograms;
|
|
1362
|
+
const incoming_listChannelPrograms = incoming.listChannelPrograms;
|
|
1363
|
+
const equals_listChannelPrograms_items = equalsArray(existing_listChannelPrograms, incoming_listChannelPrograms, (existing_listChannelPrograms_item, incoming_listChannelPrograms_item) => {
|
|
1364
|
+
if (!(equals$b(existing_listChannelPrograms_item, incoming_listChannelPrograms_item))) {
|
|
1365
|
+
return false;
|
|
1366
|
+
}
|
|
1367
|
+
});
|
|
1368
|
+
if (equals_listChannelPrograms_items === false) {
|
|
1369
|
+
return false;
|
|
1370
|
+
}
|
|
1340
1371
|
const existing_listPublicGroups = existing.listPublicGroups;
|
|
1341
1372
|
const incoming_listPublicGroups = incoming.listPublicGroups;
|
|
1342
1373
|
const equals_listPublicGroups_items = equalsArray(existing_listPublicGroups, incoming_listPublicGroups, (existing_listPublicGroups_item, incoming_listPublicGroups_item) => {
|
|
@@ -2684,4 +2715,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2684
2715
|
});
|
|
2685
2716
|
|
|
2686
2717
|
export { getAllSobjects, getAllSobjects_imperative, getGroupsForUser, getGroupsForUser_imperative, getPublicGroupMembershipDetails, getPublicGroupMembershipDetails_imperative, getPublicGroupShareData, getPublicGroupShareData_imperative, getUserPermissions, getUserPermissions_imperative };
|
|
2687
|
-
// version: 1.
|
|
2718
|
+
// version: 1.300.0-96b10a8c42
|
package/src/raml/api.raml
CHANGED
|
@@ -173,6 +173,11 @@ types:
|
|
|
173
173
|
API
|
|
174
174
|
type: object
|
|
175
175
|
properties:
|
|
176
|
+
listChannelPrograms:
|
|
177
|
+
description: Output response data for Channel Programs
|
|
178
|
+
type: array
|
|
179
|
+
items:
|
|
180
|
+
type: PublicGroupMembersInPublicGroupRepresentation
|
|
176
181
|
listPublicGroups:
|
|
177
182
|
description: Output response data for Public Groups
|
|
178
183
|
type: array
|