@apolitical/component-library 8.3.3 → 8.3.5-ac.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.
@@ -9,6 +9,7 @@ export interface IUserDetailsLocation {
9
9
  en?: string;
10
10
  }
11
11
  export interface IUserDetails {
12
+ email?: string;
12
13
  id?: string;
13
14
  name?: string;
14
15
  image?: IUserDetailsImage;
@@ -17,6 +18,14 @@ export interface IUserDetails {
17
18
  location?: IUserDetailsLocation;
18
19
  biography?: string;
19
20
  locale?: string;
21
+ externalsMetadata?: {
22
+ suprsend?: {
23
+ subscriberId: string;
24
+ };
25
+ novu?: {
26
+ subscriberId: string;
27
+ };
28
+ };
20
29
  }
21
30
  export interface IUserContext extends IUserDetails {
22
31
  isLoading: boolean;
@@ -35,7 +35,7 @@ export interface IDiscussionPostProps {
35
35
  forceHide?: IForceHide;
36
36
  /** The functions that are passed in to handle the functionality */
37
37
  functions: {
38
- content: {
38
+ content?: {
39
39
  /** Create a new post */
40
40
  createContent: DiscussionCreateContentFunction;
41
41
  /** Delete the post */
@@ -43,7 +43,7 @@ export interface IDiscussionPostProps {
43
43
  /** Update the post */
44
44
  updateContent: (args1?: object, args2?: object) => void;
45
45
  };
46
- likes: {
46
+ likes?: {
47
47
  /** Create a new like on the post */
48
48
  createLike: DiscussionCreateLikeFunction;
49
49
  /** Delete a like on the post */
@@ -52,11 +52,11 @@ export interface IDiscussionPostProps {
52
52
  listLikes: DiscussionListLikesFunction;
53
53
  };
54
54
  polls?: IPollFunctions;
55
- comments: {
55
+ comments?: {
56
56
  /** Open comments on a post */
57
57
  openComments?: () => void;
58
58
  };
59
- form: IDiscussionFormFns;
59
+ form?: IDiscussionFormFns;
60
60
  pins?: {
61
61
  /** Pin the post */
62
62
  createPin?: () => void;