UNPKG

@symanticreative/vendure-admin-client

Version:

A TypeScript GraphQL client for Vendure Admin API to create custom dashboards

34 lines (33 loc) 566 B
/** * Authentication credentials interface */ export interface AuthCredentials { email: string; password: string; rememberMe?: boolean; } /** * Authentication response interface */ export interface AuthResponse { token: string; refreshToken?: string; expires: string; user?: CurrentUser; } /** * Current user interface */ export interface CurrentUser { id: string; identifier: string; channels?: Channel[]; } /** * Channel interface */ export interface Channel { id: string; code: string; token: string; }