@salesforce/lds-adapters-platform-sharing 1.284.0 → 1.286.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.
@@ -91,7 +91,7 @@ function createLink(ref) {
91
91
  };
92
92
  }
93
93
 
94
- const VERSION$c = "252bb771341222662b0b76c855414e1f";
94
+ const VERSION$c = "7d75e40a9fde9f60ae02b6dde36257ce";
95
95
  function validate$c(obj, path = 'PublicGroupRepresentation') {
96
96
  const v_error = (() => {
97
97
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -102,6 +102,11 @@ function validate$c(obj, path = 'PublicGroupRepresentation') {
102
102
  if (typeof obj_developerName !== 'string') {
103
103
  return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
104
104
  }
105
+ const obj_groupId = obj.groupId;
106
+ const path_groupId = path + '.groupId';
107
+ if (typeof obj_groupId !== 'string') {
108
+ return new TypeError('Expected "string" but received "' + typeof obj_groupId + '" (at "' + path_groupId + '")');
109
+ }
105
110
  const obj_includeBosses = obj.includeBosses;
106
111
  const path_includeBosses = path + '.includeBosses';
107
112
  if (typeof obj_includeBosses !== 'boolean') {
@@ -125,6 +130,10 @@ const select$g = function PublicGroupRepresentationSelect() {
125
130
  name: 'developerName',
126
131
  kind: 'Scalar'
127
132
  },
133
+ {
134
+ name: 'groupId',
135
+ kind: 'Scalar'
136
+ },
128
137
  {
129
138
  name: 'includeBosses',
130
139
  kind: 'Scalar'
@@ -147,6 +156,11 @@ function equals$c(existing, incoming) {
147
156
  if (!(existing_developerName === incoming_developerName)) {
148
157
  return false;
149
158
  }
159
+ const existing_groupId = existing.groupId;
160
+ const incoming_groupId = incoming.groupId;
161
+ if (!(existing_groupId === incoming_groupId)) {
162
+ return false;
163
+ }
150
164
  const existing_name = existing.name;
151
165
  const incoming_name = incoming.name;
152
166
  if (!(existing_name === incoming_name)) {
@@ -155,7 +169,7 @@ function equals$c(existing, incoming) {
155
169
  return true;
156
170
  }
157
171
 
158
- const VERSION$b = "9371d1d2e640f37aa01c377fc78d6ef7";
172
+ const VERSION$b = "89ae3fce0ad09282e80bd77a9c483003";
159
173
  function validate$b(obj, path = 'QueueRepresentation') {
160
174
  const v_error = (() => {
161
175
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -171,6 +185,11 @@ function validate$b(obj, path = 'QueueRepresentation') {
171
185
  if (typeof obj_name !== 'string') {
172
186
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
173
187
  }
188
+ const obj_queueId = obj.queueId;
189
+ const path_queueId = path + '.queueId';
190
+ if (typeof obj_queueId !== 'string') {
191
+ return new TypeError('Expected "string" but received "' + typeof obj_queueId + '" (at "' + path_queueId + '")');
192
+ }
174
193
  })();
175
194
  return v_error === undefined ? null : v_error;
176
195
  }
@@ -187,6 +206,10 @@ const select$f = function QueueRepresentationSelect() {
187
206
  {
188
207
  name: 'name',
189
208
  kind: 'Scalar'
209
+ },
210
+ {
211
+ name: 'queueId',
212
+ kind: 'Scalar'
190
213
  }
191
214
  ]
192
215
  };
@@ -202,6 +225,11 @@ function equals$b(existing, incoming) {
202
225
  if (!(existing_name === incoming_name)) {
203
226
  return false;
204
227
  }
228
+ const existing_queueId = existing.queueId;
229
+ const incoming_queueId = incoming.queueId;
230
+ if (!(existing_queueId === incoming_queueId)) {
231
+ return false;
232
+ }
205
233
  return true;
206
234
  }
207
235
 
@@ -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 = "252bb771341222662b0b76c855414e1f";
2
+ export declare const VERSION = "7d75e40a9fde9f60ae02b6dde36257ce";
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: PublicGroupRepresentation, existing: PublicGroupRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PublicGroupRepresentationNormalized;
@@ -16,6 +16,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  export interface PublicGroupRepresentationNormalized {
17
17
  /** The API name of the Public Group. */
18
18
  developerName: string;
19
+ /** The Id of the Public Group. */
20
+ groupId: string;
19
21
  /** The Grant Access Using Hierarchy status of the Public Group. */
20
22
  includeBosses: boolean;
21
23
  /** The name of the Public Group. */
@@ -29,6 +31,7 @@ export interface PublicGroupRepresentationNormalized {
29
31
  */
30
32
  export interface PublicGroupRepresentation {
31
33
  developerName: string;
34
+ groupId: string;
32
35
  includeBosses: boolean;
33
36
  name: string;
34
37
  }
@@ -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 = "9371d1d2e640f37aa01c377fc78d6ef7";
2
+ export declare const VERSION = "89ae3fce0ad09282e80bd77a9c483003";
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: QueueRepresentation, existing: QueueRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): QueueRepresentationNormalized;
@@ -18,6 +18,8 @@ export interface QueueRepresentationNormalized {
18
18
  developerName: string;
19
19
  /** The name of the Queue. */
20
20
  name: string;
21
+ /** The Id of the queue. */
22
+ queueId: string;
21
23
  }
22
24
  /**
23
25
  * Output representation of an instance of a Queue for a given user.
@@ -28,4 +30,5 @@ export interface QueueRepresentationNormalized {
28
30
  export interface QueueRepresentation {
29
31
  developerName: string;
30
32
  name: string;
33
+ queueId: string;
31
34
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-platform-sharing",
3
- "version": "1.284.0",
3
+ "version": "1.286.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.284.0"
43
+ "@salesforce/lds-bindings": "^1.286.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.284.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.286.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -413,7 +413,7 @@ const getAllSobjectsAdapterFactory = (luvio) => function sharing__getAllSobjects
413
413
  buildCachedSnapshotCachePolicy$3, buildNetworkSnapshotCachePolicy$3);
414
414
  };
415
415
 
416
- const VERSION$a = "252bb771341222662b0b76c855414e1f";
416
+ const VERSION$a = "7d75e40a9fde9f60ae02b6dde36257ce";
417
417
  function validate$a(obj, path = 'PublicGroupRepresentation') {
418
418
  const v_error = (() => {
419
419
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -424,6 +424,11 @@ function validate$a(obj, path = 'PublicGroupRepresentation') {
424
424
  if (typeof obj_developerName !== 'string') {
425
425
  return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
426
426
  }
427
+ const obj_groupId = obj.groupId;
428
+ const path_groupId = path + '.groupId';
429
+ if (typeof obj_groupId !== 'string') {
430
+ return new TypeError('Expected "string" but received "' + typeof obj_groupId + '" (at "' + path_groupId + '")');
431
+ }
427
432
  const obj_includeBosses = obj.includeBosses;
428
433
  const path_includeBosses = path + '.includeBosses';
429
434
  if (typeof obj_includeBosses !== 'boolean') {
@@ -447,6 +452,10 @@ const select$d = function PublicGroupRepresentationSelect() {
447
452
  name: 'developerName',
448
453
  kind: 'Scalar'
449
454
  },
455
+ {
456
+ name: 'groupId',
457
+ kind: 'Scalar'
458
+ },
450
459
  {
451
460
  name: 'includeBosses',
452
461
  kind: 'Scalar'
@@ -469,6 +478,11 @@ function equals$a(existing, incoming) {
469
478
  if (!(existing_developerName === incoming_developerName)) {
470
479
  return false;
471
480
  }
481
+ const existing_groupId = existing.groupId;
482
+ const incoming_groupId = incoming.groupId;
483
+ if (!(existing_groupId === incoming_groupId)) {
484
+ return false;
485
+ }
472
486
  const existing_name = existing.name;
473
487
  const incoming_name = incoming.name;
474
488
  if (!(existing_name === incoming_name)) {
@@ -477,7 +491,7 @@ function equals$a(existing, incoming) {
477
491
  return true;
478
492
  }
479
493
 
480
- const VERSION$9 = "9371d1d2e640f37aa01c377fc78d6ef7";
494
+ const VERSION$9 = "89ae3fce0ad09282e80bd77a9c483003";
481
495
  function validate$9(obj, path = 'QueueRepresentation') {
482
496
  const v_error = (() => {
483
497
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -493,6 +507,11 @@ function validate$9(obj, path = 'QueueRepresentation') {
493
507
  if (typeof obj_name !== 'string') {
494
508
  return new TypeError('Expected "string" but received "' + typeof obj_name + '" (at "' + path_name + '")');
495
509
  }
510
+ const obj_queueId = obj.queueId;
511
+ const path_queueId = path + '.queueId';
512
+ if (typeof obj_queueId !== 'string') {
513
+ return new TypeError('Expected "string" but received "' + typeof obj_queueId + '" (at "' + path_queueId + '")');
514
+ }
496
515
  })();
497
516
  return v_error === undefined ? null : v_error;
498
517
  }
@@ -509,6 +528,10 @@ const select$c = function QueueRepresentationSelect() {
509
528
  {
510
529
  name: 'name',
511
530
  kind: 'Scalar'
531
+ },
532
+ {
533
+ name: 'queueId',
534
+ kind: 'Scalar'
512
535
  }
513
536
  ]
514
537
  };
@@ -524,6 +547,11 @@ function equals$9(existing, incoming) {
524
547
  if (!(existing_name === incoming_name)) {
525
548
  return false;
526
549
  }
550
+ const existing_queueId = existing.queueId;
551
+ const incoming_queueId = incoming.queueId;
552
+ if (!(existing_queueId === incoming_queueId)) {
553
+ return false;
554
+ }
527
555
  return true;
528
556
  }
529
557
 
@@ -1891,4 +1919,4 @@ withDefaultLuvio((luvio) => {
1891
1919
  });
1892
1920
 
1893
1921
  export { getAllSobjects, getAllSobjects_imperative, getGroupsForUser, getGroupsForUser_imperative, getPublicGroupShareData, getPublicGroupShareData_imperative, getUserPermissions, getUserPermissions_imperative };
1894
- // version: 1.284.0-8b78b708e
1922
+ // version: 1.286.0-27bef7c46
package/src/raml/api.raml CHANGED
@@ -111,6 +111,9 @@ types:
111
111
  developerName:
112
112
  description: The API name of the Public Group.
113
113
  type: string
114
+ groupId:
115
+ description: The Id of the Public Group.
116
+ type: string
114
117
  includeBosses:
115
118
  description: The Grant Access Using Hierarchy status of the Public Group.
116
119
  type: boolean
@@ -182,6 +185,9 @@ types:
182
185
  name:
183
186
  description: The name of the Queue.
184
187
  type: string
188
+ queueId:
189
+ description: The Id of the queue.
190
+ type: string
185
191
  RecordAccessDetailRepresentation:
186
192
  description: Representation of a record access detail.
187
193
  type: object