usimple-saleor-sdk
Version:
This package contains all queries and mutations that are used in our sample storefront. It can be used for semi-custom or fully-custom (with ability to extend existing queries) storefront solutions.
32 lines (31 loc) • 895 B
TypeScript
import { AccountErrorCode } from "./../../gqlTypes/globalTypes";
export interface PasswordChange_passwordChange_errors {
__typename: "AccountError";
/**
* The error code.
*/
code: AccountErrorCode;
/**
* Name of a field that caused the error. A value of `null` indicates that the
* error isn't associated with a particular field.
*/
field: string | null;
/**
* The error message.
*/
message: string | null;
}
export interface PasswordChange_passwordChange {
__typename: "PasswordChange";
errors: PasswordChange_passwordChange_errors[];
}
export interface PasswordChange {
/**
* Change the password of the logged in user.
*/
passwordChange: PasswordChange_passwordChange | null;
}
export interface PasswordChangeVariables {
newPassword: string;
oldPassword: string;
}