@quesmed/types-rn 2.0.5 → 2.0.9
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/Question.d.ts
CHANGED
|
@@ -31,8 +31,11 @@ export interface IQuestionComment {
|
|
|
31
31
|
userId: Id;
|
|
32
32
|
user?: IUser;
|
|
33
33
|
username?: string | null;
|
|
34
|
-
questionId:
|
|
34
|
+
questionId: Id;
|
|
35
|
+
parentId: Id;
|
|
35
36
|
comment: string;
|
|
37
|
+
anonymous: boolean;
|
|
38
|
+
review: boolean;
|
|
36
39
|
replies?: IQuestionComment[];
|
|
37
40
|
likes?: number;
|
|
38
41
|
dislikes?: number;
|
package/package.json
CHANGED
|
@@ -19,6 +19,5 @@ export interface IQuestionCommentsLikeVar {
|
|
|
19
19
|
export declare type IQuestionCommentsLikeData = RestrictedData<graphqlNormalize & IQuestionComment, 'questionCommentLike'>;
|
|
20
20
|
export interface IQuestionCommentRemoveVar {
|
|
21
21
|
commentId: Id;
|
|
22
|
-
userId: Id;
|
|
23
22
|
}
|
|
24
23
|
export declare type IQuestionCommentRemoveData = RestrictedData<graphqlNormalize & IQuestionComment, 'questionCommentRemove'>;
|
|
@@ -6,6 +6,7 @@ export interface IVideoVar {
|
|
|
6
6
|
export declare type IVideoData = RestrictedData<graphqlNormalize & IVideo, 'video'>;
|
|
7
7
|
export interface IVideosVar {
|
|
8
8
|
filter: 'new' | 'popular' | 'personal' | 'live' | 'osce';
|
|
9
|
+
search?: string;
|
|
9
10
|
limit: number;
|
|
10
11
|
}
|
|
11
12
|
export declare type IVideosData = RestrictedData<(graphqlNormalize & IVideo)[], 'videos'>;
|
|
@@ -7,7 +7,3 @@ export interface IUsernameProvisionedVar {
|
|
|
7
7
|
username: string;
|
|
8
8
|
}
|
|
9
9
|
export declare type IUsernameProvisionedData = RootData<boolean, 'usernameProvisioned'>;
|
|
10
|
-
export interface IValidateResetPasswordTokenVar {
|
|
11
|
-
token: string;
|
|
12
|
-
}
|
|
13
|
-
export declare type IValidateResetPasswordTokenData = RootData<string, 'validateResetPasswordToken'>;
|