@quesmed/types-rn 2.1.12 → 2.1.15
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.
package/models/Notification.d.ts
CHANGED
|
@@ -24,8 +24,8 @@ export interface INotification {
|
|
|
24
24
|
updatedAt: number | Date;
|
|
25
25
|
userId: Id | null;
|
|
26
26
|
user?: IUser;
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
37
|
-
|
|
38
|
-
_deleted: boolean;
|
|
36
|
+
global: boolean;
|
|
37
|
+
read: boolean;
|
|
39
38
|
}
|
package/models/Type.d.ts
CHANGED
|
@@ -5,4 +5,5 @@ export declare type Count = {
|
|
|
5
5
|
export declare type Sum = {
|
|
6
6
|
sum: string;
|
|
7
7
|
};
|
|
8
|
-
export declare type VideoFilter = 'new' | 'popular' | 'personal' | 'live' | 'osce';
|
|
8
|
+
export declare type VideoFilter = 'new' | 'popular' | 'personal' | 'live' | 'osce' | 'qbank';
|
|
9
|
+
export declare const videoFilters: string[];
|
package/models/Type.js
CHANGED
package/package.json
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
_deleted: boolean;
|
|
11
|
+
global: boolean;
|
|
12
|
+
read: boolean;
|
|
14
13
|
}
|
|
15
14
|
export declare type IAddNotificationVar = {
|
|
16
15
|
data: IAddNotificationInput;
|