@userfrosting/sprinkle-account
Version:
Account Sprinkle for UserFrosting
20 lines (19 loc) • 530 B
TypeScript
import { ApiResponse } from '@userfrosting/sprinkle-core/interfaces';
/**
* API Interfaces - What the API expects and what it returns
*
* This interface is tied to the `RegisterAction` API, accessed at the
* POST `/account/register` endpoint.
*/
export interface RegisterRequest {
first_name: string;
last_name: string;
email: string;
user_name: string;
password: string;
passwordc: string;
locale: string;
captcha: string;
spiderbro: string;
}
export type RegisterResponse = ApiResponse;