@quesmed/types 1.0.18 → 1.0.22
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
|
@@ -7,7 +7,7 @@ export declare enum EQuestionType {
|
|
|
7
7
|
MULTIPLE_ANSWERS = 3,
|
|
8
8
|
PRESCRIPTION_ANSWER = 4
|
|
9
9
|
}
|
|
10
|
-
export declare type IQuestionAnswer = [string] | [string[], string[]] | IPrescribeAnswer[];
|
|
10
|
+
export declare type IQuestionAnswer = string | [string] | [string[], string[]] | IPrescribeAnswer[];
|
|
11
11
|
export interface IQuestion {
|
|
12
12
|
id: Id;
|
|
13
13
|
typeId: Id;
|
package/models/User.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export interface IPayload {
|
|
|
12
12
|
username: string;
|
|
13
13
|
accessLevel: string;
|
|
14
14
|
exp: number;
|
|
15
|
+
stripeSubscriptionEndDate: number | null;
|
|
15
16
|
stripeQBankSubscriptionEndDate: number | null;
|
|
16
17
|
stripeOsceSubscriptionEndDate: number | null;
|
|
17
18
|
stripeBundleSubscriptionEndDate: number | null;
|
|
@@ -35,6 +36,10 @@ export interface IUser {
|
|
|
35
36
|
bundleSubscriptionId: Id | null;
|
|
36
37
|
bundleSubscription: ISubscription | null;
|
|
37
38
|
stripeBundleSubscriptionEndDate: Date | string | null;
|
|
39
|
+
subscriptionId: Id | null;
|
|
40
|
+
subscription?: ISubscription | null;
|
|
41
|
+
stripeSubscriptionEndDate: Date | string | null;
|
|
42
|
+
stripePriceNickname: string | null;
|
|
38
43
|
}
|
|
39
44
|
export interface IUserCompletedQuestions {
|
|
40
45
|
id: Id;
|
package/package.json
CHANGED
|
@@ -45,7 +45,6 @@ export interface ISaveOsceMarksheetVar {
|
|
|
45
45
|
export declare type ISaveOsceMarksheetData = number;
|
|
46
46
|
export interface IOsceMarksheetActionsVar {
|
|
47
47
|
osceMarksheetId: Id;
|
|
48
|
-
userId: Id;
|
|
49
48
|
timeRemaining?: number;
|
|
50
49
|
action: EOsceMarksheetAction;
|
|
51
50
|
}
|
|
@@ -53,7 +52,7 @@ export declare type IOsceMarksheetActionsData = number;
|
|
|
53
52
|
export interface IEndOsceMarksheetVar extends ISaveOsceMarksheetVar {
|
|
54
53
|
}
|
|
55
54
|
export declare type IEndOsceMarksheetData = number;
|
|
56
|
-
export interface
|
|
55
|
+
export interface ILeaveOsceMarksheetVar {
|
|
57
56
|
osceMarksheetId: Id;
|
|
58
57
|
}
|
|
59
|
-
export declare type
|
|
58
|
+
export declare type ILeaveOsceMarksheetData = boolean;
|