@quesmed/types-rn 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/models/User.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -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
|
}
|
package/resolvers/types.d.ts
CHANGED