@quesmed/types 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/dist/cjs/models/Question.d.ts +4 -1
- package/dist/cjs/resolvers/mutation/restricted/questionDiscussion.d.ts +0 -1
- package/dist/cjs/resolvers/query/restricted/video.d.ts +1 -0
- package/dist/cjs/resolvers/query/user.d.ts +0 -4
- package/dist/mjs/models/Question.d.ts +4 -1
- package/dist/mjs/resolvers/mutation/restricted/questionDiscussion.d.ts +0 -1
- package/dist/mjs/resolvers/query/restricted/video.d.ts +1 -0
- package/dist/mjs/resolvers/query/user.d.ts +0 -4
- package/package.json +4 -2
|
@@ -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;
|
|
@@ -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'>;
|
|
@@ -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;
|
|
@@ -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'>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quesmed/types",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"description": "Typescript types for Quesmed",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"quesmed",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"@babel/preset-typescript": "^7.16.7",
|
|
108
108
|
"@graphql-tools/load-files": "^6.5.3",
|
|
109
109
|
"@graphql-tools/merge": "^8.2.2",
|
|
110
|
-
"@types/jest": "^27.4.
|
|
110
|
+
"@types/jest": "^27.4.1",
|
|
111
111
|
"@types/node": "^17.0.10",
|
|
112
112
|
"@yarnpkg/pnpify": "^3.1.1-rc.11",
|
|
113
113
|
"babel-jest": "^27.4.6",
|
|
@@ -118,8 +118,10 @@
|
|
|
118
118
|
"jest": "^27.4.7",
|
|
119
119
|
"prettier": "^2.5.1",
|
|
120
120
|
"prettier-plugin-organize-imports": "^2.3.4",
|
|
121
|
+
"react": "^18.0.0",
|
|
121
122
|
"renamer": "^4.0.0",
|
|
122
123
|
"rimraf": "^3.0.2",
|
|
124
|
+
"source-map-support": "^0.5.21",
|
|
123
125
|
"ts-node": "^10.4.0",
|
|
124
126
|
"typescript": "^4.5.4"
|
|
125
127
|
},
|