@salesforce/lds-adapters-platform-sharing 0.1.0-dev1

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.
Files changed (70) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/platform-sharing.js +3363 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/addRemoveUserToGroups.d.ts +30 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getAllSobjects.d.ts +29 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getGroupsForUser.d.ts +34 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getPublicGroupMembershipDetails.d.ts +34 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getPublicGroupShareData.d.ts +33 -0
  9. package/dist/es/es2018/types/src/generated/adapters/getUserPermissions.d.ts +27 -0
  10. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +6 -0
  11. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +13 -0
  12. package/dist/es/es2018/types/src/generated/resources/getSharingGroupsForUserByGroupTypeAndUserId.d.ts +24 -0
  13. package/dist/es/es2018/types/src/generated/resources/getSharingRecordAccessDetailByRecordIdAndUserId.d.ts +20 -0
  14. package/dist/es/es2018/types/src/generated/resources/getSharingRulesByEntityApiName.d.ts +18 -0
  15. package/dist/es/es2018/types/src/generated/resources/getSharingShareAccessLevels.d.ts +12 -0
  16. package/dist/es/es2018/types/src/generated/resources/getSharingShareAccessLevelsByObjectApiName.d.ts +15 -0
  17. package/dist/es/es2018/types/src/generated/resources/getSharingSobjects.d.ts +17 -0
  18. package/dist/es/es2018/types/src/generated/resources/getSharingUserAccessLevelsByRecordId.d.ts +19 -0
  19. package/dist/es/es2018/types/src/generated/resources/getSharingUserOrGroupTypes.d.ts +12 -0
  20. package/dist/es/es2018/types/src/generated/resources/getSharingUserPermissions.d.ts +15 -0
  21. package/dist/es/es2018/types/src/generated/resources/getSharingUsersOrGroups.d.ts +19 -0
  22. package/dist/es/es2018/types/src/generated/resources/postSharingAddRemoveUserToGroups.d.ts +18 -0
  23. package/dist/es/es2018/types/src/generated/resources/postSharingPublicGroupsDetails.d.ts +22 -0
  24. package/dist/es/es2018/types/src/generated/resources/postSharingPublicGroupsSummary.d.ts +21 -0
  25. package/dist/es/es2018/types/src/generated/types/AccessLevelFieldRepresentation.d.ts +37 -0
  26. package/dist/es/es2018/types/src/generated/types/AccessLevelRepresentation.d.ts +34 -0
  27. package/dist/es/es2018/types/src/generated/types/FilterCriteriaInputRepresentation.d.ts +34 -0
  28. package/dist/es/es2018/types/src/generated/types/GroupCollectionRepresentation.d.ts +34 -0
  29. package/dist/es/es2018/types/src/generated/types/IncludedGroupsSharingRepresentation.d.ts +40 -0
  30. package/dist/es/es2018/types/src/generated/types/ListViewGroupSharingRepresentation.d.ts +37 -0
  31. package/dist/es/es2018/types/src/generated/types/PublicGroupMembersInPublicGroupRepresentation.d.ts +46 -0
  32. package/dist/es/es2018/types/src/generated/types/PublicGroupMembershipDetailsInputRepresentation.d.ts +49 -0
  33. package/dist/es/es2018/types/src/generated/types/PublicGroupMembershipDetailsRepresentation.d.ts +53 -0
  34. package/dist/es/es2018/types/src/generated/types/PublicGroupRepresentation.d.ts +49 -0
  35. package/dist/es/es2018/types/src/generated/types/PublicGroupSummaryInputRepresentation.d.ts +46 -0
  36. package/dist/es/es2018/types/src/generated/types/PublicGroupSummaryRepresentation.d.ts +50 -0
  37. package/dist/es/es2018/types/src/generated/types/QueueRepresentation.d.ts +52 -0
  38. package/dist/es/es2018/types/src/generated/types/QueuesSharingRepresentation.d.ts +37 -0
  39. package/dist/es/es2018/types/src/generated/types/RecordAccessDetailRepresentation.d.ts +35 -0
  40. package/dist/es/es2018/types/src/generated/types/RecordUserAccessCollectionRepresentation.d.ts +41 -0
  41. package/dist/es/es2018/types/src/generated/types/RecordUserAccessRepresentation.d.ts +32 -0
  42. package/dist/es/es2018/types/src/generated/types/ReportAndDashboardFolderGroupSharingRepresentation.d.ts +43 -0
  43. package/dist/es/es2018/types/src/generated/types/RolesInGroupRepresentation.d.ts +46 -0
  44. package/dist/es/es2018/types/src/generated/types/ShareAccessLevelRepresentation.d.ts +40 -0
  45. package/dist/es/es2018/types/src/generated/types/ShareRelationshipArrayRepresentation.d.ts +29 -0
  46. package/dist/es/es2018/types/src/generated/types/ShareRelationshipCollectionRepresentation.d.ts +29 -0
  47. package/dist/es/es2018/types/src/generated/types/ShareRelationshipRepresentation.d.ts +34 -0
  48. package/dist/es/es2018/types/src/generated/types/SharingReasonRepresentation.d.ts +41 -0
  49. package/dist/es/es2018/types/src/generated/types/SharingRuleCollectionRepresentation.d.ts +29 -0
  50. package/dist/es/es2018/types/src/generated/types/SharingRuleRepresentation.d.ts +57 -0
  51. package/dist/es/es2018/types/src/generated/types/SharingRulesCriteriaGroupSharingRepresentation.d.ts +43 -0
  52. package/dist/es/es2018/types/src/generated/types/SharingRulesOwnerGroupSharingRepresentation.d.ts +43 -0
  53. package/dist/es/es2018/types/src/generated/types/SobjectOutputSharingRepresentation.d.ts +37 -0
  54. package/dist/es/es2018/types/src/generated/types/SobjectsOutputSharingRepresentation.d.ts +33 -0
  55. package/dist/es/es2018/types/src/generated/types/SupportedObjectListRepresentation.d.ts +28 -0
  56. package/dist/es/es2018/types/src/generated/types/UserGroupMembershipDetailsInputRepresentation.d.ts +37 -0
  57. package/dist/es/es2018/types/src/generated/types/UserGroupMembershipDetailsRepresentation.d.ts +38 -0
  58. package/dist/es/es2018/types/src/generated/types/UserMembersInPublicGroupRepresentation.d.ts +49 -0
  59. package/dist/es/es2018/types/src/generated/types/UserOrGroupRepresentation.d.ts +31 -0
  60. package/dist/es/es2018/types/src/generated/types/UserOrGroupTypeRepresentation.d.ts +34 -0
  61. package/dist/es/es2018/types/src/generated/types/UserOrGroupTypesCollectionRepresentation.d.ts +29 -0
  62. package/dist/es/es2018/types/src/generated/types/UserPermissionInfoRepresentation.d.ts +55 -0
  63. package/dist/es/es2018/types/src/generated/types/UserPermissionsInfoListRepresentation.d.ts +33 -0
  64. package/dist/es/es2018/types/src/generated/types/UsersOrGroupsCollectionRepresentation.d.ts +29 -0
  65. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  66. package/package.json +66 -0
  67. package/sfdc/index.d.ts +1 -0
  68. package/sfdc/index.js +3449 -0
  69. package/src/raml/api.raml +1130 -0
  70. package/src/raml/luvio.raml +94 -0
@@ -0,0 +1,28 @@
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 = "9d15a545b21485a554f83f54dc17a0a4";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SupportedObjectListRepresentation, existing: SupportedObjectListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SupportedObjectListRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SupportedObjectListRepresentationNormalized, incoming: SupportedObjectListRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SupportedObjectListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Representation of a list of supported objects
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SupportedObjectListRepresentationNormalized {
17
+ /** The list of objects supported by the share-access-levels API. */
18
+ supportedObjectList: Array<string>;
19
+ }
20
+ /**
21
+ * Representation of a list of supported objects
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface SupportedObjectListRepresentation {
27
+ supportedObjectList: Array<string>;
28
+ }
@@ -0,0 +1,37 @@
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 = "d69ffdb88e1fbf71ae1261dea3cf89e6";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: UserGroupMembershipDetailsInputRepresentation, existing: UserGroupMembershipDetailsInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UserGroupMembershipDetailsInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: UserGroupMembershipDetailsInputRepresentationNormalized, incoming: UserGroupMembershipDetailsInputRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UserGroupMembershipDetailsInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Input representation for Adding Removing Membership from Group resource
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface UserGroupMembershipDetailsInputRepresentationNormalized {
17
+ /** This property specifies the type of group resource on which the operation should be performed. */
18
+ memberType: string;
19
+ /** This denotes either the AddMembers or DeleteMembers operation. Depending on the operation type, the user will be added to or removed from the specified set of groups. */
20
+ operation: string;
21
+ /** List of group record ids. */
22
+ selectedGroups: Array<string>;
23
+ /** A user ID on which operations to add or remove from groups and queues will be executed. */
24
+ userId: string;
25
+ }
26
+ /**
27
+ * Input representation for Adding Removing Membership from Group resource
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface UserGroupMembershipDetailsInputRepresentation {
33
+ memberType: string;
34
+ operation: string;
35
+ selectedGroups: Array<string>;
36
+ userId: string;
37
+ }
@@ -0,0 +1,38 @@
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 TTL = 300;
3
+ export declare const VERSION = "9934cf4cb3fdd0b955c08c2d695a9a53";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: UserGroupMembershipDetailsRepresentation, existing: UserGroupMembershipDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UserGroupMembershipDetailsRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: UserGroupMembershipDetailsRepresentationNormalized, incoming: UserGroupMembershipDetailsRepresentationNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UserGroupMembershipDetailsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Output format for all types of data generated by this API.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface UserGroupMembershipDetailsRepresentationNormalized {
18
+ /** API execution error, if encountered during processing. */
19
+ errors: Array<string>;
20
+ /** Api execution information. */
21
+ infos: Array<string>;
22
+ /** API Status. */
23
+ isSuccess: boolean;
24
+ /** Api Operation. Supported operations are AddMembers, DeleteMembers. */
25
+ operation: string;
26
+ }
27
+ /**
28
+ * Output format for all types of data generated by this API.
29
+ *
30
+ * Keys:
31
+ * (none)
32
+ */
33
+ export interface UserGroupMembershipDetailsRepresentation {
34
+ errors: Array<string>;
35
+ infos: Array<string>;
36
+ isSuccess: boolean;
37
+ operation: string;
38
+ }
@@ -0,0 +1,49 @@
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 = "81212e87b01ada2a285c551aadcec218";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: UserMembersInPublicGroupRepresentation, existing: UserMembersInPublicGroupRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UserMembersInPublicGroupRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: UserMembersInPublicGroupRepresentationNormalized, incoming: UserMembersInPublicGroupRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UserMembersInPublicGroupRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * User Members in Public Group Representation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface UserMembersInPublicGroupRepresentationNormalized {
17
+ /** Group Member alias */
18
+ alias: string;
19
+ /** Group Member dataId */
20
+ dataId: string;
21
+ /** Group Member Status */
22
+ status: boolean;
23
+ /** Group Member userFullName */
24
+ userFullName: string;
25
+ /** Group Member Full username */
26
+ userName: string;
27
+ /** Group Member userProfile */
28
+ userProfile: string;
29
+ /** Group Member userRoleName */
30
+ userRoleName: string;
31
+ /** User Member userType */
32
+ userType: string;
33
+ }
34
+ /**
35
+ * User Members in Public Group Representation
36
+ *
37
+ * Keys:
38
+ * (none)
39
+ */
40
+ export interface UserMembersInPublicGroupRepresentation {
41
+ alias: string;
42
+ dataId: string;
43
+ status: boolean;
44
+ userFullName: string;
45
+ userName: string;
46
+ userProfile: string;
47
+ userRoleName: string;
48
+ userType: string;
49
+ }
@@ -0,0 +1,31 @@
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 = "633d578339f4557687a261d77c1b3ab5";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: UserOrGroupRepresentation, existing: UserOrGroupRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UserOrGroupRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: UserOrGroupRepresentationNormalized, incoming: UserOrGroupRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UserOrGroupRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Representation of user or group with whom an object can be shared.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface UserOrGroupRepresentationNormalized {
17
+ /** Id of a user or group. */
18
+ id: string;
19
+ /** Name of a user or group. */
20
+ name: string;
21
+ }
22
+ /**
23
+ * Representation of user or group with whom an object can be shared.
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface UserOrGroupRepresentation {
29
+ id: string;
30
+ name: string;
31
+ }
@@ -0,0 +1,34 @@
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 = "c320954400f5f0b72c01ec9bfcbc1a09";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: UserOrGroupTypeRepresentation, existing: UserOrGroupTypeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UserOrGroupTypeRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: UserOrGroupTypeRepresentationNormalized, incoming: UserOrGroupTypeRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UserOrGroupTypeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Representation of an instance of a folder share recipient.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface UserOrGroupTypeRepresentationNormalized {
17
+ /** The label of the user or group type. */
18
+ label: string;
19
+ /** The sharing model of user or group type */
20
+ sharingModelType: string;
21
+ /** The user or group type. */
22
+ userOrGroupType: string;
23
+ }
24
+ /**
25
+ * Representation of an instance of a folder share recipient.
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface UserOrGroupTypeRepresentation {
31
+ label: string;
32
+ sharingModelType: string;
33
+ userOrGroupType: string;
34
+ }
@@ -0,0 +1,29 @@
1
+ import { UserOrGroupTypeRepresentation as UserOrGroupTypeRepresentation_UserOrGroupTypeRepresentation } from './UserOrGroupTypeRepresentation';
2
+ 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';
3
+ export declare const VERSION = "2e9eff5b9277dddb589db831dc38d731";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: UserOrGroupTypesCollectionRepresentation, existing: UserOrGroupTypesCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UserOrGroupTypesCollectionRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: UserOrGroupTypesCollectionRepresentationNormalized, incoming: UserOrGroupTypesCollectionRepresentationNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UserOrGroupTypesCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Representation of a collection of user or group types.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface UserOrGroupTypesCollectionRepresentationNormalized {
18
+ /** The list of user or group types. */
19
+ userOrGroupTypes: Array<UserOrGroupTypeRepresentation_UserOrGroupTypeRepresentation>;
20
+ }
21
+ /**
22
+ * Representation of a collection of user or group types.
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface UserOrGroupTypesCollectionRepresentation {
28
+ userOrGroupTypes: Array<UserOrGroupTypeRepresentation_UserOrGroupTypeRepresentation>;
29
+ }
@@ -0,0 +1,55 @@
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 = "8f69c6b84d8d2d88af30e45bfe796380";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: UserPermissionInfoRepresentation, existing: UserPermissionInfoRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UserPermissionInfoRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: UserPermissionInfoRepresentationNormalized, incoming: UserPermissionInfoRepresentationNormalized): boolean;
8
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
9
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UserPermissionInfoRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Output representation of a User Permission for the Access Summaries UI
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface UserPermissionInfoRepresentationNormalized {
17
+ /** The user permission's parentApiName */
18
+ parentApiName: string;
19
+ /** The user permission's parentDescription */
20
+ parentDescription: string;
21
+ /** The user permission's parentHasActivationRequired */
22
+ parentHasActivationRequired: boolean;
23
+ /** The user permission's parentId */
24
+ parentId: string;
25
+ /** The user permission's parentIsCustom */
26
+ parentIsCustom: boolean;
27
+ /** The user permission's parentLabel */
28
+ parentLabel: string;
29
+ /** The user permission's parentProfileLicense */
30
+ parentProfileLicense: string;
31
+ /** The user permission's apiName */
32
+ userPermApiName: string;
33
+ /** The user permission's description */
34
+ userPermDescription: string;
35
+ /** The user permission's label */
36
+ userPermLabel: string;
37
+ }
38
+ /**
39
+ * Output representation of a User Permission for the Access Summaries UI
40
+ *
41
+ * Keys:
42
+ * (none)
43
+ */
44
+ export interface UserPermissionInfoRepresentation {
45
+ parentApiName: string;
46
+ parentDescription: string;
47
+ parentHasActivationRequired: boolean;
48
+ parentId: string;
49
+ parentIsCustom: boolean;
50
+ parentLabel: string;
51
+ parentProfileLicense: string;
52
+ userPermApiName: string;
53
+ userPermDescription: string;
54
+ userPermLabel: string;
55
+ }
@@ -0,0 +1,33 @@
1
+ import { UserPermissionInfoRepresentation as UserPermissionInfoRepresentation_UserPermissionInfoRepresentation } from './UserPermissionInfoRepresentation';
2
+ 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';
3
+ export declare const TTL = 300;
4
+ export declare const VERSION = "627ab68dfb8c0174c1e9dc9f2701c1b2";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: UserPermissionsInfoListRepresentation, existing: UserPermissionsInfoListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UserPermissionsInfoListRepresentationNormalized;
8
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare function equals(existing: UserPermissionsInfoListRepresentationNormalized, incoming: UserPermissionsInfoListRepresentationNormalized): boolean;
10
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
11
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UserPermissionsInfoListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * Output representation of User Permissions to be shared on Access Summaries UI
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface UserPermissionsInfoListRepresentationNormalized {
19
+ /** Number of User Permissions */
20
+ size: number;
21
+ /** List of User Permissions */
22
+ userPermissions: Array<UserPermissionInfoRepresentation_UserPermissionInfoRepresentation>;
23
+ }
24
+ /**
25
+ * Output representation of User Permissions to be shared on Access Summaries UI
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface UserPermissionsInfoListRepresentation {
31
+ size: number;
32
+ userPermissions: Array<UserPermissionInfoRepresentation_UserPermissionInfoRepresentation>;
33
+ }
@@ -0,0 +1,29 @@
1
+ import { UserOrGroupRepresentation as UserOrGroupRepresentation_UserOrGroupRepresentation } from './UserOrGroupRepresentation';
2
+ 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';
3
+ export declare const VERSION = "7f863b87a0c295fc271d3eeb0a2f9565";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: UsersOrGroupsCollectionRepresentation, existing: UsersOrGroupsCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UsersOrGroupsCollectionRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: UsersOrGroupsCollectionRepresentationNormalized, incoming: UsersOrGroupsCollectionRepresentationNormalized): boolean;
9
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UsersOrGroupsCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Representation of a collection of users and/or groups.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface UsersOrGroupsCollectionRepresentationNormalized {
18
+ /** The list of users and/or groups. */
19
+ usersOrGroups: Array<UserOrGroupRepresentation_UserOrGroupRepresentation>;
20
+ }
21
+ /**
22
+ * Representation of a collection of users and/or groups.
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface UsersOrGroupsCollectionRepresentation {
28
+ usersOrGroups: Array<UserOrGroupRepresentation_UserOrGroupRepresentation>;
29
+ }
@@ -0,0 +1,32 @@
1
+ import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const ObjectKeys: {
3
+ (o: object): string[];
4
+ (o: {}): string[];
5
+ }, ObjectCreate: {
6
+ (o: object | null): any;
7
+ (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
8
+ }, ObjectAssign: {
9
+ <T extends {}, U>(target: T, source: U): T & U;
10
+ <T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
11
+ <T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
12
+ (target: object, ...sources: any[]): any;
13
+ };
14
+ export declare const ArrayIsArray: (arg: any) => arg is any[];
15
+ export declare const JSONStringify: {
16
+ (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
17
+ (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
18
+ };
19
+ type AllowedPrimitives = boolean | string | number | Date | null;
20
+ type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
21
+ export type RecursivePartial<T> = null | {
22
+ [P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
23
+ };
24
+ export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
25
+ export declare function equalsObject<U, V extends {
26
+ [key: string]: U;
27
+ }>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
28
+ export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
29
+ __ref: string;
30
+ };
31
+ export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
32
+ export {};
package/package.json ADDED
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "@salesforce/lds-adapters-platform-sharing",
3
+ "version": "0.1.0-dev1",
4
+ "description": "Sharing",
5
+ "license": "SEE LICENSE IN LICENSE.txt",
6
+ "main": "dist/es/es2018/platform-sharing.js",
7
+ "module": "dist/es/es2018/platform-sharing.js",
8
+ "types": "dist/es/es2018/types/src/generated/artifacts/main.d.ts",
9
+ "files": [
10
+ "dist",
11
+ "sfdc",
12
+ "src/raml/*"
13
+ ],
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/es/es2018/types/src/generated/artifacts/main.d.ts",
17
+ "import": "./dist/es/es2018/platform-sharing.js",
18
+ "require": "./dist/es/es2018/platform-sharing.js"
19
+ },
20
+ "./sfdc": {
21
+ "types": "./sfdc/index.d.ts",
22
+ "import": "./sfdc/index.js",
23
+ "default": "./sfdc/index.js"
24
+ }
25
+ },
26
+ "sfdc": {
27
+ "namespace": "lightning",
28
+ "module": "platformSharingApi"
29
+ },
30
+ "contributors": [
31
+ "tanuja.gupta@salesforce.com"
32
+ ],
33
+ "scripts": {
34
+ "build": "yarn build:services",
35
+ "build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
36
+ "build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
37
+ "clean": "rm -rf dist sfdc src/generated",
38
+ "release:core": "../../scripts/release/core.js --adapter=lds-adapters-platform-sharing",
39
+ "release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-platform-sharing",
40
+ "test:unit": "jest"
41
+ },
42
+ "dependencies": {
43
+ "@salesforce/lds-bindings": "^0.1.0-dev1"
44
+ },
45
+ "devDependencies": {
46
+ "@salesforce/lds-compiler-plugins": "^0.1.0-dev1"
47
+ },
48
+ "nx": {
49
+ "targets": {
50
+ "build": {
51
+ "outputs": [
52
+ "{projectRoot}/dist",
53
+ "{projectRoot}/sfdc"
54
+ ]
55
+ },
56
+ "build:raml": {
57
+ "outputs": [
58
+ "{projectRoot}/src/generated"
59
+ ]
60
+ }
61
+ }
62
+ },
63
+ "volta": {
64
+ "extends": "../../package.json"
65
+ }
66
+ }
@@ -0,0 +1 @@
1
+ export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';