@salesforce/lds-adapters-platform-sharing 1.322.0 → 1.323.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.
@@ -1383,7 +1383,7 @@ function equals$a(existing, incoming) {
1383
1383
  return true;
1384
1384
  }
1385
1385
 
1386
- const VERSION$9 = "06eef993be289c8b20b37b2ae6f4c5ee";
1386
+ const VERSION$9 = "b8227d5d544c32d4b6c8f7048a6529d9";
1387
1387
  function validate$9(obj, path = 'ListViewGroupSharingRepresentation') {
1388
1388
  const v_error = (() => {
1389
1389
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1399,6 +1399,16 @@ function validate$9(obj, path = 'ListViewGroupSharingRepresentation') {
1399
1399
  if (typeof obj_label !== 'string') {
1400
1400
  return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1401
1401
  }
1402
+ const obj_objectAPIName = obj.objectAPIName;
1403
+ const path_objectAPIName = path + '.objectAPIName';
1404
+ if (typeof obj_objectAPIName !== 'string') {
1405
+ return new TypeError('Expected "string" but received "' + typeof obj_objectAPIName + '" (at "' + path_objectAPIName + '")');
1406
+ }
1407
+ const obj_objectName = obj.objectName;
1408
+ const path_objectName = path + '.objectName';
1409
+ if (typeof obj_objectName !== 'string') {
1410
+ return new TypeError('Expected "string" but received "' + typeof obj_objectName + '" (at "' + path_objectName + '")');
1411
+ }
1402
1412
  })();
1403
1413
  return v_error === undefined ? null : v_error;
1404
1414
  }
@@ -1415,6 +1425,14 @@ const select$c = function ListViewGroupSharingRepresentationSelect() {
1415
1425
  {
1416
1426
  name: 'label',
1417
1427
  kind: 'Scalar'
1428
+ },
1429
+ {
1430
+ name: 'objectAPIName',
1431
+ kind: 'Scalar'
1432
+ },
1433
+ {
1434
+ name: 'objectName',
1435
+ kind: 'Scalar'
1418
1436
  }
1419
1437
  ]
1420
1438
  };
@@ -1430,6 +1448,16 @@ function equals$9(existing, incoming) {
1430
1448
  if (!(existing_label === incoming_label)) {
1431
1449
  return false;
1432
1450
  }
1451
+ const existing_objectAPIName = existing.objectAPIName;
1452
+ const incoming_objectAPIName = incoming.objectAPIName;
1453
+ if (!(existing_objectAPIName === incoming_objectAPIName)) {
1454
+ return false;
1455
+ }
1456
+ const existing_objectName = existing.objectName;
1457
+ const incoming_objectName = incoming.objectName;
1458
+ if (!(existing_objectName === incoming_objectName)) {
1459
+ return false;
1460
+ }
1433
1461
  return true;
1434
1462
  }
1435
1463
 
@@ -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 = "06eef993be289c8b20b37b2ae6f4c5ee";
2
+ export declare const VERSION = "b8227d5d544c32d4b6c8f7048a6529d9";
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: ListViewGroupSharingRepresentation, existing: ListViewGroupSharingRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ListViewGroupSharingRepresentationNormalized;
@@ -18,6 +18,10 @@ export interface ListViewGroupSharingRepresentationNormalized {
18
18
  developerName: string;
19
19
  /** List view label. */
20
20
  label: string;
21
+ /** Object API Name. */
22
+ objectAPIName: string;
23
+ /** Object Name. */
24
+ objectName: string;
21
25
  }
22
26
  /**
23
27
  * Output representation of an list views shared with public group.
@@ -28,4 +32,6 @@ export interface ListViewGroupSharingRepresentationNormalized {
28
32
  export interface ListViewGroupSharingRepresentation {
29
33
  developerName: string;
30
34
  label: string;
35
+ objectAPIName: string;
36
+ objectName: string;
31
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-sharing",
3
- "version": "1.322.0",
3
+ "version": "1.323.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.322.0"
43
+ "@salesforce/lds-bindings": "^1.323.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.322.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.323.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -1705,7 +1705,7 @@ function equals$8(existing, incoming) {
1705
1705
  return true;
1706
1706
  }
1707
1707
 
1708
- const VERSION$7 = "06eef993be289c8b20b37b2ae6f4c5ee";
1708
+ const VERSION$7 = "b8227d5d544c32d4b6c8f7048a6529d9";
1709
1709
  function validate$7(obj, path = 'ListViewGroupSharingRepresentation') {
1710
1710
  const v_error = (() => {
1711
1711
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -1721,6 +1721,16 @@ function validate$7(obj, path = 'ListViewGroupSharingRepresentation') {
1721
1721
  if (typeof obj_label !== 'string') {
1722
1722
  return new TypeError('Expected "string" but received "' + typeof obj_label + '" (at "' + path_label + '")');
1723
1723
  }
1724
+ const obj_objectAPIName = obj.objectAPIName;
1725
+ const path_objectAPIName = path + '.objectAPIName';
1726
+ if (typeof obj_objectAPIName !== 'string') {
1727
+ return new TypeError('Expected "string" but received "' + typeof obj_objectAPIName + '" (at "' + path_objectAPIName + '")');
1728
+ }
1729
+ const obj_objectName = obj.objectName;
1730
+ const path_objectName = path + '.objectName';
1731
+ if (typeof obj_objectName !== 'string') {
1732
+ return new TypeError('Expected "string" but received "' + typeof obj_objectName + '" (at "' + path_objectName + '")');
1733
+ }
1724
1734
  })();
1725
1735
  return v_error === undefined ? null : v_error;
1726
1736
  }
@@ -1737,6 +1747,14 @@ const select$9 = function ListViewGroupSharingRepresentationSelect() {
1737
1747
  {
1738
1748
  name: 'label',
1739
1749
  kind: 'Scalar'
1750
+ },
1751
+ {
1752
+ name: 'objectAPIName',
1753
+ kind: 'Scalar'
1754
+ },
1755
+ {
1756
+ name: 'objectName',
1757
+ kind: 'Scalar'
1740
1758
  }
1741
1759
  ]
1742
1760
  };
@@ -1752,6 +1770,16 @@ function equals$7(existing, incoming) {
1752
1770
  if (!(existing_label === incoming_label)) {
1753
1771
  return false;
1754
1772
  }
1773
+ const existing_objectAPIName = existing.objectAPIName;
1774
+ const incoming_objectAPIName = incoming.objectAPIName;
1775
+ if (!(existing_objectAPIName === incoming_objectAPIName)) {
1776
+ return false;
1777
+ }
1778
+ const existing_objectName = existing.objectName;
1779
+ const incoming_objectName = incoming.objectName;
1780
+ if (!(existing_objectName === incoming_objectName)) {
1781
+ return false;
1782
+ }
1755
1783
  return true;
1756
1784
  }
1757
1785
 
@@ -2993,4 +3021,4 @@ withDefaultLuvio((luvio) => {
2993
3021
  });
2994
3022
 
2995
3023
  export { getAllSobjects, getAllSobjects_imperative, getGroupsForUser, getGroupsForUser_imperative, getPublicGroupMembershipDetails, getPublicGroupMembershipDetails_imperative, getPublicGroupShareData, getPublicGroupShareData_imperative, getUserPermissions, getUserPermissions_imperative };
2996
- // version: 1.322.0-87f682c9f3
3024
+ // version: 1.323.0-34d96539ec
package/src/raml/api.raml CHANGED
@@ -117,6 +117,12 @@ types:
117
117
  label:
118
118
  description: List view label.
119
119
  type: string
120
+ objectAPIName:
121
+ description: Object API Name.
122
+ type: string
123
+ objectName:
124
+ description: Object Name.
125
+ type: string
120
126
  PublicGroupMembersInPublicGroupRepresentation:
121
127
  description: Public Group Members in Public Group Representation
122
128
  type: object