@quesmed/types 2.6.81 → 2.6.83
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/User.d.ts +1 -0
- package/dist/cjs/resolvers/fragments/user.js +1 -0
- package/dist/cjs/resolvers/mutation/restricted/users.d.ts +2 -2
- package/dist/cjs/resolvers/query/restricted/osce.js +1 -0
- package/dist/cjs/resolvers/query/restricted/qBank.js +2 -0
- package/dist/cjs/resolvers/types.d.ts +3 -0
- package/dist/mjs/models/User.d.ts +1 -0
- package/dist/mjs/resolvers/fragments/user.js +1 -0
- package/dist/mjs/resolvers/mutation/restricted/users.d.ts +2 -2
- package/dist/mjs/resolvers/query/restricted/osce.js +1 -0
- package/dist/mjs/resolvers/query/restricted/qBank.js +2 -0
- package/dist/mjs/resolvers/types.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApolloCache } from '@apollo/client';
|
|
2
2
|
import { EUserLearningStatus, IUser, IUserConceptStatus, IUserSettings, IUserStationStatus, IUserVideoStatus, Id } from '../../../models';
|
|
3
3
|
import { ApolloUpdateOptions, ApolloUpdateResultRestricted } from '../../apollo';
|
|
4
|
-
import { RestrictedData, graphqlNormalize } from '../../types';
|
|
4
|
+
import { DeepPartial, RestrictedData, graphqlNormalize } from '../../types';
|
|
5
5
|
export declare const LOGOUT_USER: import("@apollo/client").DocumentNode;
|
|
6
6
|
export interface ILogoutUserVar {
|
|
7
7
|
all: boolean;
|
|
@@ -45,7 +45,7 @@ export type IUpdateUserData = RestrictedData<{
|
|
|
45
45
|
}, 'updateUser'>;
|
|
46
46
|
export declare const UPDATE_USER_SETTINGS: import("@apollo/client").DocumentNode;
|
|
47
47
|
export interface IUpdateUserSettingsVar {
|
|
48
|
-
input: Omit<IUserSettings
|
|
48
|
+
input: Omit<DeepPartial<IUserSettings>, 'id' | 'userId' | 'updatedAt'>;
|
|
49
49
|
}
|
|
50
50
|
export type IUpdateUserSettingsData = RestrictedData<IUserSettings & graphqlNormalize, 'updateUserSettings'>;
|
|
51
51
|
export declare const updateCacheOnUpdateUserSettings: (cache: ApolloCache<any>, result: ApolloUpdateResultRestricted<IUpdateUserSettingsData>, options: ApolloUpdateOptions<IUpdateUserSettingsVar>) => void;
|
|
@@ -14,6 +14,7 @@ exports.DASHBOARD_QBANK = (0, client_1.gql) `
|
|
|
14
14
|
settings {
|
|
15
15
|
productSettings {
|
|
16
16
|
examDate
|
|
17
|
+
rating
|
|
17
18
|
feedback
|
|
18
19
|
nextFeedbackDate
|
|
19
20
|
}
|
|
@@ -145,6 +146,7 @@ exports.DASHBOARD = (0, client_1.gql) `
|
|
|
145
146
|
settings {
|
|
146
147
|
productSettings {
|
|
147
148
|
examDate
|
|
149
|
+
rating
|
|
148
150
|
feedback
|
|
149
151
|
nextFeedbackDate
|
|
150
152
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApolloCache } from '@apollo/client';
|
|
2
2
|
import { EUserLearningStatus, IUser, IUserConceptStatus, IUserSettings, IUserStationStatus, IUserVideoStatus, Id } from '../../../models';
|
|
3
3
|
import { ApolloUpdateOptions, ApolloUpdateResultRestricted } from '../../apollo';
|
|
4
|
-
import { RestrictedData, graphqlNormalize } from '../../types';
|
|
4
|
+
import { DeepPartial, RestrictedData, graphqlNormalize } from '../../types';
|
|
5
5
|
export declare const LOGOUT_USER: import("@apollo/client").DocumentNode;
|
|
6
6
|
export interface ILogoutUserVar {
|
|
7
7
|
all: boolean;
|
|
@@ -45,7 +45,7 @@ export type IUpdateUserData = RestrictedData<{
|
|
|
45
45
|
}, 'updateUser'>;
|
|
46
46
|
export declare const UPDATE_USER_SETTINGS: import("@apollo/client").DocumentNode;
|
|
47
47
|
export interface IUpdateUserSettingsVar {
|
|
48
|
-
input: Omit<IUserSettings
|
|
48
|
+
input: Omit<DeepPartial<IUserSettings>, 'id' | 'userId' | 'updatedAt'>;
|
|
49
49
|
}
|
|
50
50
|
export type IUpdateUserSettingsData = RestrictedData<IUserSettings & graphqlNormalize, 'updateUserSettings'>;
|
|
51
51
|
export declare const updateCacheOnUpdateUserSettings: (cache: ApolloCache<any>, result: ApolloUpdateResultRestricted<IUpdateUserSettingsData>, options: ApolloUpdateOptions<IUpdateUserSettingsVar>) => void;
|
|
@@ -11,6 +11,7 @@ export const DASHBOARD_QBANK = gql `
|
|
|
11
11
|
settings {
|
|
12
12
|
productSettings {
|
|
13
13
|
examDate
|
|
14
|
+
rating
|
|
14
15
|
feedback
|
|
15
16
|
nextFeedbackDate
|
|
16
17
|
}
|
|
@@ -142,6 +143,7 @@ export const DASHBOARD = gql `
|
|
|
142
143
|
settings {
|
|
143
144
|
productSettings {
|
|
144
145
|
examDate
|
|
146
|
+
rating
|
|
145
147
|
feedback
|
|
146
148
|
nextFeedbackDate
|
|
147
149
|
}
|