@quesmed/types-rn 2.1.11 → 2.1.14

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.
@@ -24,8 +24,8 @@ export interface INotification {
24
24
  updatedAt: number | Date;
25
25
  userId: Id | null;
26
26
  user?: IUser;
27
- parentId: Id | null;
28
- parentUser?: IUser;
27
+ fromUserId: Id | null;
28
+ fromUser?: IUser;
29
29
  commentId: Id | null;
30
30
  comment?: IQuestionComment;
31
31
  conceptId: Id | null;
@@ -33,7 +33,6 @@ export interface INotification {
33
33
  description: string;
34
34
  actionType: ENotificationActionType;
35
35
  type: ENotificationType;
36
- _global: boolean;
37
- _read: boolean;
38
- _deleted: boolean;
36
+ global: boolean;
37
+ read: boolean;
39
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.1.11",
3
+ "version": "2.1.14",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -1,16 +1,15 @@
1
1
  import { ENotificationActionType, ENotificationType, Id, INotification } from '../../../models';
2
2
  import { graphqlNormalize, RestrictedData } from '../../types';
3
3
  export interface IAddNotificationInput {
4
- parentId: Id | null;
4
+ fromUserId: Id | null;
5
5
  userId: Id | null;
6
6
  commentId: Id | null;
7
7
  conceptId: Id | null;
8
8
  description: string;
9
9
  actionType: ENotificationActionType;
10
10
  type: ENotificationType;
11
- _global: boolean;
12
- _read: boolean;
13
- _deleted: boolean;
11
+ global: boolean;
12
+ read: boolean;
14
13
  }
15
14
  export declare type IAddNotificationVar = {
16
15
  data: IAddNotificationInput;
@@ -36,6 +36,11 @@ exports.TOPICS = (0, client_1.gql) `
36
36
  redCards
37
37
  dailyFeedCards
38
38
  typeId
39
+ concepts {
40
+ id
41
+ name
42
+ topicId
43
+ }
39
44
  }
40
45
  }
41
46
  }