@salesforce/lds-adapters-platform-sharing 1.303.0 → 1.305.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,17 @@ function equals$b(existing, incoming) {
863
863
  }
864
864
 
865
865
  const TTL$3 = 300;
866
- const VERSION$a = "d37f5c20e7e7d487f8eb8adfbe11f584";
866
+ const VERSION$a = "ff9b160e9ebbf564f9bbe3a7ee37cc16";
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_isMember = obj.isMember;
873
+ const path_isMember = path + '.isMember';
874
+ if (typeof obj_isMember !== 'boolean') {
875
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isMember + '" (at "' + path_isMember + '")');
876
+ }
872
877
  const obj_listChannelPrograms = obj.listChannelPrograms;
873
878
  const path_listChannelPrograms = path + '.listChannelPrograms';
874
879
  if (!ArrayIsArray(obj_listChannelPrograms)) {
@@ -990,6 +995,10 @@ const select$e = function PublicGroupMembershipDetailsRepresentationSelect() {
990
995
  version: VERSION$a,
991
996
  private: [],
992
997
  selections: [
998
+ {
999
+ name: 'isMember',
1000
+ kind: 'Scalar'
1001
+ },
993
1002
  {
994
1003
  name: 'listChannelPrograms',
995
1004
  kind: 'Object',
@@ -1036,6 +1045,11 @@ const select$e = function PublicGroupMembershipDetailsRepresentationSelect() {
1036
1045
  };
1037
1046
  };
1038
1047
  function equals$a(existing, incoming) {
1048
+ const existing_isMember = existing.isMember;
1049
+ const incoming_isMember = incoming.isMember;
1050
+ if (!(existing_isMember === incoming_isMember)) {
1051
+ return false;
1052
+ }
1039
1053
  const existing_listChannelPrograms = existing.listChannelPrograms;
1040
1054
  const incoming_listChannelPrograms = incoming.listChannelPrograms;
1041
1055
  const equals_listChannelPrograms_items = equalsArray(existing_listChannelPrograms, incoming_listChannelPrograms, (existing_listChannelPrograms_item, incoming_listChannelPrograms_item) => {
@@ -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 = "d37f5c20e7e7d487f8eb8adfbe11f584";
6
+ export declare const VERSION = "ff9b160e9ebbf564f9bbe3a7ee37cc16";
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
+ /** Is Member of Group */
22
+ isMember: boolean;
21
23
  /** Output response data for Channel Programs */
22
24
  listChannelPrograms: Array<PublicGroupMembersInPublicGroupRepresentation_PublicGroupMembersInPublicGroupRepresentation>;
23
25
  /** Output response data for Public Groups */
@@ -40,6 +42,7 @@ export interface PublicGroupMembershipDetailsRepresentationNormalized {
40
42
  * (none)
41
43
  */
42
44
  export interface PublicGroupMembershipDetailsRepresentation {
45
+ isMember: boolean;
43
46
  listChannelPrograms: Array<PublicGroupMembersInPublicGroupRepresentation_PublicGroupMembersInPublicGroupRepresentation>;
44
47
  listPublicGroups: Array<PublicGroupMembersInPublicGroupRepresentation_PublicGroupMembersInPublicGroupRepresentation>;
45
48
  listRoles: Array<RolesInGroupRepresentation_RolesInGroupRepresentation>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-sharing",
3
- "version": "1.303.0",
3
+ "version": "1.305.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.303.0"
43
+ "@salesforce/lds-bindings": "^1.305.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.303.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.305.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -1185,12 +1185,17 @@ function equals$9(existing, incoming) {
1185
1185
  }
1186
1186
 
1187
1187
  const TTL$2 = 300;
1188
- const VERSION$8 = "d37f5c20e7e7d487f8eb8adfbe11f584";
1188
+ const VERSION$8 = "ff9b160e9ebbf564f9bbe3a7ee37cc16";
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_isMember = obj.isMember;
1195
+ const path_isMember = path + '.isMember';
1196
+ if (typeof obj_isMember !== 'boolean') {
1197
+ return new TypeError('Expected "boolean" but received "' + typeof obj_isMember + '" (at "' + path_isMember + '")');
1198
+ }
1194
1199
  const obj_listChannelPrograms = obj.listChannelPrograms;
1195
1200
  const path_listChannelPrograms = path + '.listChannelPrograms';
1196
1201
  if (!ArrayIsArray(obj_listChannelPrograms)) {
@@ -1312,6 +1317,10 @@ const select$b = function PublicGroupMembershipDetailsRepresentationSelect() {
1312
1317
  version: VERSION$8,
1313
1318
  private: [],
1314
1319
  selections: [
1320
+ {
1321
+ name: 'isMember',
1322
+ kind: 'Scalar'
1323
+ },
1315
1324
  {
1316
1325
  name: 'listChannelPrograms',
1317
1326
  kind: 'Object',
@@ -1358,6 +1367,11 @@ const select$b = function PublicGroupMembershipDetailsRepresentationSelect() {
1358
1367
  };
1359
1368
  };
1360
1369
  function equals$8(existing, incoming) {
1370
+ const existing_isMember = existing.isMember;
1371
+ const incoming_isMember = incoming.isMember;
1372
+ if (!(existing_isMember === incoming_isMember)) {
1373
+ return false;
1374
+ }
1361
1375
  const existing_listChannelPrograms = existing.listChannelPrograms;
1362
1376
  const incoming_listChannelPrograms = incoming.listChannelPrograms;
1363
1377
  const equals_listChannelPrograms_items = equalsArray(existing_listChannelPrograms, incoming_listChannelPrograms, (existing_listChannelPrograms_item, incoming_listChannelPrograms_item) => {
@@ -2715,4 +2729,4 @@ withDefaultLuvio((luvio) => {
2715
2729
  });
2716
2730
 
2717
2731
  export { getAllSobjects, getAllSobjects_imperative, getGroupsForUser, getGroupsForUser_imperative, getPublicGroupMembershipDetails, getPublicGroupMembershipDetails_imperative, getPublicGroupShareData, getPublicGroupShareData_imperative, getUserPermissions, getUserPermissions_imperative };
2718
- // version: 1.303.0-b6ed223d95
2732
+ // version: 1.305.0-ec92f7304c
package/src/raml/api.raml CHANGED
@@ -177,6 +177,9 @@ types:
177
177
  API
178
178
  type: object
179
179
  properties:
180
+ isMember:
181
+ description: Is Member of Group
182
+ type: boolean
180
183
  listChannelPrograms:
181
184
  description: Output response data for Channel Programs
182
185
  type: array