@quesmed/types-rn 2.6.82 → 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/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;
|
package/resolvers/types.d.ts
CHANGED