Add updatesSince API resolver

This commit is contained in:
Hongbo Wu
2022-07-29 18:11:18 +08:00
parent 7ce183d6f8
commit 336d06375a
5 changed files with 113 additions and 13 deletions

View File

@ -2183,7 +2183,7 @@ export type UpdateUserSuccess = {
export type UpdatesSinceError = {
__typename?: 'UpdatesSinceError';
errorCodes?: Maybe<Array<UpdatesSinceErrorCode>>;
errorCodes: Array<UpdatesSinceErrorCode>;
};
export enum UpdatesSinceErrorCode {
@ -4339,7 +4339,7 @@ export type UpdateUserSuccessResolvers<ContextType = ResolverContext, ParentType
};
export type UpdatesSinceErrorResolvers<ContextType = ResolverContext, ParentType extends ResolversParentTypes['UpdatesSinceError'] = ResolversParentTypes['UpdatesSinceError']> = {
errorCodes?: Resolver<Maybe<Array<ResolversTypes['UpdatesSinceErrorCode']>>, ParentType, ContextType>;
errorCodes?: Resolver<Array<ResolversTypes['UpdatesSinceErrorCode']>, ParentType, ContextType>;
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
};

View File

@ -1678,7 +1678,7 @@ type UpdateUserSuccess {
}
type UpdatesSinceError {
errorCodes: [UpdatesSinceErrorCode!]
errorCodes: [UpdatesSinceErrorCode!]!
}
enum UpdatesSinceErrorCode {